SlideShare une entreprise Scribd logo
Computer Networks Prof. Hema A Murthy
Indian Institute of Technology Madras
Routing Algorithms
• Adaptive algorithm:
– Reflect change in topology
– Get information locally from adjacent routers
• Non Adaptive Algorithm
– Static routers
– Downloaded to routers when network is booted
• Routing:
• Principle of Optimality:
– If router I on optimal path from router I to K then
optimal path from J to K also on same route!
Computer Networks Prof. Hema A Murthy
Indian Institute of Technology Madras
Routing Algorithms(Static)
• Set of all optimal routes from: Source to a given
destination
– A sink tree!
• Goal of routing algorithm find sink trees that are
there!
• Shortest Path Routing:
– Dijkstra
– Uses topology
– Greedy approach
– Possible shorter path of equal length – need not be
unique
Computer Networks Prof. Hema A Murthy
Indian Institute of Technology Madras
Static Routing Algorithms
• Shortest path routing
– To send a packet from one node to another find
the shortest path between the pair of nodes
• Multipath Routing
– Multiple paths from Node a to node b.
– Randomly choose one of the paths
Computer Networks Prof. Hema A Murthy
Indian Institute of Technology Madras
Dijkstra (example)
10
5
4
6
3
1
5
a
f e
d
c
b
4
Shortest path from
AÆD is via b and c
Computer Networks Prof. Hema A Murthy
Indian Institute of Technology Madras
Multipath Routing
• Forward traffic based on – a random number
• Example:Path from a to d
– via b: 0.0 - 0.65
– via f: 0.65 -1.0
• Packet for d from a:
– Generate a random number r:
– If 0 < r ≤0.65, choose b
– otherwise choose f
Computer Networks Prof. Hema A Murthy
Indian Institute of Technology Madras
Multipath Routing
• Advantages:
– Reliability
– disjoint entries
– multiple routes possible
Computer Networks Prof. Hema A Murthy
Indian Institute of Technology Madras
Static Routing
• Disadvantages:
– SSSP and Multipath:
• Require complete knowledge of Network topology
to make a good decision.
• Hot potato routing
– Forward on to shortest Queue (defined by
hopcount)
– Use hot potato with static routing
– rank = Shortest Queue + shortest path
Computer Networks Prof. Hema A Murthy
Indian Institute of Technology Madras
Distance Vector Routing
• Distance Vector Routing:
• (Distributed Bellman Ford, Fulkerson)
– Each router maintain a table:
– destination, estimated cost, link, hop count,
time delay in ms, queue length, …
– Updated by exchanging information between
router - ICMP
Computer Networks Prof. Hema A Murthy
Indian Institute of Technology Madras
Dynamic Routing
• Distributed Routing:
– Dynamic routing
– Changing topology of the network
– Need to recompute route continuously
Computer Networks Prof. Hema A Murthy
Indian Institute of Technology Madras
.
.
.
.
.
18
23
14
40
25
12
0
a
b
c
d
e
f
g
h
i
j
k
l .
.
.
.
.
31
20
7
27
18
36
24
a
b
c
d
e
f
g
h
i
j
k
l
13
10
12
?
8
a
b
c
d
e
f
g
h
i
j
k
l
Via a Via i Via j
Router a Router i Router b
Computer Networks Prof. Hema A Murthy
Indian Institute of Technology Madras
Distance Vector Routing
• Compute route from b to g
• via a – 8 + 18
• via i – 10 +31
• so update route to g to 26
Computer Networks Prof. Hema A Murthy
Indian Institute of Technology Madras
Distance Vector Routing
• Example: b wants to update its information
. .
.
.
. .
.
.
. .
.
.
a b c d
e f g
i j k l
h
Computer Networks Prof. Hema A Murthy
Indian Institute of Technology Madras
. .
. .
.
Issues: Count to infinity
Number of exchanges depends on definition of infinity
x b c d e
1 2 3 4
3 2 3 4
3 1 3 4
5 4 5 4
5 6 5 6
7 6 7 6
7 8 7 8
∞
1 exchange
2 exchange
Count to infinity
Initially
b – x 1
c – x 2
d – x 3
e – x 4
Now x goes
down

