SlideShare une entreprise Scribd logo
1  sur  38
Chapter 6 Delivery and  Routing of  IP Packets
CONTENTS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
CONNECTION-ORIENTED  VERSUS  CONNECTIONLESS  SERVICES 6.1
In a connection-oriented situation,  the network layer protocol  first makes a connection. In a connectionless situation,  the network layer protocol treats each packet independently,  with each packet having no relationship to any other packet.
DIRECT  VERSUS  INDIRECT  DELIVERY 6.2
Figure  6-1 Direct delivery
Figure  6-2 Indirect delivery
ROUTING  METHODS 6.3
Figure  6-3 Next-hop routing
Figure  6-4 Network-specific routing
Figure  6-5 Host-specific routing
Figure  6-6 Default routing
STATIC  VERSUS  DYNAMIC  ROUTING 6.4
A  static routing table   contains information entered manually. A  dynamic routing table  is updated  periodically using one of the dynamic routing protocols such as RIP, OSPF, or BGP.
ROUTING TABLE  AND  ROUTING MODULE 6.5
Figure  6-7 Routing module and routing table
Figure  6-8 Routing Table Flags U  The router is up and running.  G  The destination is in another network. H  Host-specific address.  D  Added by redirection. M  Modified by redirection.
Figure  6-9 Configuration for routing example
Mask Dest . Next Hop   I. 255.0.0.0  111.0.0.0    --    m0 255.255.255.224  193.14.5.160    -    m2 255.255.255.224  193.14.5.192    -  m1 ------------------------------------------------------------------------------------- 255.255.255.255  194.17.21.16  111.20.18.14  m0 ------------------------------------------------------------------------------------- 255.255.255.0 192.16.7.0 111.15.17.32 m0 255.255.255.0 194.17.21.0 111.20.18.14 m0 ------------------------------------------------------------------------------------- 0.0.0.0 0.0.0.0 111.30.31.18 m0
Example 1 Router R1 receives 500 packets for destination 192.16.7.14; the algorithm applies the masks row by row to the destination address until a match (with the value in the second column) is found:
Solution Direct delivery 192.16.7.14  &  255.0.0.0     192.0.0.0  no match 192.16.7.14  &  255.255.255.224    192.16.7.0  no match 192.16.7.14  &  255.255.255.224    192.16.7.  no match Host-specific 192.16.7.14  &  255.255.255.255    192.16.7.14  no match Network-specific 192.16.7.14  &  255.255.255.0   192.16.7.0  match
Example 2 Router R1 receives 100 packets for destination 193.14.5.176; the algorithm applies the masks row by row to the destination address until a match is found:
Solution Direct delivery 193.14.5.176  &  255.0.0.0    193.0.0.0  no match 193.14.5.176 &  255.255.255.224   193.14.5.160  match
Example 3 Router R1 receives 20 packets for destination 200.34.12.34; the algorithm applies the masks row by row to the destination address until a match is found:
Solution Direct delivery 200.34.12.34  &  255.0.0.0   200.0.0.0  no match 200.34.12.34  &  255.255.255.224   200.34.12.32  no match 200.34.12.34  &  255.255.255.224   200.34.12.32  no match Host-specific 200.34.12.34  &  255.255.255.255   200.34.12.34  no match
Solution Network-specific 200.34.12.34  &  255.255.255.0    200.34.12.0  no match 200.34.12.34  &  255.255.255.0    200.34.12.0  no match Default 200.34.12.34  &  0.0.0.0    0.0.0.0.  match
Example 4 Make the routing table for router R1 in Figure 6.10
Example 4 Figure  6-10
Solution Mask Destination Next Hop I. 255.255.0.0 134.18.0.0 -- m0 255.255.0.0 129.8.0.0 222.13.16.40 m1  255.255.255.0 220.3.6.0 222.13.16.40  m1 0.0.0.0 0.0.0.0 134.18.5.2 m0
Example 5 Make the routing table for router R1 in Figure 6.11
Example 5 Figure  6-11
Solution Mask Destination Next Hop I . 255.255.255.0 200.8.4.0 ---- m2 ----------------------------------------------------------------------------- 255.255.255.0 80.4.5.0 201.4.10.3  m1 or  200.8.4.12  or m2 ------------------------------------------------------------------------------ 255.255.255.0 80.4.6.0 201.4.10.3  m1  or  200.4.8.12 or m2 ------------------------------------------------------------------------------- 0.0.0.0 0.0.0.0 ???????????? m0
Example 6 Mask Destination Next Hop I. 255.255.0.0 110.70.0.0 - m0 255.255.0.0 180.14.0.0 - m2 255.255.0.0 190.17.0.0 - m1 255.255.0.0 130.4.0.0 190.17.6.5 m1 255.255.0.0 140.6.0.0 180.14.2.5 m2 0.0.0.0 0.0.0.0 110.70.4.6 m0 The routing table for router R1 is given below.  Draw its topology
Example 6 (Solution) Figure  6-12
CLASSLESS  ADDRESSING:  CIDR 6.6
Routing Table Size Hierarchical Routing Geographical Routing Routing Table Search Algorithms ISSUES
In classful addressing,  each address has self-contained information that facilitates  routing table searching.
In classless addressing, there is  no self-contained information  in the destination address to  facilitate routing table searching.

