SlideShare ist ein Scribd-Unternehmen logo
1 von 6
B Y G A U R A V S I N G H R A W A T
1 2 3 1 6 E N 0 0 9
S Y S T E M E N G I N E E R I N G
Distance Vector Routing
Algorithm
Solution of Distance vector Routing Algorithm
 Distance Vector Routing algorithm is a distributed
algorithm.
 This routing algorithm is a iteration algorithm.
When ever a packet comes to router the neighboring
router will give the vector table and a new vector
table is created at that router.
 Now we understand this with a simple example:
Distance Vector Routing Algorithm
A
C
B
D
F
E
Vector
table
New
routing
table
Packet
transfer to
router A
A B C D E F
 Vector table of B (1, 0, 3, 2, 4, 3).
 Vector table of D (2, 1, 2, 0, 1, 1).
 Vector table of C (3, 2, 0, 4, 5, 6).
measured delay of B,D,C from A are 3,1,2.
Now calculate the final routing table of A=?
A, B, C, D, E, F
 Routing Table of A via B=(0, 3, 6, 5, 7, 6).
 AB=AB+BB=3+0=3;
 AC=AB+BC=3+3=6;
 AD=AB+BD=3+2=5;
 AE=AB+BE=3+4=7;
 AF=AB+BF=3+3=6;
 AA=0;
A B C D E F
 Routing Table of A via D: (0, 2, 3 , 1, 2, 2)
 AB=AD+DB=1+1=2
 AC=AD+DC=1+2=3
 AD=AD+DD=1+0=1
 AE=AD+DE=1+1=2
 AF=AD+DF=1+1=2
A B C D E F
 Routing Table of A via C: (0, 4, 2, 6, 7, 8)
 AB=AC+CB=2+2=4
 AC=AC+CC=2+0=2
 AD=AC+CD=2+4=6
 AE=AC+CE=2+5=7
 AF=AC+CF=2+6=8
 Now the final routing table of A:
Taking minimum value of A via (B,C,D):
= (0, 2, 2, 1, 2, 2)
router used for the routing table of A is;
= (0, 2, 2, 1, 2, 2)
(_, D, C, D, D, D).
As similarly we find the routing table of all other
router.

Weitere ähnliche Inhalte

Was ist angesagt?

Wireless routing protocols
Wireless routing protocolsWireless routing protocols
Wireless routing protocolsbarodia_1437
 
computer Netwoks - network layer
computer Netwoks - network layercomputer Netwoks - network layer
computer Netwoks - network layerSendhil Kumar
 
Presentation Routing algorithm
Presentation Routing algorithmPresentation Routing algorithm
Presentation Routing algorithmBasit Hussain
 
Distance Vector Routing
Distance Vector RoutingDistance Vector Routing
Distance Vector RoutingShouvikDhali
 
Introduction to mobile ad hoc network (m.a.net)
Introduction to mobile ad hoc network (m.a.net)Introduction to mobile ad hoc network (m.a.net)
Introduction to mobile ad hoc network (m.a.net)Sohebuzzaman Khan
 
Network Layer design Issues.pptx
Network Layer design Issues.pptxNetwork Layer design Issues.pptx
Network Layer design Issues.pptxAcad
 
Destination Sequenced Distance Vector Routing (DSDV)
Destination Sequenced Distance Vector Routing (DSDV)Destination Sequenced Distance Vector Routing (DSDV)
Destination Sequenced Distance Vector Routing (DSDV)ArunChokkalingam
 
Data link layer
Data link layerData link layer
Data link layersbkbca
 
Comparative Analysis of Distance Vector Routing & Link State Protocols
Comparative Analysis of Distance Vector Routing & Link State ProtocolsComparative Analysis of Distance Vector Routing & Link State Protocols
Comparative Analysis of Distance Vector Routing & Link State ProtocolsEast West University
 
SYBSC IT COMPUTER NETWORKS UNIT III Wired LANS: Ethernet
SYBSC IT COMPUTER NETWORKS UNIT III Wired LANS: EthernetSYBSC IT COMPUTER NETWORKS UNIT III Wired LANS: Ethernet
SYBSC IT COMPUTER NETWORKS UNIT III Wired LANS: EthernetArti Parab Academics
 
AODV (adhoc ondemand distance vector routing)
AODV (adhoc ondemand distance vector routing) AODV (adhoc ondemand distance vector routing)
AODV (adhoc ondemand distance vector routing) ArunChokkalingam
 

Was ist angesagt? (20)

Wireless routing protocols
Wireless routing protocolsWireless routing protocols
Wireless routing protocols
 
computer Netwoks - network layer
computer Netwoks - network layercomputer Netwoks - network layer
computer Netwoks - network layer
 
Presentation Routing algorithm
Presentation Routing algorithmPresentation Routing algorithm
Presentation Routing algorithm
 
Distance Vector Routing
Distance Vector RoutingDistance Vector Routing
Distance Vector Routing
 
Global state routing
Global state routingGlobal state routing
Global state routing
 
Multicast routing
Multicast routingMulticast routing
Multicast routing
 
