SlideShare ist ein Scribd-Unternehmen logo
1 von 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.

Weitere ähnliche Inhalte

Andere mochten auch

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
 

Andere mochten auch (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
 

Ähnlich wie 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
 
001 network toi_basics_v1
001 network toi_basics_v1001 network toi_basics_v1
001 network toi_basics_v1Hisao Tsujimura
 
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
 
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
 
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
 
BSE BOLTPLUS_CONFIGURATION_PARAMETERS.pdf
BSE BOLTPLUS_CONFIGURATION_PARAMETERS.pdfBSE BOLTPLUS_CONFIGURATION_PARAMETERS.pdf
BSE BOLTPLUS_CONFIGURATION_PARAMETERS.pdfbansalrajat1
 
BSE BOLTPLUS_CONFIGURATION_PARAMETERS.pdf
BSE BOLTPLUS_CONFIGURATION_PARAMETERS.pdfBSE BOLTPLUS_CONFIGURATION_PARAMETERS.pdf
BSE BOLTPLUS_CONFIGURATION_PARAMETERS.pdfbansalrajat1
 
PENYELESAIAN SOAL UKK/UPK TAHUN 2018 Paket 2 oleh Walid Umar
PENYELESAIAN SOAL UKK/UPK TAHUN 2018 Paket 2 oleh Walid UmarPENYELESAIAN SOAL UKK/UPK TAHUN 2018 Paket 2 oleh Walid Umar
PENYELESAIAN SOAL UKK/UPK TAHUN 2018 Paket 2 oleh Walid UmarWalid Umar
 
Serialpicker the high speed-robot with linear motors
Serialpicker the high speed-robot with linear motorsSerialpicker the high speed-robot with linear motors
Serialpicker the high speed-robot with linear motorsOmas
 
Ccna 2 chapter 7 v4.0 answers 2011
Ccna 2 chapter 7 v4.0 answers 2011Ccna 2 chapter 7 v4.0 answers 2011
Ccna 2 chapter 7 v4.0 answers 2011Dân Chơi
 
Cisco sfp glc module datasheet
Cisco sfp glc module datasheetCisco sfp glc module datasheet
Cisco sfp glc module datasheetAmy Huang
 
Ccna 4 chapter 3 v4.0 answers 2011
Ccna 4 chapter 3 v4.0 answers 2011Ccna 4 chapter 3 v4.0 answers 2011
Ccna 4 chapter 3 v4.0 answers 2011Dân Chơi
 

Ähnlich wie Ch06 (20)

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
 
001 network toi_basics_v1
001 network toi_basics_v1001 network toi_basics_v1
001 network toi_basics_v1
 
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
 
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
 
Skill final-resuelto
Skill final-resueltoSkill final-resuelto
Skill final-resuelto
 
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
 
BSE BOLTPLUS_CONFIGURATION_PARAMETERS.pdf
BSE BOLTPLUS_CONFIGURATION_PARAMETERS.pdfBSE BOLTPLUS_CONFIGURATION_PARAMETERS.pdf
BSE BOLTPLUS_CONFIGURATION_PARAMETERS.pdf
 
BSE BOLTPLUS_CONFIGURATION_PARAMETERS.pdf
BSE BOLTPLUS_CONFIGURATION_PARAMETERS.pdfBSE BOLTPLUS_CONFIGURATION_PARAMETERS.pdf
BSE BOLTPLUS_CONFIGURATION_PARAMETERS.pdf
 
PENYELESAIAN SOAL UKK/UPK TAHUN 2018 Paket 2 oleh Walid Umar
PENYELESAIAN SOAL UKK/UPK TAHUN 2018 Paket 2 oleh Walid UmarPENYELESAIAN SOAL UKK/UPK TAHUN 2018 Paket 2 oleh Walid Umar
PENYELESAIAN SOAL UKK/UPK TAHUN 2018 Paket 2 oleh Walid Umar
 
Serialpicker the high speed-robot with linear motors
Serialpicker the high speed-robot with linear motorsSerialpicker the high speed-robot with linear motors
Serialpicker the high speed-robot with linear motors
 
Ccna 2 chapter 7 v4.0 answers 2011
Ccna 2 chapter 7 v4.0 answers 2011Ccna 2 chapter 7 v4.0 answers 2011
Ccna 2 chapter 7 v4.0 answers 2011
 
Cisco sfp glc module datasheet
Cisco sfp glc module datasheetCisco sfp glc module datasheet
Cisco sfp glc module datasheet
 
Ccna 4 chapter 3 v4.0 answers 2011
Ccna 4 chapter 3 v4.0 answers 2011Ccna 4 chapter 3 v4.0 answers 2011
Ccna 4 chapter 3 v4.0 answers 2011
 

Mehr von 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
 

Kürzlich hochgeladen

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
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
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
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
 
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
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
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
 
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
 
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
 
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
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 

Kürzlich hochgeladen (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
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
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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
 
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
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
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
 
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
 
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)
 
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
 
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?
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 

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.