SlideShare a Scribd company logo
1 of 30
Routing Algorithm 2004. 11. 3 Ahn Kook Jin
Contents ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Routing Protocol and Algorithm ,[object Object],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 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Link State Routing Algorithm ,[object Object],[object Object]
Link State Routing Algorithm ,[object Object],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 ,[object Object],[object Object],[object Object],[object Object]
Distance Vector Routing Algorithm ,[object Object],[object Object],[object Object],[object Object],[object Object]
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 ,[object Object],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 ,[object Object],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 ,[object Object],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 ,[object Object],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 ,[object Object],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 ,[object Object],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 ,[object Object],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 ,[object Object],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 ,[object Object],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 ,[object Object],50 4 1 60 Y X Z ∞ 4 X Z X D Y 5 50 X Y X D z
Distance Vector Routing Algorithm ,[object Object],50 4 1 60 Y X Z ∞ 60 X Z X D Y 5 50 X Y X D z
Distance Vector Routing Algorithm ,[object Object],50 4 1 60 Y X Z ∞ 60 X Z X D Y 61 50 X Y X D z
Distance Vector Routing Algorithm ,[object Object],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 ,[object Object],[object Object],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 ,[object Object],[object Object],[object Object],[object Object]
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

More Related Content

What's hot

Data management with ado
Data management with adoData management with ado
Data management with ado
Dinesh kumar
 
Graphs In Data Structure
Graphs In Data StructureGraphs In Data Structure
Graphs In Data Structure
Anuj Modi
 
Error Detection and Correction
Error Detection and CorrectionError Detection and Correction
Error Detection and Correction
TechiNerd
 

What's hot (20)

Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
 
Get method and post method
Get method and post methodGet method and post method
Get method and post method
 
Routing
RoutingRouting
Routing
 
Distance Vector Multicast Routing Protocol (DVMRP) : Presentation
Distance Vector Multicast Routing Protocol (DVMRP) : PresentationDistance Vector Multicast Routing Protocol (DVMRP) : Presentation
Distance Vector Multicast Routing Protocol (DVMRP) : Presentation
 
Data management with ado
Data management with adoData management with ado
Data management with ado
 
Graphs In Data Structure
Graphs In Data StructureGraphs In Data Structure
Graphs In Data Structure
 
Switching concepts Data communication and networks
Switching concepts Data communication and networksSwitching concepts Data communication and networks
Switching concepts Data communication and networks
 
DBMS - RAID
DBMS - RAIDDBMS - RAID
DBMS - RAID
 
Computer Network - Network Layer
Computer Network - Network LayerComputer Network - Network Layer
Computer Network - Network Layer
 
Open shortest path first (ospf)
Open shortest path first (ospf)Open shortest path first (ospf)
Open shortest path first (ospf)
 
Quality of Service
Quality of ServiceQuality of Service
Quality of Service
 
Error Detection and Correction
Error Detection and CorrectionError Detection and Correction
Error Detection and Correction
 
Congestion control
Congestion controlCongestion control
Congestion control
 
Routing and routing algorithms
Routing and routing algorithmsRouting and routing algorithms
Routing and routing algorithms
 
Mobile Network Layer
Mobile Network LayerMobile Network Layer
Mobile Network Layer
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
 
JavaScript - Chapter 12 - Document Object Model
  JavaScript - Chapter 12 - Document Object Model  JavaScript - Chapter 12 - Document Object Model
JavaScript - Chapter 12 - Document Object Model
 
Distance Vector Routing Protocols
Distance Vector Routing ProtocolsDistance Vector Routing Protocols
Distance Vector Routing Protocols
 
Custom Controls in ASP.net
Custom Controls in ASP.netCustom Controls in ASP.net
Custom Controls in ASP.net
 
Stop-and-Wait ARQ Protocol
Stop-and-Wait ARQ ProtocolStop-and-Wait ARQ Protocol
Stop-and-Wait ARQ Protocol
 