Ch 20 UNICAST ROUTING SECTION 2
Ch 20   UNICAST ROUTING  SECTION  2Ch 20   UNICAST ROUTING  SECTION  2
Ch 20 UNICAST ROUTING SECTION 2
 
Introduction to mobile ad hoc network (m.a.net)
Introduction to mobile ad hoc network (m.a.net)Introduction to mobile ad hoc network (m.a.net)
Introduction to mobile ad hoc network (m.a.net)
 
Shortest path algorithm
Shortest  path algorithmShortest  path algorithm
Shortest path algorithm
 
Network Layer design Issues.pptx
Network Layer design Issues.pptxNetwork Layer design Issues.pptx
Network Layer design Issues.pptx
 
Destination Sequenced Distance Vector Routing (DSDV)
Destination Sequenced Distance Vector Routing (DSDV)Destination Sequenced Distance Vector Routing (DSDV)
Destination Sequenced Distance Vector Routing (DSDV)
 
Delay , Loss & Throughput
Delay , Loss & ThroughputDelay , Loss & Throughput
Delay , Loss & Throughput
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
 
Routing Algorithm
Routing AlgorithmRouting Algorithm
Routing Algorithm
 
AODV routing protocol
AODV routing protocolAODV routing protocol
AODV routing protocol
 
Data link layer
Data link layerData link layer
Data link layer
 
Comparative Analysis of Distance Vector Routing & Link State Protocols
Comparative Analysis of Distance Vector Routing & Link State ProtocolsComparative Analysis of Distance Vector Routing & Link State Protocols
Comparative Analysis of Distance Vector Routing & Link State Protocols
 
SYBSC IT COMPUTER NETWORKS UNIT III Wired LANS: Ethernet
SYBSC IT COMPUTER NETWORKS UNIT III Wired LANS: EthernetSYBSC IT COMPUTER NETWORKS UNIT III Wired LANS: Ethernet
SYBSC IT COMPUTER NETWORKS UNIT III Wired LANS: Ethernet
 
Link state routing protocol
Link state routing protocolLink state routing protocol
Link state routing protocol
 
AODV (adhoc ondemand distance vector routing)
AODV (adhoc ondemand distance vector routing) AODV (adhoc ondemand distance vector routing)
AODV (adhoc ondemand distance vector routing)
 

Ähnlich wie Distance vector routing algorithm

What is the distance between the points B and C Experience Tradition/tutorial...
What is the distance between the points B and C Experience Tradition/tutorial...What is the distance between the points B and C Experience Tradition/tutorial...
What is the distance between the points B and C Experience Tradition/tutorial...pinck3124
 
Module 2 plane coordinate geometry
Module  2   plane coordinate geometryModule  2   plane coordinate geometry
Module 2 plane coordinate geometrydionesioable
 
GMAT Coordinate Geometry.pptx
GMAT Coordinate Geometry.pptxGMAT Coordinate Geometry.pptx
GMAT Coordinate Geometry.pptxRavindra gudapati
 
routing algorithm
routing algorithmrouting algorithm
routing algorithmAnusuaBasu
 
COMPUTERIZED LAYOUT METHODS ,CRAFT , ALDEP
COMPUTERIZED LAYOUT METHODS ,CRAFT , ALDEPCOMPUTERIZED LAYOUT METHODS ,CRAFT , ALDEP
COMPUTERIZED LAYOUT METHODS ,CRAFT , ALDEPMANI KRISHNA
 
Midpoints (Geometry 2_5)
Midpoints (Geometry 2_5)Midpoints (Geometry 2_5)
Midpoints (Geometry 2_5)rfant
 
Vectors.pdf
Vectors.pdfVectors.pdf
Vectors.pdfd00a7ece
 
Vectors.pdf
Vectors.pdfVectors.pdf
Vectors.pdfd00a7ece
 
Vectors.pdf
Vectors.pdfVectors.pdf
Vectors.pdfd00a7ece
 
10 Mathematics Standard.pdf
10 Mathematics Standard.pdf10 Mathematics Standard.pdf
10 Mathematics Standard.pdfRohitSindhu10
 
13. sum and double half-angle formulas-x
13. sum and double half-angle formulas-x13. sum and double half-angle formulas-x
13. sum and double half-angle formulas-xmath260
 
9. sum and double half-angle formulas-x
9. sum and double half-angle  formulas-x9. sum and double half-angle  formulas-x
9. sum and double half-angle formulas-xharbormath240
 

Ähnlich wie Distance vector routing algorithm (20)

What is the distance between the points B and C Experience Tradition/tutorial...
What is the distance between the points B and C Experience Tradition/tutorial...What is the distance between the points B and C Experience Tradition/tutorial...
What is the distance between the points B and C Experience Tradition/tutorial...
 
Module 2 plane coordinate geometry
Module  2   plane coordinate geometryModule  2   plane coordinate geometry
Module 2 plane coordinate geometry
 
GMAT Coordinate Geometry.pptx
GMAT Coordinate Geometry.pptxGMAT Coordinate Geometry.pptx
GMAT Coordinate Geometry.pptx
 
Chapter 1(4)SCALAR AND VECTOR
Chapter 1(4)SCALAR AND VECTORChapter 1(4)SCALAR AND VECTOR
Chapter 1(4)SCALAR AND VECTOR
 
