SlideShare a Scribd company logo
Routing Algorithm 2004. 11. 3 Ahn Kook Jin
Contents Routing Protocol and Algorithm Classifications Link State Routing Algorithm Distance Vector Routing Algorithm LS Algorithm vs. DV Algorithm Hierarchical Routing
Routing Protocol and Algorithm Determining the path(route) source host destination host 5 2 1 2 3 1 3 5 2 1 B A C E D F first-hop router default router source router destination router least-cost path
Classifications Global vs. decentralized global(link state algorithm) : complete information about connectivity and link costs Static vs.  dynamic static : routes change very slowly Load-sensitive vs.  load-insensitive load-sensitive : link costs reflect congestion Typical used Dynamic link state routing algorithm Dynamic distance vector routing algorithm
Link State Routing Algorithm Each node broadcasts the identities and costs to its directly attached neighbors Dijkstra’s algorithm
Link State Routing Algorithm Oscillation(page 307) D B C A e 1 1 2+e 0 0 1+e 0 0 0 1 1 0 0 0 e 0 1+e 0 0 0 0 0 1+e 1 2+e 0 2+e 0 0 1+e 0 0 0 1
Distance Vector Routing Algorithm Iterative, asynchronous, distributed Distance table D X (Y,Z) : cost of the direct link from X to Z + Z’s currently known minmum-cost path to Y D X (Y,Z)=c(X,Z)+min w {D z (Y,w)}
Distance Vector Routing Algorithm Initialization: D X (*,v) = inifinite, D X (v,v)=c(x,v) Send min w D X (y,w) to each neighbor when they changes C(X,V) changes Neighbor node send its update
Distance Vector Routing Algorithm 7 2 1 Y X Z 7 ∞ Z ∞ 2 Y Z Y D X 1 ∞ Z ∞ 2 X Z X D Y 1 ∞ Y ∞ 7 X Y X D z
Distance Vector Routing Algorithm 7 2 1 Y X Z 7 3 Z 8 2 Y Z Y D X 1 9 Z 8 2 X Z X D Y 1 9 Y 3 7 X Y X D z
Distance Vector Routing Algorithm 7 2 1 Y X Z 7 3 Z 8 2 Y Z Y D X 1 5 Z 4 2 X Z X D Y 1 9 Y 3 7 X Y X D z
Distance Vector Routing Algorithm Decrease 50 4 1 1 Y X Z 6 4 X Z X D Y 5 50 X Y X D z
Distance Vector Routing Algorithm Decrease 50 4 1 1 Y X Z 6 1 X Z X D Y 5 50 X Y X D z
Distance Vector Routing Algorithm Decrease 50 4 1 1 Y X Z 6 1 X Z X D Y 2 50 X Y X D z
Distance Vector Routing Algorithm Decrease 50 4 1 1 Y X Z 6 1 X Z X D Y 2 50 X Y X D z
Distance Vector Routing Algorithm Increase 50 4 1 60 Y X Z 6 4 X Z X D Y 5 50 X Y X D z
Distance Vector Routing Algorithm Increase 50 4 1 60 Routing loop Y X Z 6 60 X Z X D Y 5 50 X Y X D z
Distance Vector Routing Algorithm Increase 50 4 1 60 Y X Z 6 60 X Z X D Y 7 50 X Y X D z
Distance Vector Routing Algorithm Increase 50 4 1 60 Y X Z 8 60 X Z X D Y 7 50 X Y X D z
Distance Vector Routing Algorithm Increase 50 4 1 60 Too many iterations! (count-to-infinity problem) Y X Z 8 60 X Z X D Y 9 50 X Y X D z
Distance Vector Routing Algorithm Poisoned  reverse 50 4 1 60 Y X Z ∞ 4 X Z X D Y 5 50 X Y X D z
Distance Vector Routing Algorithm Poisoned  reverse 50 4 1 60 Y X Z ∞ 60 X Z X D Y 5 50 X Y X D z
Distance Vector Routing Algorithm Poisoned  reverse 50 4 1 60 Y X Z ∞ 60 X Z X D Y 61 50 X Y X D z
Distance Vector Routing Algorithm Poisoned  reverse 50 4 1 60 Y X Z 51 60 X Z X D Y 61 50 X Y X D z
Distance Vector Routing Algorithm Poisoned  reverse Cannot solve general count-to-infinity problem 50 4 1 60 Y X Z 51 60 X Z X D Y ∞ 50 X Y X D z
LS Algorithm vs. DV Algorithm Bad Good Robustness Slow(count-to-infinity problem) O(n 2 ) algorithm Speed of convergence Maybe small O(nE) Message complexity DV LS
Hierarchical Routing View network as interconnected routers Scale Administrative autonomy Organize routers into autonomy systems(AS)
Hierarchical Routing Autonomy system(AS) Gateway router Intra-AS Inter-AS B.a B.a A.a A.b A.c A.d C.b C.c C.a Host H1 Host H2
Hierarchical Routing Topological view for inter-AS routing protocol B.a A.a A.c C.a
END
Ad