Contenu connexe

En vedette

How to configure Default Routing
How to configure Default RoutingHow to configure Default Routing
How to configure Default Routingtcpipguru
 
Part 8 add,update,delete records using records operation buttons in vb.net
Part 8 add,update,delete records using records operation buttons in vb.netPart 8 add,update,delete records using records operation buttons in vb.net
Part 8 add,update,delete records using records operation buttons in vb.netGirija Muscut
 
Chapter 06 - Static Routing
Chapter 06 - Static RoutingChapter 06 - Static Routing
Chapter 06 - Static RoutingYaser Rahmati
 
Multi Static Routng & Default Routing
Multi Static Routng & Default RoutingMulti Static Routng & Default Routing
Multi Static Routng & Default RoutingKishore Kumar
 
Chapter 06 - Routing
Chapter 06 - RoutingChapter 06 - Routing
Chapter 06 - Routingphanleson
 
Routing and OSPF
Routing and OSPFRouting and OSPF
Routing and OSPFarpit
 
Routers and Routing Configuration
Routers and Routing ConfigurationRouters and Routing Configuration
Routers and Routing Configurationyasir1122
 
CCNA Routing Protocols
CCNA Routing ProtocolsCCNA Routing Protocols
CCNA Routing ProtocolsDsunte Wilson
 

En vedette (15)

How to configure Default Routing
How to configure Default RoutingHow to configure Default Routing
How to configure Default Routing
 
Ch31
Ch31Ch31
Ch31
 
Part 8 add,update,delete records using records operation buttons in vb.net
Part 8 add,update,delete records using records operation buttons in vb.netPart 8 add,update,delete records using records operation buttons in vb.net
Part 8 add,update,delete records using records operation buttons in vb.net
 
Ch15
Ch15Ch15
Ch15
 
Ch02
Ch02Ch02
Ch02
 
Chapter 06 - Static Routing
Chapter 06 - Static RoutingChapter 06 - Static Routing
Chapter 06 - Static Routing
 
Ch29
Ch29Ch29
Ch29
 
Ch27
Ch27Ch27
Ch27
 
Ch28
Ch28Ch28
Ch28
 
Ch30
Ch30Ch30
Ch30
 
Multi Static Routng & Default Routing
Multi Static Routng & Default RoutingMulti Static Routng & Default Routing
Multi Static Routng & Default Routing
 
Chapter 06 - Routing
Chapter 06 - RoutingChapter 06 - Routing
Chapter 06 - Routing
 
Routing and OSPF
Routing and OSPFRouting and OSPF
Routing and OSPF
 
Routers and Routing Configuration
Routers and Routing ConfigurationRouters and Routing Configuration
Routers and Routing Configuration
 
CCNA Routing Protocols
CCNA Routing ProtocolsCCNA Routing Protocols
CCNA Routing Protocols
 

Similaire à Ch06

Eincop Netwax Lab: Lab 1 static route
Eincop Netwax Lab: Lab 1 static routeEincop Netwax Lab: Lab 1 static route
Eincop Netwax Lab: Lab 1 static routeNetwax Lab
 
Ccna 2 chapter 2 v4.0 answers 2011
Ccna 2 chapter 2 v4.0 answers 2011Ccna 2 chapter 2 v4.0 answers 2011
Ccna 2 chapter 2 v4.0 answers 2011Dân Chơi
 