Contenu connexe

Similaire à Lecture32_RoutingAlgorithmsDV.pdf

Lecture 7
 Lecture 7 Lecture 7
Unit 4_Network Layer_Part II.pptx
Unit 4_Network Layer_Part II.pptxUnit 4_Network Layer_Part II.pptx
Unit 4_Network Layer_Part II.pptx
HODElex
 
Unit 3_Network Layer_Part II.pptx
Unit 3_Network Layer_Part II.pptxUnit 3_Network Layer_Part II.pptx
Unit 3_Network Layer_Part II.pptx
HODElex
 
Module 3 Part B - computer networks module 2 ppt
Module 3 Part B - computer networks module 2 pptModule 3 Part B - computer networks module 2 ppt
Module 3 Part B - computer networks module 2 ppt
anushaj46
 
16 bgp
16 bgp16 bgp
16 bgp
TCT
 
Routing Protocols.pdf
Routing Protocols.pdfRouting Protocols.pdf
Routing Protocols.pdf
Hirdesh Sharma
 
MOBILE COMPUTING Unit 4.pptx
 MOBILE COMPUTING Unit 4.pptx MOBILE COMPUTING Unit 4.pptx
MOBILE COMPUTING Unit 4.pptx
karthiksmart21
 
COMPUTER NETWORKS CHAPTER 3 NETWORK LAYER NOTES CSE 3RD year sem 1
COMPUTER NETWORKS CHAPTER 3 NETWORK LAYER NOTES CSE 3RD year sem 1COMPUTER NETWORKS CHAPTER 3 NETWORK LAYER NOTES CSE 3RD year sem 1
COMPUTER NETWORKS CHAPTER 3 NETWORK LAYER NOTES CSE 3RD year sem 1
aishwaryaarrao3
 
Tcil_Concept of Routing_n_protocols.pptx
Tcil_Concept of Routing_n_protocols.pptxTcil_Concept of Routing_n_protocols.pptx
Tcil_Concept of Routing_n_protocols.pptx
VINAYTANWAR18
 
Lecture number 5 Theory.pdf(machine learning)
Lecture  number  5 Theory.pdf(machine learning)Lecture  number  5 Theory.pdf(machine learning)
Lecture number 5 Theory.pdf(machine learning)
ZainabShahzad9
 
MC Lecture 8 67875667767777775677887.pptx
MC Lecture 8 67875667767777775677887.pptxMC Lecture 8 67875667767777775677887.pptx
MC Lecture 8 67875667767777775677887.pptx
BinyamBekeleMoges
 
routing basics - (static-default-dynamic)
routing basics - (static-default-dynamic)routing basics - (static-default-dynamic)
routing basics - (static-default-dynamic)
Shanza Sohail
 
24-ad-hoc.ppt
24-ad-hoc.ppt24-ad-hoc.ppt
24-ad-hoc.ppt
sumadi26
 
DSDV Protocols by Mr.Darwin Nesakumar A, AP/ECE, R.M.K.Engineering College
DSDV Protocols by Mr.Darwin Nesakumar A, AP/ECE, R.M.K.Engineering CollegeDSDV Protocols by Mr.Darwin Nesakumar A, AP/ECE, R.M.K.Engineering College
DSDV Protocols by Mr.Darwin Nesakumar A, AP/ECE, R.M.K.Engineering College
Darwin Nesakumar
 
15 coms 525 tcpip - border gateway protocols
15    coms 525 tcpip - border gateway protocols15    coms 525 tcpip - border gateway protocols
15 coms 525 tcpip - border gateway protocols
Palanivel Kuppusamy
 
Presentation 2
Presentation 2Presentation 2
Presentation 2
Haripritha
 
MobileAdHocRoutingProtocols.pptx
MobileAdHocRoutingProtocols.pptxMobileAdHocRoutingProtocols.pptx
MobileAdHocRoutingProtocols.pptx
HirazNor
 
Presentation Routing algorithm
Presentation Routing algorithmPresentation Routing algorithm
Presentation Routing algorithm
Basit Hussain
 
Ethernet copy
Ethernet   copyEthernet   copy
Ethernet copy
sunil kumar
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
Siva Priya
 