3D Geometry Theory 11
3D Geometry Theory 113D Geometry Theory 11
3D Geometry Theory 11
 
Scalars and vectors
Scalars and vectorsScalars and vectors
Scalars and vectors
 
Solucionario teoria-electromagnetica-hayt-2001
Solucionario teoria-electromagnetica-hayt-2001Solucionario teoria-electromagnetica-hayt-2001
Solucionario teoria-electromagnetica-hayt-2001
 
routing algorithm
routing algorithmrouting algorithm
routing algorithm
 
COMPUTERIZED LAYOUT METHODS ,CRAFT , ALDEP
COMPUTERIZED LAYOUT METHODS ,CRAFT , ALDEPCOMPUTERIZED LAYOUT METHODS ,CRAFT , ALDEP
COMPUTERIZED LAYOUT METHODS ,CRAFT , ALDEP
 
Midpoints (Geometry 2_5)
Midpoints (Geometry 2_5)Midpoints (Geometry 2_5)
Midpoints (Geometry 2_5)
 
Coordinate
CoordinateCoordinate
Coordinate
 
Vectors.pdf
Vectors.pdfVectors.pdf
Vectors.pdf
 
Vectors.pdf
Vectors.pdfVectors.pdf
Vectors.pdf
 
Vectors.pdf
Vectors.pdfVectors.pdf
Vectors.pdf
 
10 Mathematics Standard.pdf
10 Mathematics Standard.pdf10 Mathematics Standard.pdf
10 Mathematics Standard.pdf
 
13. sum and double half-angle formulas-x
13. sum and double half-angle formulas-x13. sum and double half-angle formulas-x
13. sum and double half-angle formulas-x
 
9. sum and double half-angle formulas-x
9. sum and double half-angle  formulas-x9. sum and double half-angle  formulas-x
9. sum and double half-angle formulas-x
 
Dsdv
DsdvDsdv
Dsdv
 
Dsdv
DsdvDsdv
Dsdv
 
Semana 1 geo y trigo
Semana 1  geo y trigo Semana 1  geo y trigo
Semana 1 geo y trigo
 

Mehr von Gaurav Rawat

Six sense technology
Six sense technologySix sense technology
Six sense technologyGaurav Rawat
 
CCNA Based routing protocols
CCNA Based routing protocolsCCNA Based routing protocols
CCNA Based routing protocolsGaurav Rawat
 

Mehr von Gaurav Rawat (6)

Computer network
Computer networkComputer network
Computer network
 
Six sense technology
Six sense technologySix sense technology
Six sense technology
 
Ic presentation
Ic presentationIc presentation
Ic presentation
 
CCNA Based routing protocols
CCNA Based routing protocolsCCNA Based routing protocols
CCNA Based routing protocols
 
Fault tolerance
Fault toleranceFault tolerance
Fault tolerance
 
Computer network
Computer networkComputer network
Computer network
 

Kürzlich hochgeladen

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 

Kürzlich hochgeladen (20)

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

Distance vector routing algorithm

  • 1. B Y G A U R A V S I N G H R A W A T 1 2 3 1 6 E N 0 0 9 S Y S T E M E N G I N E E R I N G Distance Vector Routing Algorithm
  • 2. Solution of Distance vector Routing Algorithm  Distance Vector Routing algorithm is a distributed algorithm.  This routing algorithm is a iteration algorithm. When ever a packet comes to router the neighboring router will give the vector table and a new vector table is created at that router.  Now we understand this with a simple example:
  • 3. Distance Vector Routing Algorithm A C B D F E Vector table New routing table Packet transfer to router A
  • 4. A B C D E F  Vector table of B (1, 0, 3, 2, 4, 3).  Vector table of D (2, 1, 2, 0, 1, 1).  Vector table of C (3, 2, 0, 4, 5, 6). measured delay of B,D,C from A are 3,1,2. Now calculate the final routing table of A=? A, B, C, D, E, F  Routing Table of A via B=(0, 3, 6, 5, 7, 6).  AB=AB+BB=3+0=3;  AC=AB+BC=3+3=6;  AD=AB+BD=3+2=5;  AE=AB+BE=3+4=7;  AF=AB+BF=3+3=6;  AA=0;
  • 5. A B C D E F  Routing Table of A via D: (0, 2, 3 , 1, 2, 2)  AB=AD+DB=1+1=2  AC=AD+DC=1+2=3  AD=AD+DD=1+0=1  AE=AD+DE=1+1=2  AF=AD+DF=1+1=2 A B C D E F  Routing Table of A via C: (0, 4, 2, 6, 7, 8)  AB=AC+CB=2+2=4  AC=AC+CC=2+0=2  AD=AC+CD=2+4=6  AE=AC+CE=2+5=7  AF=AC+CF=2+6=8
  • 6.  Now the final routing table of A: Taking minimum value of A via (B,C,D): = (0, 2, 2, 1, 2, 2) router used for the routing table of A is; = (0, 2, 2, 1, 2, 2) (_, D, C, D, D, D). As similarly we find the routing table of all other router.