Recommended

Multimedia System Architecture details.pptx
Multimedia System Architecture details.pptx
NaveenaKarthik3
 
Multimedia color in image and video
Multimedia color in image and video
Mazin Alwaaly
 
SciencesConf : plateforme de gestion de congres scientifiques
SciencesConf : plateforme de gestion de congres scientifiques
OAccsd
 
Video Segmentation
Video Segmentation
Smriti Jain
 
Photo sharing
Photo sharing
Susan Lee
 
hierarchical bus system
hierarchical bus system
Elvis Jonyo
 
Buffer management
Buffer management
KarthigaGunasekaran1
 
Unit 1 - mobile computing introduction
Unit 1 - mobile computing introduction
Vintesh Patel
 
Interactive os
Interactive os
mimie_ghaz
 
Edge linking in image processing
Edge linking in image processing
VARUN KUMAR
 
BigData_TP1: Initiation à Hadoop et Map-Reduce
BigData_TP1: Initiation à Hadoop et Map-Reduce
Lilia Sfaxi
 
Cours d'introduction aux HTML5 & CSS3
Cours d'introduction aux HTML5 & CSS3
Abel LIFAEFI MBULA
 
Chap 16 bootp & dhcp
Chap 16 bootp & dhcp
Noctorous Jamal
 
Sonet
Sonet
kongara
 
Services web soap-el-habib-nfaoui
Services web soap-el-habib-nfaoui
El Habib NFAOUI
 
A star
A star
meriem sari
 
Multimedia system, Architecture & Databases
Multimedia system, Architecture & Databases
Harshita Ved
 
Résumé ccna 1chapitre 1 v5.0
Résumé ccna 1chapitre 1 v5.0
EL AMRI El Hassan
 
Difference between dtd and xsd
Difference between dtd and xsd
Umar Ali
 
Multimedia notes
Multimedia notes
KoYe Click
 
Multimedia system(OPEN DOCUMENT ARCHITECTURE AND INTERCHANGING FORMAT)
Multimedia system(OPEN DOCUMENT ARCHITECTURE AND INTERCHANGING FORMAT)
pavishkumarsingh
 
Introduction to computer graphics
Introduction to computer graphics
Priyodarshini Dhar
 
Psuedo color
Psuedo color
Mariashoukat1206
 
Analyse de données avec R : Une petite introduction
Analyse de données avec R : Une petite introduction
Ahmadou DICKO
 
Gérer ses signets en ligne avec Diigo
Gérer ses signets en ligne avec Diigo
URFIST de Rennes
 
Multimedia synchronization
Multimedia synchronization
I World Tech
 
Viewing transformation
Viewing transformation
Udayan Gupta
 
Application of ML in physical layer
Application of ML in physical layer
VARUN KUMAR
 
Link state routing protocol
Link state routing protocol
Aung Thu Rha Hein
 
Cisco ospf
Cisco ospf
sarasanandam
 

More Related Content

What's hot (20)

Interactive os
Interactive os
mimie_ghaz
 
Edge linking in image processing
Edge linking in image processing
VARUN KUMAR
 
BigData_TP1: Initiation à Hadoop et Map-Reduce
BigData_TP1: Initiation à Hadoop et Map-Reduce
Lilia Sfaxi
 