Similaire à Lecture32_RoutingAlgorithmsDV.pdf (20)

Lecture 7
 Lecture 7 Lecture 7
Lecture 7
 
Unit 4_Network Layer_Part II.pptx
Unit 4_Network Layer_Part II.pptxUnit 4_Network Layer_Part II.pptx
Unit 4_Network Layer_Part II.pptx
 
Unit 3_Network Layer_Part II.pptx
Unit 3_Network Layer_Part II.pptxUnit 3_Network Layer_Part II.pptx
Unit 3_Network Layer_Part II.pptx
 
Module 3 Part B - computer networks module 2 ppt
Module 3 Part B - computer networks module 2 pptModule 3 Part B - computer networks module 2 ppt
Module 3 Part B - computer networks module 2 ppt
 
16 bgp
16 bgp16 bgp
16 bgp
 
Routing Protocols.pdf
Routing Protocols.pdfRouting Protocols.pdf
Routing Protocols.pdf
 
MOBILE COMPUTING Unit 4.pptx
 MOBILE COMPUTING Unit 4.pptx MOBILE COMPUTING Unit 4.pptx
MOBILE COMPUTING Unit 4.pptx
 
COMPUTER NETWORKS CHAPTER 3 NETWORK LAYER NOTES CSE 3RD year sem 1
COMPUTER NETWORKS CHAPTER 3 NETWORK LAYER NOTES CSE 3RD year sem 1COMPUTER NETWORKS CHAPTER 3 NETWORK LAYER NOTES CSE 3RD year sem 1
COMPUTER NETWORKS CHAPTER 3 NETWORK LAYER NOTES CSE 3RD year sem 1
 
Tcil_Concept of Routing_n_protocols.pptx
Tcil_Concept of Routing_n_protocols.pptxTcil_Concept of Routing_n_protocols.pptx
Tcil_Concept of Routing_n_protocols.pptx
 
Lecture number 5 Theory.pdf(machine learning)
Lecture  number  5 Theory.pdf(machine learning)Lecture  number  5 Theory.pdf(machine learning)
Lecture number 5 Theory.pdf(machine learning)
 
MC Lecture 8 67875667767777775677887.pptx
MC Lecture 8 67875667767777775677887.pptxMC Lecture 8 67875667767777775677887.pptx
MC Lecture 8 67875667767777775677887.pptx
 
routing basics - (static-default-dynamic)
routing basics - (static-default-dynamic)routing basics - (static-default-dynamic)
routing basics - (static-default-dynamic)
 
24-ad-hoc.ppt
24-ad-hoc.ppt24-ad-hoc.ppt
24-ad-hoc.ppt
 
DSDV Protocols by Mr.Darwin Nesakumar A, AP/ECE, R.M.K.Engineering College
DSDV Protocols by Mr.Darwin Nesakumar A, AP/ECE, R.M.K.Engineering CollegeDSDV Protocols by Mr.Darwin Nesakumar A, AP/ECE, R.M.K.Engineering College
DSDV Protocols by Mr.Darwin Nesakumar A, AP/ECE, R.M.K.Engineering College
 
15 coms 525 tcpip - border gateway protocols
15    coms 525 tcpip - border gateway protocols15    coms 525 tcpip - border gateway protocols
15 coms 525 tcpip - border gateway protocols
 
Presentation 2
Presentation 2Presentation 2
Presentation 2
 
MobileAdHocRoutingProtocols.pptx
MobileAdHocRoutingProtocols.pptxMobileAdHocRoutingProtocols.pptx
MobileAdHocRoutingProtocols.pptx
 
Presentation Routing algorithm
Presentation Routing algorithmPresentation Routing algorithm
Presentation Routing algorithm
 
Ethernet copy
Ethernet   copyEthernet   copy
Ethernet copy
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
 

Dernier

Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
nooriasukmaningtyas
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
wisnuprabawa3
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
heavyhaig
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
Ratnakar Mikkili
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
Wearable antenna for antenna applications
Wearable antenna for antenna applicationsWearable antenna for antenna applications
Wearable antenna for antenna applications
Madhumitha Jayaram
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
drwaing
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
ihlasbinance2003
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
Divyam548318
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
JamalHussainArman
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 