Ccna 2 chapter 6 v4.0 answers 2011
Ccna 2 chapter 6 v4.0 answers 2011Ccna 2 chapter 6 v4.0 answers 2011
Ccna 2 chapter 6 v4.0 answers 2011Dân Chơi
 
001 network toi_basics_v1
001 network toi_basics_v1001 network toi_basics_v1
001 network toi_basics_v1Hisao Tsujimura
 
BGP Route Aggregation Lab WorkBook
BGP Route Aggregation Lab WorkBookBGP Route Aggregation Lab WorkBook
BGP Route Aggregation Lab WorkBookRHC Technologies
 
Understanding the Routing Table Structure
Understanding the Routing Table StructureUnderstanding the Routing Table Structure
Understanding the Routing Table StructureMakram Ghazzaoui
 
Tri aoi training-supplementary_2011.01
Tri aoi training-supplementary_2011.01Tri aoi training-supplementary_2011.01
Tri aoi training-supplementary_2011.01Ralph Nguyen
 
Moog-ServoDrives-MSD_Doc_CB40859_2020_11-en.pdf
Moog-ServoDrives-MSD_Doc_CB40859_2020_11-en.pdfMoog-ServoDrives-MSD_Doc_CB40859_2020_11-en.pdf
Moog-ServoDrives-MSD_Doc_CB40859_2020_11-en.pdfpatriciamontecinos6
 
Ccna 1 chapter 11 v4.0 answers 2011
Ccna 1 chapter 11 v4.0 answers 2011Ccna 1 chapter 11 v4.0 answers 2011
Ccna 1 chapter 11 v4.0 answers 2011Dân Chơi
 
bank soal mikrotik.docx
bank soal mikrotik.docxbank soal mikrotik.docx
bank soal mikrotik.docxesr98
 
10112019 Quizzes - CMIT 451 6381 Implementing Cisco IP Routi.docx
10112019 Quizzes - CMIT 451 6381 Implementing Cisco IP Routi.docx10112019 Quizzes - CMIT 451 6381 Implementing Cisco IP Routi.docx
10112019 Quizzes - CMIT 451 6381 Implementing Cisco IP Routi.docxaulasnilda
 
Skill final-resuelto
Skill final-resueltoSkill final-resuelto
Skill final-resueltoelviscd_4
 
Siemens gh cp443-1_76
Siemens gh cp443-1_76Siemens gh cp443-1_76
Siemens gh cp443-1_76Den Mba
 
Ccna 3 Chapter 6 V4.0 Answers
Ccna 3 Chapter 6 V4.0 AnswersCcna 3 Chapter 6 V4.0 Answers
Ccna 3 Chapter 6 V4.0 Answersccna4discovery
 

Similaire à Ch06 (20)

Nxll26 bgp ii
Nxll26 bgp iiNxll26 bgp ii
Nxll26 bgp ii
 
Eincop Netwax Lab: Lab 1 static route
Eincop Netwax Lab: Lab 1 static routeEincop Netwax Lab: Lab 1 static route
Eincop Netwax Lab: Lab 1 static route
 
Ccna 2 chapter 2 v4.0 answers 2011
Ccna 2 chapter 2 v4.0 answers 2011Ccna 2 chapter 2 v4.0 answers 2011
Ccna 2 chapter 2 v4.0 answers 2011
 
Bgp fine tuning
Bgp fine tuningBgp fine tuning
Bgp fine tuning
 
Ccna 2 chapter 6 v4.0 answers 2011
Ccna 2 chapter 6 v4.0 answers 2011Ccna 2 chapter 6 v4.0 answers 2011
Ccna 2 chapter 6 v4.0 answers 2011
 
001 network toi_basics_v1
001 network toi_basics_v1001 network toi_basics_v1
001 network toi_basics_v1
 
BGP Route Aggregation Lab WorkBook
BGP Route Aggregation Lab WorkBookBGP Route Aggregation Lab WorkBook
BGP Route Aggregation Lab WorkBook
 
Understanding the Routing Table Structure
Understanding the Routing Table StructureUnderstanding the Routing Table Structure
Understanding the Routing Table Structure
 
Nxll11 bgp
Nxll11 bgpNxll11 bgp
Nxll11 bgp
 