Cours d'introduction aux HTML5 & CSS3
Cours d'introduction aux HTML5 & CSS3
Abel LIFAEFI MBULA
 
Chap 16 bootp & dhcp
Chap 16 bootp & dhcp
Noctorous Jamal
 
Sonet
Sonet
kongara
 
Services web soap-el-habib-nfaoui
Services web soap-el-habib-nfaoui
El Habib NFAOUI
 
A star
A star
meriem sari
 
Multimedia system, Architecture & Databases
Multimedia system, Architecture & Databases
Harshita Ved
 
Résumé ccna 1chapitre 1 v5.0
Résumé ccna 1chapitre 1 v5.0
EL AMRI El Hassan
 
Difference between dtd and xsd
Difference between dtd and xsd
Umar Ali
 
Multimedia notes
Multimedia notes
KoYe Click
 
Multimedia system(OPEN DOCUMENT ARCHITECTURE AND INTERCHANGING FORMAT)
Multimedia system(OPEN DOCUMENT ARCHITECTURE AND INTERCHANGING FORMAT)
pavishkumarsingh
 
Introduction to computer graphics
Introduction to computer graphics
Priyodarshini Dhar
 
Psuedo color
Psuedo color
Mariashoukat1206
 
Analyse de données avec R : Une petite introduction
Analyse de données avec R : Une petite introduction
Ahmadou DICKO
 
Gérer ses signets en ligne avec Diigo
Gérer ses signets en ligne avec Diigo
URFIST de Rennes
 
Multimedia synchronization
Multimedia synchronization
I World Tech
 
Viewing transformation
Viewing transformation
Udayan Gupta
 
Application of ML in physical layer
Application of ML in physical layer
VARUN KUMAR
 
Interactive os
Interactive os
mimie_ghaz
 
Edge linking in image processing
Edge linking in image processing
VARUN KUMAR
 
BigData_TP1: Initiation à Hadoop et Map-Reduce
BigData_TP1: Initiation à Hadoop et Map-Reduce
Lilia Sfaxi
 
Cours d'introduction aux HTML5 & CSS3
Cours d'introduction aux HTML5 & CSS3
Abel LIFAEFI MBULA
 
Services web soap-el-habib-nfaoui
Services web soap-el-habib-nfaoui
El Habib NFAOUI
 
Multimedia system, Architecture & Databases
Multimedia system, Architecture & Databases
Harshita Ved
 
Résumé ccna 1chapitre 1 v5.0
Résumé ccna 1chapitre 1 v5.0
EL AMRI El Hassan
 
Difference between dtd and xsd
Difference between dtd and xsd
Umar Ali
 
Multimedia notes
Multimedia notes
KoYe Click
 
Multimedia system(OPEN DOCUMENT ARCHITECTURE AND INTERCHANGING FORMAT)
Multimedia system(OPEN DOCUMENT ARCHITECTURE AND INTERCHANGING FORMAT)
pavishkumarsingh
 
Introduction to computer graphics
Introduction to computer graphics
Priyodarshini Dhar
 
Analyse de données avec R : Une petite introduction
Analyse de données avec R : Une petite introduction
Ahmadou DICKO
 
Gérer ses signets en ligne avec Diigo
Gérer ses signets en ligne avec Diigo
URFIST de Rennes
 
Multimedia synchronization
Multimedia synchronization
I World Tech
 
Viewing transformation
Viewing transformation
Udayan Gupta
 
Application of ML in physical layer
Application of ML in physical layer
VARUN KUMAR
 

Viewers also liked (6)

Link state routing protocol
Link state routing protocol
Aung Thu Rha Hein
 
Cisco ospf
Cisco ospf
sarasanandam
 
Distance vector routing algorithm
Distance vector routing algorithm
Gaurav Rawat
 
network convergence problem and solutions
network convergence problem and solutions
Siddhi Viradiya
 
Distance vector routing
Distance vector routing
Siddique Ibrahim
 
RIP - Routing Information Protocol
RIP - Routing Information Protocol
selvakumar_b1985
 
Distance vector routing algorithm
Distance vector routing algorithm
Gaurav Rawat
 