Viewers also liked (6)

Link state routing protocol
Link state routing protocolLink state routing protocol
Link state routing protocol
 
Cisco ospf
Cisco ospf Cisco ospf
Cisco ospf
 
Distance vector routing algorithm
Distance vector routing algorithmDistance vector routing algorithm
Distance vector routing algorithm
 
network convergence problem and solutions
network convergence  problem and solutionsnetwork convergence  problem and solutions
network convergence problem and solutions
 
Distance vector routing
Distance vector routingDistance vector routing
Distance vector routing
 
RIP - Routing Information Protocol
RIP - Routing Information ProtocolRIP - Routing Information Protocol
RIP - Routing Information Protocol
 

Similar to Routing algorithm

Intro 2 Computer Networks
Intro 2 Computer NetworksIntro 2 Computer Networks
Intro 2 Computer Networks
rakeshgoswami
 
VoxelNet
VoxelNetVoxelNet
VoxelNet
taeseon ryu
 
IAP presentation-1.pptx
IAP presentation-1.pptxIAP presentation-1.pptx
IAP presentation-1.pptx
HirazNor
 
4366 chapter7
4366 chapter74366 chapter7
4366 chapter7
Sai Kumar
 

Similar to Routing algorithm (20)

Bellman Ford Routing Algorithm-Computer Networks
Bellman Ford Routing Algorithm-Computer NetworksBellman Ford Routing Algorithm-Computer Networks
Bellman Ford Routing Algorithm-Computer Networks
 
Module 3- transport_layer .pptx
Module 3- transport_layer           .pptxModule 3- transport_layer           .pptx
Module 3- transport_layer .pptx
 
Lecture set 5
Lecture set 5Lecture set 5
Lecture set 5
 
Chapter 5 - Computer Networking a top-down Approach 7th
Chapter 5 - Computer Networking a top-down Approach 7thChapter 5 - Computer Networking a top-down Approach 7th
Chapter 5 - Computer Networking a top-down Approach 7th
 
P5 - Routing Protocols
P5 - Routing ProtocolsP5 - Routing Protocols
P5 - Routing Protocols
 
Bellmanford
BellmanfordBellmanford
Bellmanford
 
5.2_video_slides.pptx
5.2_video_slides.pptx5.2_video_slides.pptx
5.2_video_slides.pptx
 
Week11 lec2
Week11 lec2Week11 lec2
Week11 lec2
 
Cnetwork
CnetworkCnetwork
Cnetwork
 
Introduction to Computer Networks
Introduction to Computer NetworksIntroduction to Computer Networks
Introduction to Computer Networks
 
Intro 2 Computer Networks
Intro 2 Computer NetworksIntro 2 Computer Networks
Intro 2 Computer Networks
 
VoxelNet
VoxelNetVoxelNet
VoxelNet
 
Signals and Systems Assignment Help
Signals and Systems Assignment HelpSignals and Systems Assignment Help
Signals and Systems Assignment Help
 
3-Routing.ppt
3-Routing.ppt3-Routing.ppt
3-Routing.ppt
 
Directed Acyclic Graph
Directed Acyclic Graph Directed Acyclic Graph
Directed Acyclic Graph
 
IAP presentation-1.pptx
IAP presentation-1.pptxIAP presentation-1.pptx
IAP presentation-1.pptx
 
4366 chapter7
4366 chapter74366 chapter7
4366 chapter7
 
MVPA with SpaceNet: sparse structured priors
MVPA with SpaceNet: sparse structured priorsMVPA with SpaceNet: sparse structured priors
MVPA with SpaceNet: sparse structured priors
 
Differential kinematics robotic
Differential kinematics  roboticDifferential kinematics  robotic
Differential kinematics robotic
 
Deepwalk vs Node2vec
Deepwalk vs Node2vecDeepwalk vs Node2vec
Deepwalk vs Node2vec
 

Recently uploaded

Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Recently uploaded (20)

Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 

Routing algorithm