Dernier (20)

Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
Wearable antenna for antenna applications
Wearable antenna for antenna applicationsWearable antenna for antenna applications
Wearable antenna for antenna applications
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 

Lecture32_RoutingAlgorithmsDV.pdf

  • 1. Computer Networks Prof. Hema A Murthy Indian Institute of Technology Madras Routing Algorithms • Adaptive algorithm: – Reflect change in topology – Get information locally from adjacent routers • Non Adaptive Algorithm – Static routers – Downloaded to routers when network is booted • Routing: • Principle of Optimality: – If router I on optimal path from router I to K then optimal path from J to K also on same route!
  • 2. Computer Networks Prof. Hema A Murthy Indian Institute of Technology Madras Routing Algorithms(Static) • Set of all optimal routes from: Source to a given destination – A sink tree! • Goal of routing algorithm find sink trees that are there! • Shortest Path Routing: – Dijkstra – Uses topology – Greedy approach – Possible shorter path of equal length – need not be unique
  • 3. Computer Networks Prof. Hema A Murthy Indian Institute of Technology Madras Static Routing Algorithms • Shortest path routing – To send a packet from one node to another find the shortest path between the pair of nodes • Multipath Routing – Multiple paths from Node a to node b. – Randomly choose one of the paths
  • 4. Computer Networks Prof. Hema A Murthy Indian Institute of Technology Madras Dijkstra (example) 10 5 4 6 3 1 5 a f e d c b 4 Shortest path from AÆD is via b and c
  • 5. Computer Networks Prof. Hema A Murthy Indian Institute of Technology Madras Multipath Routing • Forward traffic based on – a random number • Example:Path from a to d – via b: 0.0 - 0.65 – via f: 0.65 -1.0 • Packet for d from a: – Generate a random number r: – If 0 < r ≤0.65, choose b – otherwise choose f
  • 6. Computer Networks Prof. Hema A Murthy Indian Institute of Technology Madras Multipath Routing • Advantages: – Reliability – disjoint entries – multiple routes possible
  • 7. Computer Networks Prof. Hema A Murthy Indian Institute of Technology Madras Static Routing • Disadvantages: – SSSP and Multipath: • Require complete knowledge of Network topology to make a good decision. • Hot potato routing – Forward on to shortest Queue (defined by hopcount) – Use hot potato with static routing – rank = Shortest Queue + shortest path
  • 8. Computer Networks Prof. Hema A Murthy Indian Institute of Technology Madras Distance Vector Routing • Distance Vector Routing: • (Distributed Bellman Ford, Fulkerson) – Each router maintain a table: – destination, estimated cost, link, hop count, time delay in ms, queue length, … – Updated by exchanging information between router - ICMP
  • 9. Computer Networks Prof. Hema A Murthy Indian Institute of Technology Madras Dynamic Routing • Distributed Routing: – Dynamic routing – Changing topology of the network – Need to recompute route continuously
  • 10. Computer Networks Prof. Hema A Murthy Indian Institute of Technology Madras . . . . . 18 23 14 40 25 12 0 a b c d e f g h i j k l . . . . . 31 20 7 27 18 36 24 a b c d e f g h i j k l 13 10 12 ? 8 a b c d e f g h i j k l Via a Via i Via j Router a Router i Router b
  • 11. Computer Networks Prof. Hema A Murthy Indian Institute of Technology Madras Distance Vector Routing • Compute route from b to g • via a – 8 + 18 • via i – 10 +31 • so update route to g to 26
  • 12. Computer Networks Prof. Hema A Murthy Indian Institute of Technology Madras Distance Vector Routing • Example: b wants to update its information . . . . . . . . . . . . a b c d e f g i j k l h
  • 13. Computer Networks Prof. Hema A Murthy Indian Institute of Technology Madras . . . . . Issues: Count to infinity Number of exchanges depends on definition of infinity x b c d e 1 2 3 4 3 2 3 4 3 1 3 4 5 4 5 4 5 6 5 6 7 6 7 6 7 8 7 8 ∞ 1 exchange 2 exchange Count to infinity Initially b – x 1 c – x 2 d – x 3 e – x 4 Now x goes down