Tri aoi training-supplementary_2011.01
Tri aoi training-supplementary_2011.01Tri aoi training-supplementary_2011.01
Tri aoi training-supplementary_2011.01
 
Moog-ServoDrives-MSD_Doc_CB40859_2020_11-en.pdf
Moog-ServoDrives-MSD_Doc_CB40859_2020_11-en.pdfMoog-ServoDrives-MSD_Doc_CB40859_2020_11-en.pdf
Moog-ServoDrives-MSD_Doc_CB40859_2020_11-en.pdf
 
Ripv2
Ripv2Ripv2
Ripv2
 
Ccna 1 chapter 11 v4.0 answers 2011
Ccna 1 chapter 11 v4.0 answers 2011Ccna 1 chapter 11 v4.0 answers 2011
Ccna 1 chapter 11 v4.0 answers 2011
 
bank soal mikrotik.docx
bank soal mikrotik.docxbank soal mikrotik.docx
bank soal mikrotik.docx
 
10112019 Quizzes - CMIT 451 6381 Implementing Cisco IP Routi.docx
10112019 Quizzes - CMIT 451 6381 Implementing Cisco IP Routi.docx10112019 Quizzes - CMIT 451 6381 Implementing Cisco IP Routi.docx
10112019 Quizzes - CMIT 451 6381 Implementing Cisco IP Routi.docx
 
Basic BGP Configuration
Basic BGP ConfigurationBasic BGP Configuration
Basic BGP Configuration
 
Skill final-resuelto
Skill final-resueltoSkill final-resuelto
Skill final-resuelto
 
Siemens gh cp443-1_76
Siemens gh cp443-1_76Siemens gh cp443-1_76
Siemens gh cp443-1_76
 
Ccna 3 Chapter 6 V4.0 Answers
Ccna 3 Chapter 6 V4.0 AnswersCcna 3 Chapter 6 V4.0 Answers
Ccna 3 Chapter 6 V4.0 Answers
 
Abap tips
Abap tipsAbap tips
Abap tips
 

Plus de tejindershami (20)

Ch26
Ch26Ch26
Ch26
 
Ch25
Ch25Ch25
Ch25
 
Ch24
Ch24Ch24
Ch24
 
Ch23
Ch23Ch23
Ch23
 
Ch22
Ch22Ch22
Ch22
 
Ch21
Ch21Ch21
Ch21
 
Ch20
Ch20Ch20
Ch20
 
Ch19
Ch19Ch19
Ch19
 
Ch17
Ch17Ch17
Ch17
 
Ch16
Ch16Ch16
Ch16
 
Ch14
Ch14Ch14
Ch14
 
Ch13
Ch13Ch13
Ch13
 
Ch12
Ch12Ch12
Ch12
 
Ch11
Ch11Ch11
Ch11
 
Ch10
Ch10Ch10
Ch10
 
Ch09
Ch09Ch09
Ch09
 
Ch08
Ch08Ch08
Ch08
 
Ch07
Ch07Ch07
Ch07
 
Ch05
Ch05Ch05
Ch05
 
Ch04
Ch04Ch04
Ch04
 

Dernier

WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 

Dernier (20)

WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 