network convergence problem and solutions
network convergence problem and solutions
Siddhi Viradiya
 
RIP - Routing Information Protocol
RIP - Routing Information Protocol
selvakumar_b1985
 
Ad

Similar to Routing algorithm (20)

Routing Algorithm
Routing Algorithm
Kamal Acharya
 
Computer networks chapter 5 network layer : control plane
Computer networks chapter 5 network layer : control plane
laibaiqbal450
 
numeric network in the world of heart then ay iks jsns
numeric network in the world of heart then ay iks jsns
kassemKhalil1
 
Lec12 on Computer Networks by Tarun Mangla.pdf
Lec12 on Computer Networks by Tarun Mangla.pdf
ShivamSawarn2
 
Bellman Ford Routing Algorithm-Computer Networks
Bellman Ford Routing Algorithm-Computer Networks
SimranJain63
 
routing1 1X3 Router (capable of routing the data packets.ppt
routing1 1X3 Router (capable of routing the data packets.ppt
JANARTHANANS22
 
Network Layer: Control Plane (Computer Network Course)
Network Layer: Control Plane (Computer Network Course)
okuwobi
 
Module 3- transport_layer .pptx
Module 3- transport_layer .pptx
hariprasad279825
 
Lecture set 5
Lecture set 5
Gopi Saiteja
 
Chapter 5 - Computer Networking a top-down Approach 7th
Chapter 5 - Computer Networking a top-down Approach 7th
Andy Juan Sarango Veliz
 
P5 - Routing Protocols
P5 - Routing Protocols
Kurniawan Dwi Irianto
 
Chapter_5_v8.0Routing Protocol for Computer network from kurose and ross
Chapter_5_v8.0Routing Protocol for Computer network from kurose and ross
dutt2309
 
Bellmanford
Bellmanford
Abhijeet Gokhale
 
5.2_video_slides.pptx
5.2_video_slides.pptx
DennyHermawan15
 
Week11 lec2
Week11 lec2
syedhaiderraza
 
Cnetwork
Cnetwork
ADARSHN40
 
Introduction to Computer Networks
Introduction to Computer Networks
Venkatesh Iyer
 
Intro 2 Computer Networks
Intro 2 Computer Networks
rakeshgoswami
 
VoxelNet
VoxelNet
taeseon ryu
 
Signals and Systems Assignment Help
Signals and Systems Assignment Help
Matlab Assignment Experts
 
Computer networks chapter 5 network layer : control plane
Computer networks chapter 5 network layer : control plane
laibaiqbal450
 
numeric network in the world of heart then ay iks jsns
numeric network in the world of heart then ay iks jsns
kassemKhalil1
 
Lec12 on Computer Networks by Tarun Mangla.pdf
Lec12 on Computer Networks by Tarun Mangla.pdf
ShivamSawarn2
 
Bellman Ford Routing Algorithm-Computer Networks
Bellman Ford Routing Algorithm-Computer Networks
SimranJain63
 
routing1 1X3 Router (capable of routing the data packets.ppt
routing1 1X3 Router (capable of routing the data packets.ppt
JANARTHANANS22
 
Network Layer: Control Plane (Computer Network Course)
Network Layer: Control Plane (Computer Network Course)
okuwobi
 
Module 3- transport_layer .pptx
Module 3- transport_layer .pptx
hariprasad279825
 
Chapter 5 - Computer Networking a top-down Approach 7th
Chapter 5 - Computer Networking a top-down Approach 7th
Andy Juan Sarango Veliz
 
Chapter_5_v8.0Routing Protocol for Computer network from kurose and ross
Chapter_5_v8.0Routing Protocol for Computer network from kurose and ross
dutt2309
 
Introduction to Computer Networks
Introduction to Computer Networks
Venkatesh Iyer
 
Intro 2 Computer Networks
Intro 2 Computer Networks
rakeshgoswami
 
Ad

Recently uploaded (20)

Paper 108 | Thoreau’s Influence on Gandhi: The Evolution of Civil Disobedience
Paper 108 | Thoreau’s Influence on Gandhi: The Evolution of Civil Disobedience
Rajdeep Bavaliya
 
OBSESSIVE COMPULSIVE DISORDER.pptx IN 5TH SEMESTER B.SC NURSING, 2ND YEAR GNM...
OBSESSIVE COMPULSIVE DISORDER.pptx IN 5TH SEMESTER B.SC NURSING, 2ND YEAR GNM...
parmarjuli1412
 
Code Profiling in Odoo 18 - Odoo 18 Slides
Code Profiling in Odoo 18 - Odoo 18 Slides
Celine George
 
Great Governors' Send-Off Quiz 2025 Prelims IIT KGP
Great Governors' Send-Off Quiz 2025 Prelims IIT KGP
IIT Kharagpur Quiz Club
 
IIT KGP Quiz Week 2024 Sports Quiz (Prelims + Finals)
IIT KGP Quiz Week 2024 Sports Quiz (Prelims + Finals)
IIT Kharagpur Quiz Club
 
LDMMIA Shop & Student News Summer Solstice 25
LDMMIA Shop & Student News Summer Solstice 25
LDM & Mia eStudios
 
Peer Teaching Observations During School Internship
Peer Teaching Observations During School Internship
AjayaMohanty7
 
THE PSYCHOANALYTIC OF THE BLACK CAT BY EDGAR ALLAN POE (1).pdf
THE PSYCHOANALYTIC OF THE BLACK CAT BY EDGAR ALLAN POE (1).pdf
nabilahk908
 
Vitamin and Nutritional Deficiencies.pptx
Vitamin and Nutritional Deficiencies.pptx
Vishal Chanalia
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 6-14-2025.pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 6-14-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
University of Ghana Cracks Down on Misconduct: Over 100 Students Sanctioned
University of Ghana Cracks Down on Misconduct: Over 100 Students Sanctioned
Kweku Zurek
 
How to Manage Different Customer Addresses in Odoo 18 Accounting
How to Manage Different Customer Addresses in Odoo 18 Accounting
Celine George
 
LAZY SUNDAY QUIZ "A GENERAL QUIZ" JUNE 2025 SMC QUIZ CLUB, SILCHAR MEDICAL CO...
LAZY SUNDAY QUIZ "A GENERAL QUIZ" JUNE 2025 SMC QUIZ CLUB, SILCHAR MEDICAL CO...
Ultimatewinner0342
 
English 3 Quarter 1_LEwithLAS_Week 1.pdf
English 3 Quarter 1_LEwithLAS_Week 1.pdf
DeAsisAlyanajaneH
 
How to Customize Quotation Layouts in Odoo 18
How to Customize Quotation Layouts in Odoo 18
Celine George
 
Intellectual Property Right (Jurisprudence).pptx
Intellectual Property Right (Jurisprudence).pptx
Vishal Chanalia
 
Romanticism in Love and Sacrifice An Analysis of Oscar Wilde’s The Nightingal...
Romanticism in Love and Sacrifice An Analysis of Oscar Wilde’s The Nightingal...
KaryanaTantri21
 
Plate Tectonic Boundaries and Continental Drift Theory
Plate Tectonic Boundaries and Continental Drift Theory
Marie
 
2025 June Year 9 Presentation: Subject selection.pptx
2025 June Year 9 Presentation: Subject selection.pptx
mansk2
 
Pests of Maize: An comprehensive overview.pptx
Pests of Maize: An comprehensive overview.pptx
Arshad Shaikh
 
Paper 108 | Thoreau’s Influence on Gandhi: The Evolution of Civil Disobedience
Paper 108 | Thoreau’s Influence on Gandhi: The Evolution of Civil Disobedience
Rajdeep Bavaliya
 
OBSESSIVE COMPULSIVE DISORDER.pptx IN 5TH SEMESTER B.SC NURSING, 2ND YEAR GNM...
OBSESSIVE COMPULSIVE DISORDER.pptx IN 5TH SEMESTER B.SC NURSING, 2ND YEAR GNM...
parmarjuli1412
 
Code Profiling in Odoo 18 - Odoo 18 Slides
Code Profiling in Odoo 18 - Odoo 18 Slides
Celine George
 
Great Governors' Send-Off Quiz 2025 Prelims IIT KGP
Great Governors' Send-Off Quiz 2025 Prelims IIT KGP
IIT Kharagpur Quiz Club
 
IIT KGP Quiz Week 2024 Sports Quiz (Prelims + Finals)
IIT KGP Quiz Week 2024 Sports Quiz (Prelims + Finals)
IIT Kharagpur Quiz Club
 
LDMMIA Shop & Student News Summer Solstice 25
LDMMIA Shop & Student News Summer Solstice 25
LDM & Mia eStudios
 
Peer Teaching Observations During School Internship
Peer Teaching Observations During School Internship
AjayaMohanty7
 
THE PSYCHOANALYTIC OF THE BLACK CAT BY EDGAR ALLAN POE (1).pdf
THE PSYCHOANALYTIC OF THE BLACK CAT BY EDGAR ALLAN POE (1).pdf
nabilahk908
 
Vitamin and Nutritional Deficiencies.pptx
Vitamin and Nutritional Deficiencies.pptx
Vishal Chanalia
 
University of Ghana Cracks Down on Misconduct: Over 100 Students Sanctioned
University of Ghana Cracks Down on Misconduct: Over 100 Students Sanctioned
Kweku Zurek
 
How to Manage Different Customer Addresses in Odoo 18 Accounting
How to Manage Different Customer Addresses in Odoo 18 Accounting
Celine George
 
LAZY SUNDAY QUIZ "A GENERAL QUIZ" JUNE 2025 SMC QUIZ CLUB, SILCHAR MEDICAL CO...
LAZY SUNDAY QUIZ "A GENERAL QUIZ" JUNE 2025 SMC QUIZ CLUB, SILCHAR MEDICAL CO...
Ultimatewinner0342
 
English 3 Quarter 1_LEwithLAS_Week 1.pdf
English 3 Quarter 1_LEwithLAS_Week 1.pdf
DeAsisAlyanajaneH
 
How to Customize Quotation Layouts in Odoo 18
How to Customize Quotation Layouts in Odoo 18
Celine George
 
Intellectual Property Right (Jurisprudence).pptx
Intellectual Property Right (Jurisprudence).pptx
Vishal Chanalia
 
Romanticism in Love and Sacrifice An Analysis of Oscar Wilde’s The Nightingal...
Romanticism in Love and Sacrifice An Analysis of Oscar Wilde’s The Nightingal...
KaryanaTantri21
 
Plate Tectonic Boundaries and Continental Drift Theory
Plate Tectonic Boundaries and Continental Drift Theory
Marie
 
2025 June Year 9 Presentation: Subject selection.pptx
2025 June Year 9 Presentation: Subject selection.pptx
mansk2
 
Pests of Maize: An comprehensive overview.pptx
Pests of Maize: An comprehensive overview.pptx
Arshad Shaikh
 

Routing algorithm

  • 1. Routing Algorithm 2004. 11. 3 Ahn Kook Jin
  • 2. Contents Routing Protocol and Algorithm Classifications Link State Routing Algorithm Distance Vector Routing Algorithm LS Algorithm vs. DV Algorithm Hierarchical Routing
  • 3. Routing Protocol and Algorithm Determining the path(route) source host destination host 5 2 1 2 3 1 3 5 2 1 B A C E D F first-hop router default router source router destination router least-cost path
  • 4. Classifications Global vs. decentralized global(link state algorithm) : complete information about connectivity and link costs Static vs. dynamic static : routes change very slowly Load-sensitive vs. load-insensitive load-sensitive : link costs reflect congestion Typical used Dynamic link state routing algorithm Dynamic distance vector routing algorithm
  • 5. Link State Routing Algorithm Each node broadcasts the identities and costs to its directly attached neighbors Dijkstra’s algorithm
  • 6. Link State Routing Algorithm Oscillation(page 307) D B C A e 1 1 2+e 0 0 1+e 0 0 0 1 1 0 0 0 e 0 1+e 0 0 0 0 0 1+e 1 2+e 0 2+e 0 0 1+e 0 0 0 1
  • 7. Distance Vector Routing Algorithm Iterative, asynchronous, distributed Distance table D X (Y,Z) : cost of the direct link from X to Z + Z’s currently known minmum-cost path to Y D X (Y,Z)=c(X,Z)+min w {D z (Y,w)}
  • 8. Distance Vector Routing Algorithm Initialization: D X (*,v) = inifinite, D X (v,v)=c(x,v) Send min w D X (y,w) to each neighbor when they changes C(X,V) changes Neighbor node send its update
  • 9. Distance Vector Routing Algorithm 7 2 1 Y X Z 7 ∞ Z ∞ 2 Y Z Y D X 1 ∞ Z ∞ 2 X Z X D Y 1 ∞ Y ∞ 7 X Y X D z
  • 10. Distance Vector Routing Algorithm 7 2 1 Y X Z 7 3 Z 8 2 Y Z Y D X 1 9 Z 8 2 X Z X D Y 1 9 Y 3 7 X Y X D z
  • 11. Distance Vector Routing Algorithm 7 2 1 Y X Z 7 3 Z 8 2 Y Z Y D X 1 5 Z 4 2 X Z X D Y 1 9 Y 3 7 X Y X D z
  • 12. Distance Vector Routing Algorithm Decrease 50 4 1 1 Y X Z 6 4 X Z X D Y 5 50 X Y X D z
  • 13. Distance Vector Routing Algorithm Decrease 50 4 1 1 Y X Z 6 1 X Z X D Y 5 50 X Y X D z
  • 14. Distance Vector Routing Algorithm Decrease 50 4 1 1 Y X Z 6 1 X Z X D Y 2 50 X Y X D z
  • 15. Distance Vector Routing Algorithm Decrease 50 4 1 1 Y X Z 6 1 X Z X D Y 2 50 X Y X D z
  • 16. Distance Vector Routing Algorithm Increase 50 4 1 60 Y X Z 6 4 X Z X D Y 5 50 X Y X D z
  • 17. Distance Vector Routing Algorithm Increase 50 4 1 60 Routing loop Y X Z 6 60 X Z X D Y 5 50 X Y X D z
  • 18. Distance Vector Routing Algorithm Increase 50 4 1 60 Y X Z 6 60 X Z X D Y 7 50 X Y X D z
  • 19. Distance Vector Routing Algorithm Increase 50 4 1 60 Y X Z 8 60 X Z X D Y 7 50 X Y X D z
  • 20. Distance Vector Routing Algorithm Increase 50 4 1 60 Too many iterations! (count-to-infinity problem) Y X Z 8 60 X Z X D Y 9 50 X Y X D z
  • 21. Distance Vector Routing Algorithm Poisoned reverse 50 4 1 60 Y X Z ∞ 4 X Z X D Y 5 50 X Y X D z
  • 22. Distance Vector Routing Algorithm Poisoned reverse 50 4 1 60 Y X Z ∞ 60 X Z X D Y 5 50 X Y X D z
  • 23. Distance Vector Routing Algorithm Poisoned reverse 50 4 1 60 Y X Z ∞ 60 X Z X D Y 61 50 X Y X D z
  • 24. Distance Vector Routing Algorithm Poisoned reverse 50 4 1 60 Y X Z 51 60 X Z X D Y 61 50 X Y X D z
  • 25. Distance Vector Routing Algorithm Poisoned reverse Cannot solve general count-to-infinity problem 50 4 1 60 Y X Z 51 60 X Z X D Y ∞ 50 X Y X D z
  • 26. LS Algorithm vs. DV Algorithm Bad Good Robustness Slow(count-to-infinity problem) O(n 2 ) algorithm Speed of convergence Maybe small O(nE) Message complexity DV LS
  • 27. Hierarchical Routing View network as interconnected routers Scale Administrative autonomy Organize routers into autonomy systems(AS)
  • 28. Hierarchical Routing Autonomy system(AS) Gateway router Intra-AS Inter-AS B.a B.a A.a A.b A.c A.d C.b C.c C.a Host H1 Host H2
  • 29. Hierarchical Routing Topological view for inter-AS routing protocol B.a A.a A.c C.a
  • 30. END