SlideShare une entreprise Scribd logo
1  sur  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.

Contenu connexe

Tendances

Distance Vector & Link state Routing Algorithm
Distance Vector & Link state Routing AlgorithmDistance Vector & Link state Routing Algorithm
Distance Vector & Link state Routing AlgorithmMOHIT AGARWAL
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithmSiva Priya
 
Routing algorithm network layer
Routing algorithm  network layerRouting algorithm  network layer
Routing algorithm network layersambhenilesh
 
data-link layer protocols
data-link layer protocols  data-link layer protocols
data-link layer protocols BE Smârt
 
Multiple Access in Computer Network
Multiple Access in Computer NetworkMultiple Access in Computer Network
Multiple Access in Computer NetworkHitesh Mohapatra
 
Open shortest path first (ospf)
Open shortest path first (ospf)Open shortest path first (ospf)
Open shortest path first (ospf)Respa Peter
 
Lecture 19 22. transport protocol for ad-hoc
Lecture 19 22. transport protocol for ad-hoc Lecture 19 22. transport protocol for ad-hoc
Lecture 19 22. transport protocol for ad-hoc Chandra Meena
 
Computer network switching
Computer network switchingComputer network switching
Computer network switchingShivani Godha
 
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESSComputer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESSDr. SELVAGANESAN S
 
Multiple access control protocol
Multiple access control protocol Multiple access control protocol
Multiple access control protocol meenamunesh
 
Network Layer,Computer Networks
Network Layer,Computer NetworksNetwork Layer,Computer Networks
Network Layer,Computer Networksguesta81d4b
 
Routing Information Protocol (RIP)
Routing Information Protocol(RIP)Routing Information Protocol(RIP)
Routing Information Protocol (RIP)waqasahmad1995
 
Routing protocols-network-layer
Routing protocols-network-layerRouting protocols-network-layer
Routing protocols-network-layerNitesh Singh
 

Tendances (20)

Distance Vector & Link state Routing Algorithm
Distance Vector & Link state Routing AlgorithmDistance Vector & Link state Routing Algorithm
Distance Vector & Link state Routing Algorithm
 
Routing table
Routing tableRouting table
Routing table
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
 
Routing algorithm network layer
Routing algorithm  network layerRouting algorithm  network layer
Routing algorithm network layer
 
data-link layer protocols
data-link layer protocols  data-link layer protocols
data-link layer protocols
 
Multiple Access in Computer Network
Multiple Access in Computer NetworkMultiple Access in Computer Network
Multiple Access in Computer Network
 
Open shortest path first (ospf)
Open shortest path first (ospf)Open shortest path first (ospf)
Open shortest path first (ospf)
 
Dsdv
DsdvDsdv
Dsdv
 
Lecture 19 22. transport protocol for ad-hoc
Lecture 19 22. transport protocol for ad-hoc Lecture 19 22. transport protocol for ad-hoc
Lecture 19 22. transport protocol for ad-hoc
 
Computer network switching
Computer network switchingComputer network switching
Computer network switching
 
Bridging in Networking
Bridging in NetworkingBridging in Networking
Bridging in Networking
 
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESSComputer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
 
Link state protocols.ppt
Link state protocols.pptLink state protocols.ppt
Link state protocols.ppt
 
Multiple access control protocol
Multiple access control protocol Multiple access control protocol
Multiple access control protocol
 
Ch22
Ch22Ch22
Ch22
 
Network Layer,Computer Networks
Network Layer,Computer NetworksNetwork Layer,Computer Networks
Network Layer,Computer Networks
 
Application Layer
Application Layer Application Layer
Application Layer
 
Routing Information Protocol (RIP)
Routing Information Protocol(RIP)Routing Information Protocol(RIP)
Routing Information Protocol (RIP)
 
Routing protocols-network-layer
Routing protocols-network-layerRouting protocols-network-layer
Routing protocols-network-layer
 
Shortest path algorithm
Shortest  path algorithmShortest  path algorithm
Shortest path algorithm
 

Similaire à 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
 
IAP presentation-1.pptx
IAP presentation-1.pptxIAP presentation-1.pptx
IAP presentation-1.pptxHirazNor
 

Similaire à 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
 
Semana 1 geo y trigo
Semana 1  geo y trigo Semana 1  geo y trigo
Semana 1 geo y trigo
 
IAP presentation-1.pptx
IAP presentation-1.pptxIAP presentation-1.pptx
IAP presentation-1.pptx
 

Plus de 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
 

Plus de 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
 

Dernier

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
 
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
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
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
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
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 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
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
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
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 

Dernier (20)

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?
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
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...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
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 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
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
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...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 

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.