Ch06

  • 1. Chapter 6 Delivery and Routing of IP Packets
  • 2.
  • 3. CONNECTION-ORIENTED VERSUS CONNECTIONLESS SERVICES 6.1
  • 4. In a connection-oriented situation, the network layer protocol first makes a connection. In a connectionless situation, the network layer protocol treats each packet independently, with each packet having no relationship to any other packet.
  • 5. DIRECT VERSUS INDIRECT DELIVERY 6.2
  • 6. Figure 6-1 Direct delivery
  • 7. Figure 6-2 Indirect delivery
  • 9. Figure 6-3 Next-hop routing
  • 10. Figure 6-4 Network-specific routing
  • 11. Figure 6-5 Host-specific routing
  • 12. Figure 6-6 Default routing
  • 13. STATIC VERSUS DYNAMIC ROUTING 6.4
  • 14. A static routing table contains information entered manually. A dynamic routing table is updated periodically using one of the dynamic routing protocols such as RIP, OSPF, or BGP.
  • 15. ROUTING TABLE AND ROUTING MODULE 6.5
  • 16. Figure 6-7 Routing module and routing table
  • 17. Figure 6-8 Routing Table Flags U The router is up and running. G The destination is in another network. H Host-specific address. D Added by redirection. M Modified by redirection.
  • 18. Figure 6-9 Configuration for routing example
  • 19. Mask Dest . Next Hop I. 255.0.0.0 111.0.0.0 -- m0 255.255.255.224 193.14.5.160 - m2 255.255.255.224 193.14.5.192 - m1 ------------------------------------------------------------------------------------- 255.255.255.255 194.17.21.16 111.20.18.14 m0 ------------------------------------------------------------------------------------- 255.255.255.0 192.16.7.0 111.15.17.32 m0 255.255.255.0 194.17.21.0 111.20.18.14 m0 ------------------------------------------------------------------------------------- 0.0.0.0 0.0.0.0 111.30.31.18 m0
  • 20. Example 1 Router R1 receives 500 packets for destination 192.16.7.14; the algorithm applies the masks row by row to the destination address until a match (with the value in the second column) is found:
  • 21. Solution Direct delivery 192.16.7.14 & 255.0.0.0  192.0.0.0 no match 192.16.7.14 & 255.255.255.224  192.16.7.0 no match 192.16.7.14 & 255.255.255.224  192.16.7. no match Host-specific 192.16.7.14 & 255.255.255.255  192.16.7.14 no match Network-specific 192.16.7.14 & 255.255.255.0  192.16.7.0 match
  • 22. Example 2 Router R1 receives 100 packets for destination 193.14.5.176; the algorithm applies the masks row by row to the destination address until a match is found:
  • 23. Solution Direct delivery 193.14.5.176 & 255.0.0.0  193.0.0.0 no match 193.14.5.176 & 255.255.255.224  193.14.5.160 match
  • 24. Example 3 Router R1 receives 20 packets for destination 200.34.12.34; the algorithm applies the masks row by row to the destination address until a match is found:
  • 25. Solution Direct delivery 200.34.12.34 & 255.0.0.0  200.0.0.0 no match 200.34.12.34 & 255.255.255.224  200.34.12.32 no match 200.34.12.34 & 255.255.255.224  200.34.12.32 no match Host-specific 200.34.12.34 & 255.255.255.255  200.34.12.34 no match
  • 26. Solution Network-specific 200.34.12.34 & 255.255.255.0  200.34.12.0 no match 200.34.12.34 & 255.255.255.0  200.34.12.0 no match Default 200.34.12.34 & 0.0.0.0  0.0.0.0. match
  • 27. Example 4 Make the routing table for router R1 in Figure 6.10
  • 29. Solution Mask Destination Next Hop I. 255.255.0.0 134.18.0.0 -- m0 255.255.0.0 129.8.0.0 222.13.16.40 m1 255.255.255.0 220.3.6.0 222.13.16.40 m1 0.0.0.0 0.0.0.0 134.18.5.2 m0
  • 30. Example 5 Make the routing table for router R1 in Figure 6.11
  • 32. Solution Mask Destination Next Hop I . 255.255.255.0 200.8.4.0 ---- m2 ----------------------------------------------------------------------------- 255.255.255.0 80.4.5.0 201.4.10.3 m1 or 200.8.4.12 or m2 ------------------------------------------------------------------------------ 255.255.255.0 80.4.6.0 201.4.10.3 m1 or 200.4.8.12 or m2 ------------------------------------------------------------------------------- 0.0.0.0 0.0.0.0 ???????????? m0
  • 33. Example 6 Mask Destination Next Hop I. 255.255.0.0 110.70.0.0 - m0 255.255.0.0 180.14.0.0 - m2 255.255.0.0 190.17.0.0 - m1 255.255.0.0 130.4.0.0 190.17.6.5 m1 255.255.0.0 140.6.0.0 180.14.2.5 m2 0.0.0.0 0.0.0.0 110.70.4.6 m0 The routing table for router R1 is given below. Draw its topology
  • 34. Example 6 (Solution) Figure 6-12
  • 36. Routing Table Size Hierarchical Routing Geographical Routing Routing Table Search Algorithms ISSUES
  • 37. In classful addressing, each address has self-contained information that facilitates routing table searching.
  • 38. In classless addressing, there is no self-contained information in the destination address to facilitate routing table searching.