SlideShare a Scribd company logo
Network Layer PART IV
Position of network layer
Network layer duties
Chapters Chapter 19   Host-to-Host Delivery Chapter 20   Network Layer Protocols Chapter 21   Unicast and Multicast Routing Protocols
Chapter 19 Host-to-Host Delivery: Internetworking,  Addressing,  and Routing
19.1  Internetworks Need For Network Layer Internet As A Packet-Switched Network Internet As A Connectionless Network
Figure 19.1   Internetwork
Figure 19.2   Links in an internetwork
Figure 19.3   Network layer in an internetwork
Figure 19.4   Network layer at the source
Figure 19.5   Network layer at a router
Figure 19.6   Network layer at the destination
Figure 19.7   Switching
Figure 19.8   Datagram approach
Switching at the network layer in the Internet is done using the datagram approach to packet switching. Note :
Communication at the network layer in the Internet is connectionless.  Note :
19.2  Addressing Internet Address Classful Addressing Supernetting Subnetting Classless Addressing Dynamic Address Configuration Network Address Translation
An IP address is a 32-bit address. Note :
The IP addresses are unique  and universal. Note :
Figure 19.9   Dotted-decimal notation
The binary, decimal, and hexadecimal number systems are reviewed in Appendix B. Note :
Example 1 Change the following IP addresses from binary notation to dotted-decimal notation. a. 10000001  00001011  00001011 11101111 b. 11111001  10011011  11111011 00001111 Solution We replace each group of 8 bits with its equivalent decimal number (see Appendix B) and add dots for separation: a. 129.11.11.239 b. 249.155.251.15
Example 2 Change the following IP addresses from dotted-decimal notation to binary notation. a. 111.56.45.78 b. 75.45.34.78 Solution We replace each decimal number with its binary equivalent (see Appendix B): a. 01101111  00111000  00101101  01001110 b. 01001011  00101101  00100010  01001110
In classful addressing, the address space is divided into five classes: A, B, C, D, and E. Note :
Figure 19.10   Finding the class in binary notation
Figure 19.11   Finding the address class
Example 3 Find the class of each address: a. 0 0000001  00001011  00001011 11101111 b. 1111 0011  10011011  11111011 00001111 Solution See the procedure in Figure 19.11.  a. The first bit is 0; this is a class A address. b. The first 4 bits are 1s; this is a class E address.
Figure 19.12   Finding the class in decimal notation
Example 4 Find the class of each address: a. 227 .12.14.87 b. 252 .5.15.111 c. 134 .11.78.56 Solution a. The first byte is 227 (between 224 and 239); the class is D. b. The first byte is 252 (between 240 and 255); the class is E. c. The first byte is 134 (between 128 and 191); the class is B.
Figure 19.13   Netid and hostid
Figure 19.14   Blocks in class A
Millions of class A addresses are wasted. Note :
Figure 19.15   Blocks in class B
Many class B addresses are wasted. Note :
The number of addresses in class C is smaller than the needs of most organizations. Note :
Figure 19.16   Blocks in class C
Figure 19.17   Network address
In classful addressing, the network address is the one that is assigned to the organization.  Note :
Example 5 Given the address 23.56.7.91, find the network address. Solution The class is A. Only the first byte defines the netid. We can find the network address by replacing the hostid bytes (56.7.91) with 0s. Therefore, the network address is 23.0.0.0.
Example 6 Given the address 132.6.17.85, find the network address. Solution The class is B. The first 2 bytes defines the netid. We can find the network address by replacing the hostid bytes (17.85) with 0s. Therefore, the network address is 132.6.0.0.
Example 7 Given the network address 17.0.0.0, find the class. Solution The class is A because the netid is only 1 byte.
A network address is different from a netid. A network address has both netid and hostid,  with 0s for the hostid. Note :
Figure 19.18   Sample internet
IP addresses are designed with two levels of hierarchy. Note :
Figure 19.19   A network with two levels of hierarchy
Figure 19.20   A network with three levels of hierarchy (subnetted)
Figure 19.21   Addresses in a network with and without subnetting
Figure 19.22   Hierarchy concept in a telephone number
Table 19.1  Default masks 11111111 111111111  11111111 00000000 11111111 11111111  00000000 00000000 11111111 00000000  00000000 00000000 In Binary /24 255.255.255.0 C /16 255.255.0.0 B /8 255.0.0.0 A Using Slash In Dotted-Decimal Class
The network address can be found by applying the default mask to any address in the block (including itself). It retains the netid of the block and sets the hostid to 0s. Note :
Example 8 A router outside the organization receives a packet with destination address 190.240.7.91. Show how it finds the network address to route the packet. Solution ,[object Object],[object Object],[object Object],[object Object]
Figure 19.23   Subnet mask
Example 9 A router inside the organization receives the same packet with destination address 190.240.33.91. Show how it finds the subnetwork address to route the packet. Solution ,[object Object],[object Object],[object Object],[object Object]
Figure 19.24   DHCP transition diagram
Table 19.2  Default masks 2 16 2 20 2 24 Total 192.168.0.0  to   192.168.255.255 172.16.0.0  to   172.31.255.255 10.0.0.0  to  10.255.255.255 Range
Figure 19.25   NAT
Figure 19.26   Address translation
Figure 19.27   Translation
Table 19.3  Five-column translation table ... 25.8.3.2 25.8.3.2 External Address ... 1401 1400 Private  Port ... ... ... TCP 80 172.18.3.2 TCP 80 172.18.3.1 Transport Protocol External  Port Private  Address
19.3  Routing Routing Techniques Static Versus Dynamic Routing Routing Table for Classful Addressing Routing Table for Classless Addressing
Figure 19.28   Next-hop routing
Figure 19.29   Network-specific routing
Figure 19.30   Host-specific routing
Figure 19.31   Default routing
Figure 19.32   Classful addressing routing table
Example 10 Using the table in Figure 19.32, the router receives a packet for destination 192.16.7.1. For each row, the mask is applied to the destination address until a match with the destination address is found. In this example, the router sends the packet through interface m0 (host specific).
Example 11 Using the table in Figure 19.32, the router receives a packet for destination 193.14.5.22. For each row, the mask is applied to the destination address until a match with the next-hop address is found. In this example, the router sends the packet through interface m2 (network specific).
Example 12 Using the table in Figure 19.32, the router receives a packet for destination 200.34.12.34. For each row, the mask is applied to the destination address, but no match is found. In this example, the router sends the packet through the default interface m0.

More Related Content

What's hot

Computer Networks - Error Detection & Error Correction
Computer Networks - Error Detection & Error CorrectionComputer Networks - Error Detection & Error Correction
Computer Networks - Error Detection & Error Correction
Saikrishna Tanguturu
 
Ipv4 presentation
Ipv4 presentationIpv4 presentation
Ipv4 presentation
shakeel khan
 
Ip addressing classful
Ip addressing classfulIp addressing classful
Ip addressing classful
Abhishek Kesharwani
 
Huffman Coding
Huffman CodingHuffman Coding
Huffman Coding
anithabalaprabhu
 
Wlan architecture
Wlan architectureWlan architecture
Wlan architecture
Vishal Verma
 
Application layer protocols
Application layer protocolsApplication layer protocols
Application layer protocols
JUW Jinnah University for Women
 
Unit 6 : Application Layer
Unit 6 : Application LayerUnit 6 : Application Layer
Unit 6 : Application Layer
Chandan Gupta Bhagat
 
Chapter 19: Logical Addressing
Chapter 19: Logical AddressingChapter 19: Logical Addressing
Chapter 19: Logical Addressing
Shafaan Khaliq Bhatti
 
IP addressing
IP addressingIP addressing
IP addressing
tameemyousaf
 
Spatial Filters (Digital Image Processing)
Spatial Filters (Digital Image Processing)Spatial Filters (Digital Image Processing)
Spatial Filters (Digital Image Processing)
Kalyan Acharjya
 
Transport Layer Numericals
Transport Layer NumericalsTransport Layer Numericals
Transport Layer Numericals
Manisha Keim
 
UDP - User Datagram Protocol
UDP - User Datagram ProtocolUDP - User Datagram Protocol
UDP - User Datagram Protocol
Peter R. Egli
 
Classless addressing
Classless addressingClassless addressing
Classless addressing
Iqra Abbas
 
Ch4 digital transmission
Ch4 digital transmissionCh4 digital transmission
Ch4 digital transmission
Muhammad Shahroz Shahroz
 
Computer Network - Network Layer
Computer Network - Network LayerComputer Network - Network Layer
Computer Network - Network Layer
Manoj Kumar
 
Subentting, Supernetting and VLSM presentation
Subentting, Supernetting and VLSM presentationSubentting, Supernetting and VLSM presentation
Subentting, Supernetting and VLSM presentation
Zakaria Hossain
 
Network Sockets
Network SocketsNetwork Sockets
Network Sockets
Peter R. Egli
 
Logical addressing
Logical  addressingLogical  addressing
Logical addressing
Avinash Gautam
 
Explaining ip address
Explaining ip addressExplaining ip address
Explaining ip address
MohsinHusenManasiya
 
Chap 12 tcp
Chap 12 tcpChap 12 tcp
Chap 12 tcp
Sparsh Samir
 

What's hot (20)

Computer Networks - Error Detection & Error Correction
Computer Networks - Error Detection & Error CorrectionComputer Networks - Error Detection & Error Correction
Computer Networks - Error Detection & Error Correction
 
Ipv4 presentation
Ipv4 presentationIpv4 presentation
Ipv4 presentation
 
Ip addressing classful
Ip addressing classfulIp addressing classful
Ip addressing classful
 
Huffman Coding
Huffman CodingHuffman Coding
Huffman Coding
 
Wlan architecture
Wlan architectureWlan architecture
Wlan architecture
 
Application layer protocols
Application layer protocolsApplication layer protocols
Application layer protocols
 
Unit 6 : Application Layer
Unit 6 : Application LayerUnit 6 : Application Layer
Unit 6 : Application Layer
 
Chapter 19: Logical Addressing
Chapter 19: Logical AddressingChapter 19: Logical Addressing
Chapter 19: Logical Addressing
 
IP addressing
IP addressingIP addressing
IP addressing
 
Spatial Filters (Digital Image Processing)
Spatial Filters (Digital Image Processing)Spatial Filters (Digital Image Processing)
Spatial Filters (Digital Image Processing)
 
Transport Layer Numericals
Transport Layer NumericalsTransport Layer Numericals
Transport Layer Numericals
 
UDP - User Datagram Protocol
UDP - User Datagram ProtocolUDP - User Datagram Protocol
UDP - User Datagram Protocol
 
Classless addressing
Classless addressingClassless addressing
Classless addressing
 
Ch4 digital transmission
Ch4 digital transmissionCh4 digital transmission
Ch4 digital transmission
 
Computer Network - Network Layer
Computer Network - Network LayerComputer Network - Network Layer
Computer Network - Network Layer
 
Subentting, Supernetting and VLSM presentation
Subentting, Supernetting and VLSM presentationSubentting, Supernetting and VLSM presentation
Subentting, Supernetting and VLSM presentation
 
Network Sockets
Network SocketsNetwork Sockets
Network Sockets
 
Logical addressing
Logical  addressingLogical  addressing
Logical addressing
 
Explaining ip address
Explaining ip addressExplaining ip address
Explaining ip address
 
Chap 12 tcp
Chap 12 tcpChap 12 tcp
Chap 12 tcp
 

Similar to Ch 19

class 10_internetworking.ppt
class 10_internetworking.pptclass 10_internetworking.ppt
class 10_internetworking.ppt
prashant554034
 
ch19 (1).ppt
ch19 (1).pptch19 (1).ppt
ch19 (1).ppt
ssuser7547cf
 
20CS2007 Computer Communication Networks
20CS2007 Computer Communication Networks 20CS2007 Computer Communication Networks
20CS2007 Computer Communication Networks
Kathirvel Ayyaswamy
 
Forouzan-ch19-Network-Layer-Logical-Addressing.ppt
Forouzan-ch19-Network-Layer-Logical-Addressing.pptForouzan-ch19-Network-Layer-Logical-Addressing.ppt
Forouzan-ch19-Network-Layer-Logical-Addressing.ppt
Jayaprasanna4
 
Ch19 network layer-logical add
Ch19 network layer-logical addCh19 network layer-logical add
Ch19 network layer-logical add
Mohammed Romi
 
Chapter 19
Chapter 19Chapter 19
Chapter 19
Faisal Mehmood
 
Ch19
Ch19Ch19
19 Network Layer_Logical_Addressing
19 Network Layer_Logical_Addressing19 Network Layer_Logical_Addressing
19 Network Layer_Logical_Addressing
Ahmar Hashmi
 
4a logical laddressing
4a logical laddressing4a logical laddressing
4a logical laddressing
kavish dani
 
ch19new.ppt
ch19new.pptch19new.ppt
ch19new.ppt
RITIKAKAPOOR54
 
Ch19
Ch19Ch19
Ch19
marwanwk
 
network Addressing
network Addressingnetwork Addressing
network Addressing
Tauseef khan
 
IP-address trial.ppt
IP-address trial.pptIP-address trial.ppt
IP-address trial.ppt
sol zem
 
CN Unit 3
CN Unit 3 CN Unit 3
CN Unit 3
Shrikant Kokate
 
CyberLab TCP/IP and IP Addressing & Subnetting
CyberLab TCP/IP and IP Addressing & SubnettingCyberLab TCP/IP and IP Addressing & Subnetting
CyberLab TCP/IP and IP Addressing & Subnetting
Vivek chan
 
Subnet Masking in Computer Network--CST 2nd year by Tanushree Bhadra
Subnet Masking in Computer Network--CST 2nd year by Tanushree BhadraSubnet Masking in Computer Network--CST 2nd year by Tanushree Bhadra
Subnet Masking in Computer Network--CST 2nd year by Tanushree Bhadra
Sovonesh Pal
 
ccn-modummmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmle 3.ppt
ccn-modummmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmle 3.pptccn-modummmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmle 3.ppt
ccn-modummmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmle 3.ppt
smanjunarayana
 
7-Lect_7 .pptxNetwork LayerNetwork Layer
7-Lect_7 .pptxNetwork LayerNetwork Layer7-Lect_7 .pptxNetwork LayerNetwork Layer
7-Lect_7 .pptxNetwork LayerNetwork Layer
ZahouAmel1
 
7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...
7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...
7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...
ZahouAmel1
 
Umutima.ppt
Umutima.pptUmutima.ppt
Umutima.ppt
kigaliac
 

Similar to Ch 19 (20)

class 10_internetworking.ppt
class 10_internetworking.pptclass 10_internetworking.ppt
class 10_internetworking.ppt
 
ch19 (1).ppt
ch19 (1).pptch19 (1).ppt
ch19 (1).ppt
 
20CS2007 Computer Communication Networks
20CS2007 Computer Communication Networks 20CS2007 Computer Communication Networks
20CS2007 Computer Communication Networks
 
Forouzan-ch19-Network-Layer-Logical-Addressing.ppt
Forouzan-ch19-Network-Layer-Logical-Addressing.pptForouzan-ch19-Network-Layer-Logical-Addressing.ppt
Forouzan-ch19-Network-Layer-Logical-Addressing.ppt
 
Ch19 network layer-logical add
Ch19 network layer-logical addCh19 network layer-logical add
Ch19 network layer-logical add
 
Chapter 19
Chapter 19Chapter 19
Chapter 19
 
Ch19
Ch19Ch19
Ch19
 
19 Network Layer_Logical_Addressing
19 Network Layer_Logical_Addressing19 Network Layer_Logical_Addressing
19 Network Layer_Logical_Addressing
 
4a logical laddressing
4a logical laddressing4a logical laddressing
4a logical laddressing
 
ch19new.ppt
ch19new.pptch19new.ppt
ch19new.ppt
 
Ch19
Ch19Ch19
Ch19
 
network Addressing
network Addressingnetwork Addressing
network Addressing
 
IP-address trial.ppt
IP-address trial.pptIP-address trial.ppt
IP-address trial.ppt
 
CN Unit 3
CN Unit 3 CN Unit 3
CN Unit 3
 
CyberLab TCP/IP and IP Addressing & Subnetting
CyberLab TCP/IP and IP Addressing & SubnettingCyberLab TCP/IP and IP Addressing & Subnetting
CyberLab TCP/IP and IP Addressing & Subnetting
 
Subnet Masking in Computer Network--CST 2nd year by Tanushree Bhadra
Subnet Masking in Computer Network--CST 2nd year by Tanushree BhadraSubnet Masking in Computer Network--CST 2nd year by Tanushree Bhadra
Subnet Masking in Computer Network--CST 2nd year by Tanushree Bhadra
 
ccn-modummmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmle 3.ppt
ccn-modummmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmle 3.pptccn-modummmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmle 3.ppt
ccn-modummmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmle 3.ppt
 
7-Lect_7 .pptxNetwork LayerNetwork Layer
7-Lect_7 .pptxNetwork LayerNetwork Layer7-Lect_7 .pptxNetwork LayerNetwork Layer
7-Lect_7 .pptxNetwork LayerNetwork Layer
 
7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...
7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...
7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...
 
Umutima.ppt
Umutima.pptUmutima.ppt
Umutima.ppt
 

More from soumya ranjan mohanty

Ch 30
Ch 30Ch 30
Ch 31
Ch 31Ch 31
Ch 29
Ch 29Ch 29
Ch 28
Ch 28Ch 28
Ch 26
Ch 26Ch 26
Ch 27
Ch 27Ch 27
Ch 25
Ch 25Ch 25
Ch 24
Ch 24Ch 24
Ch 23
Ch 23Ch 23
Ch 22
Ch 22Ch 22
Ch 21
Ch 21Ch 21
Ch 20
Ch 20Ch 20
Ch 17
Ch 17Ch 17
Ch 18
Ch 18Ch 18
Ch 16
Ch 16Ch 16
Ch 12
Ch 12Ch 12
Ch 14
Ch 14Ch 14
Ch 13
Ch 13Ch 13
Ch 15
Ch 15Ch 15
Ch 10
Ch 10Ch 10

More from soumya ranjan mohanty (20)

Ch 30
Ch 30Ch 30
Ch 30
 
Ch 31
Ch 31Ch 31
Ch 31
 
Ch 29
Ch 29Ch 29
Ch 29
 
Ch 28
Ch 28Ch 28
Ch 28
 
Ch 26
Ch 26Ch 26
Ch 26
 
Ch 27
Ch 27Ch 27
Ch 27
 
Ch 25
Ch 25Ch 25
Ch 25
 
Ch 24
Ch 24Ch 24
Ch 24
 
Ch 23
Ch 23Ch 23
Ch 23
 
Ch 22
Ch 22Ch 22
Ch 22
 
Ch 21
Ch 21Ch 21
Ch 21
 
Ch 20
Ch 20Ch 20
Ch 20
 
Ch 17
Ch 17Ch 17
Ch 17
 
Ch 18
Ch 18Ch 18
Ch 18
 
Ch 16
Ch 16Ch 16
Ch 16
 
Ch 12
Ch 12Ch 12
Ch 12
 
Ch 14
Ch 14Ch 14
Ch 14
 
Ch 13
Ch 13Ch 13
Ch 13
 
Ch 15
Ch 15Ch 15
Ch 15
 
Ch 10
Ch 10Ch 10
Ch 10
 

Recently uploaded

Zodiac Signs and Food Preferences_ What Your Sign Says About Your Taste
Zodiac Signs and Food Preferences_ What Your Sign Says About Your TasteZodiac Signs and Food Preferences_ What Your Sign Says About Your Taste
Zodiac Signs and Food Preferences_ What Your Sign Says About Your Taste
my Pandit
 
Unveiling the Dynamic Personalities, Key Dates, and Horoscope Insights: Gemin...
Unveiling the Dynamic Personalities, Key Dates, and Horoscope Insights: Gemin...Unveiling the Dynamic Personalities, Key Dates, and Horoscope Insights: Gemin...
Unveiling the Dynamic Personalities, Key Dates, and Horoscope Insights: Gemin...
my Pandit
 
Building Your Employer Brand with Social Media
Building Your Employer Brand with Social MediaBuilding Your Employer Brand with Social Media
Building Your Employer Brand with Social Media
LuanWise
 
Digital Marketing with a Focus on Sustainability
Digital Marketing with a Focus on SustainabilityDigital Marketing with a Focus on Sustainability
Digital Marketing with a Focus on Sustainability
sssourabhsharma
 
Brian Fitzsimmons on the Business Strategy and Content Flywheel of Barstool S...
Brian Fitzsimmons on the Business Strategy and Content Flywheel of Barstool S...Brian Fitzsimmons on the Business Strategy and Content Flywheel of Barstool S...
Brian Fitzsimmons on the Business Strategy and Content Flywheel of Barstool S...
Neil Horowitz
 
Industrial Tech SW: Category Renewal and Creation
Industrial Tech SW:  Category Renewal and CreationIndustrial Tech SW:  Category Renewal and Creation
Industrial Tech SW: Category Renewal and Creation
Christian Dahlen
 
Digital Transformation Frameworks: Driving Digital Excellence
Digital Transformation Frameworks: Driving Digital ExcellenceDigital Transformation Frameworks: Driving Digital Excellence
Digital Transformation Frameworks: Driving Digital Excellence
Operational Excellence Consulting
 
GKohler - Retail Scavenger Hunt Presentation
GKohler - Retail Scavenger Hunt PresentationGKohler - Retail Scavenger Hunt Presentation
GKohler - Retail Scavenger Hunt Presentation
GraceKohler1
 
Chapter 7 Final business management sciences .ppt
Chapter 7 Final business management sciences .pptChapter 7 Final business management sciences .ppt
Chapter 7 Final business management sciences .ppt
ssuser567e2d
 
Creative Web Design Company in Singapore
Creative Web Design Company in SingaporeCreative Web Design Company in Singapore
Creative Web Design Company in Singapore
techboxsqauremedia
 
Pitch Deck Teardown: Kinnect's $250k Angel deck
Pitch Deck Teardown: Kinnect's $250k Angel deckPitch Deck Teardown: Kinnect's $250k Angel deck
Pitch Deck Teardown: Kinnect's $250k Angel deck
HajeJanKamps
 
Top mailing list providers in the USA.pptx
Top mailing list providers in the USA.pptxTop mailing list providers in the USA.pptx
Top mailing list providers in the USA.pptx
JeremyPeirce1
 
Event Report - SAP Sapphire 2024 Orlando - lots of innovation and old challenges
Event Report - SAP Sapphire 2024 Orlando - lots of innovation and old challengesEvent Report - SAP Sapphire 2024 Orlando - lots of innovation and old challenges
Event Report - SAP Sapphire 2024 Orlando - lots of innovation and old challenges
Holger Mueller
 
The Heart of Leadership_ How Emotional Intelligence Drives Business Success B...
The Heart of Leadership_ How Emotional Intelligence Drives Business Success B...The Heart of Leadership_ How Emotional Intelligence Drives Business Success B...
The Heart of Leadership_ How Emotional Intelligence Drives Business Success B...
Stephen Cashman
 
How are Lilac French Bulldogs Beauty Charming the World and Capturing Hearts....
How are Lilac French Bulldogs Beauty Charming the World and Capturing Hearts....How are Lilac French Bulldogs Beauty Charming the World and Capturing Hearts....
How are Lilac French Bulldogs Beauty Charming the World and Capturing Hearts....
Lacey Max
 
The Genesis of BriansClub.cm Famous Dark WEb Platform
The Genesis of BriansClub.cm Famous Dark WEb PlatformThe Genesis of BriansClub.cm Famous Dark WEb Platform
The Genesis of BriansClub.cm Famous Dark WEb Platform
SabaaSudozai
 
Best practices for project execution and delivery
Best practices for project execution and deliveryBest practices for project execution and delivery
Best practices for project execution and delivery
CLIVE MINCHIN
 
Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...
Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...
Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...
my Pandit
 
一比一原版新西兰奥塔哥大学毕业证(otago毕业证)如何办理
一比一原版新西兰奥塔哥大学毕业证(otago毕业证)如何办理一比一原版新西兰奥塔哥大学毕业证(otago毕业证)如何办理
一比一原版新西兰奥塔哥大学毕业证(otago毕业证)如何办理
taqyea
 
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta Matka
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta MatkaDpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta Matka
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta Matka
➒➌➎➏➑➐➋➑➐➐Dpboss Matka Guessing Satta Matka Kalyan Chart Indian Matka
 

Recently uploaded (20)

Zodiac Signs and Food Preferences_ What Your Sign Says About Your Taste
Zodiac Signs and Food Preferences_ What Your Sign Says About Your TasteZodiac Signs and Food Preferences_ What Your Sign Says About Your Taste
Zodiac Signs and Food Preferences_ What Your Sign Says About Your Taste
 
Unveiling the Dynamic Personalities, Key Dates, and Horoscope Insights: Gemin...
Unveiling the Dynamic Personalities, Key Dates, and Horoscope Insights: Gemin...Unveiling the Dynamic Personalities, Key Dates, and Horoscope Insights: Gemin...
Unveiling the Dynamic Personalities, Key Dates, and Horoscope Insights: Gemin...
 
Building Your Employer Brand with Social Media
Building Your Employer Brand with Social MediaBuilding Your Employer Brand with Social Media
Building Your Employer Brand with Social Media
 
Digital Marketing with a Focus on Sustainability
Digital Marketing with a Focus on SustainabilityDigital Marketing with a Focus on Sustainability
Digital Marketing with a Focus on Sustainability
 
Brian Fitzsimmons on the Business Strategy and Content Flywheel of Barstool S...
Brian Fitzsimmons on the Business Strategy and Content Flywheel of Barstool S...Brian Fitzsimmons on the Business Strategy and Content Flywheel of Barstool S...
Brian Fitzsimmons on the Business Strategy and Content Flywheel of Barstool S...
 
Industrial Tech SW: Category Renewal and Creation
Industrial Tech SW:  Category Renewal and CreationIndustrial Tech SW:  Category Renewal and Creation
Industrial Tech SW: Category Renewal and Creation
 
Digital Transformation Frameworks: Driving Digital Excellence
Digital Transformation Frameworks: Driving Digital ExcellenceDigital Transformation Frameworks: Driving Digital Excellence
Digital Transformation Frameworks: Driving Digital Excellence
 
GKohler - Retail Scavenger Hunt Presentation
GKohler - Retail Scavenger Hunt PresentationGKohler - Retail Scavenger Hunt Presentation
GKohler - Retail Scavenger Hunt Presentation
 
Chapter 7 Final business management sciences .ppt
Chapter 7 Final business management sciences .pptChapter 7 Final business management sciences .ppt
Chapter 7 Final business management sciences .ppt
 
Creative Web Design Company in Singapore
Creative Web Design Company in SingaporeCreative Web Design Company in Singapore
Creative Web Design Company in Singapore
 
Pitch Deck Teardown: Kinnect's $250k Angel deck
Pitch Deck Teardown: Kinnect's $250k Angel deckPitch Deck Teardown: Kinnect's $250k Angel deck
Pitch Deck Teardown: Kinnect's $250k Angel deck
 
Top mailing list providers in the USA.pptx
Top mailing list providers in the USA.pptxTop mailing list providers in the USA.pptx
Top mailing list providers in the USA.pptx
 
Event Report - SAP Sapphire 2024 Orlando - lots of innovation and old challenges
Event Report - SAP Sapphire 2024 Orlando - lots of innovation and old challengesEvent Report - SAP Sapphire 2024 Orlando - lots of innovation and old challenges
Event Report - SAP Sapphire 2024 Orlando - lots of innovation and old challenges
 
The Heart of Leadership_ How Emotional Intelligence Drives Business Success B...
The Heart of Leadership_ How Emotional Intelligence Drives Business Success B...The Heart of Leadership_ How Emotional Intelligence Drives Business Success B...
The Heart of Leadership_ How Emotional Intelligence Drives Business Success B...
 
How are Lilac French Bulldogs Beauty Charming the World and Capturing Hearts....
How are Lilac French Bulldogs Beauty Charming the World and Capturing Hearts....How are Lilac French Bulldogs Beauty Charming the World and Capturing Hearts....
How are Lilac French Bulldogs Beauty Charming the World and Capturing Hearts....
 
The Genesis of BriansClub.cm Famous Dark WEb Platform
The Genesis of BriansClub.cm Famous Dark WEb PlatformThe Genesis of BriansClub.cm Famous Dark WEb Platform
The Genesis of BriansClub.cm Famous Dark WEb Platform
 
Best practices for project execution and delivery
Best practices for project execution and deliveryBest practices for project execution and delivery
Best practices for project execution and delivery
 
Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...
Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...
Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...
 
一比一原版新西兰奥塔哥大学毕业证(otago毕业证)如何办理
一比一原版新西兰奥塔哥大学毕业证(otago毕业证)如何办理一比一原版新西兰奥塔哥大学毕业证(otago毕业证)如何办理
一比一原版新西兰奥塔哥大学毕业证(otago毕业证)如何办理
 
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta Matka
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta MatkaDpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta Matka
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta Matka
 

Ch 19

  • 4. Chapters Chapter 19 Host-to-Host Delivery Chapter 20 Network Layer Protocols Chapter 21 Unicast and Multicast Routing Protocols
  • 5. Chapter 19 Host-to-Host Delivery: Internetworking, Addressing, and Routing
  • 6. 19.1 Internetworks Need For Network Layer Internet As A Packet-Switched Network Internet As A Connectionless Network
  • 7. Figure 19.1 Internetwork
  • 8. Figure 19.2 Links in an internetwork
  • 9. Figure 19.3 Network layer in an internetwork
  • 10. Figure 19.4 Network layer at the source
  • 11. Figure 19.5 Network layer at a router
  • 12. Figure 19.6 Network layer at the destination
  • 13. Figure 19.7 Switching
  • 14. Figure 19.8 Datagram approach
  • 15. Switching at the network layer in the Internet is done using the datagram approach to packet switching. Note :
  • 16. Communication at the network layer in the Internet is connectionless. Note :
  • 17. 19.2 Addressing Internet Address Classful Addressing Supernetting Subnetting Classless Addressing Dynamic Address Configuration Network Address Translation
  • 18. An IP address is a 32-bit address. Note :
  • 19. The IP addresses are unique and universal. Note :
  • 20. Figure 19.9 Dotted-decimal notation
  • 21. The binary, decimal, and hexadecimal number systems are reviewed in Appendix B. Note :
  • 22. Example 1 Change the following IP addresses from binary notation to dotted-decimal notation. a. 10000001 00001011 00001011 11101111 b. 11111001 10011011 11111011 00001111 Solution We replace each group of 8 bits with its equivalent decimal number (see Appendix B) and add dots for separation: a. 129.11.11.239 b. 249.155.251.15
  • 23. Example 2 Change the following IP addresses from dotted-decimal notation to binary notation. a. 111.56.45.78 b. 75.45.34.78 Solution We replace each decimal number with its binary equivalent (see Appendix B): a. 01101111 00111000 00101101 01001110 b. 01001011 00101101 00100010 01001110
  • 24. In classful addressing, the address space is divided into five classes: A, B, C, D, and E. Note :
  • 25. Figure 19.10 Finding the class in binary notation
  • 26. Figure 19.11 Finding the address class
  • 27. Example 3 Find the class of each address: a. 0 0000001 00001011 00001011 11101111 b. 1111 0011 10011011 11111011 00001111 Solution See the procedure in Figure 19.11. a. The first bit is 0; this is a class A address. b. The first 4 bits are 1s; this is a class E address.
  • 28. Figure 19.12 Finding the class in decimal notation
  • 29. Example 4 Find the class of each address: a. 227 .12.14.87 b. 252 .5.15.111 c. 134 .11.78.56 Solution a. The first byte is 227 (between 224 and 239); the class is D. b. The first byte is 252 (between 240 and 255); the class is E. c. The first byte is 134 (between 128 and 191); the class is B.
  • 30. Figure 19.13 Netid and hostid
  • 31. Figure 19.14 Blocks in class A
  • 32. Millions of class A addresses are wasted. Note :
  • 33. Figure 19.15 Blocks in class B
  • 34. Many class B addresses are wasted. Note :
  • 35. The number of addresses in class C is smaller than the needs of most organizations. Note :
  • 36. Figure 19.16 Blocks in class C
  • 37. Figure 19.17 Network address
  • 38. In classful addressing, the network address is the one that is assigned to the organization. Note :
  • 39. Example 5 Given the address 23.56.7.91, find the network address. Solution The class is A. Only the first byte defines the netid. We can find the network address by replacing the hostid bytes (56.7.91) with 0s. Therefore, the network address is 23.0.0.0.
  • 40. Example 6 Given the address 132.6.17.85, find the network address. Solution The class is B. The first 2 bytes defines the netid. We can find the network address by replacing the hostid bytes (17.85) with 0s. Therefore, the network address is 132.6.0.0.
  • 41. Example 7 Given the network address 17.0.0.0, find the class. Solution The class is A because the netid is only 1 byte.
  • 42. A network address is different from a netid. A network address has both netid and hostid, with 0s for the hostid. Note :
  • 43. Figure 19.18 Sample internet
  • 44. IP addresses are designed with two levels of hierarchy. Note :
  • 45. Figure 19.19 A network with two levels of hierarchy
  • 46. Figure 19.20 A network with three levels of hierarchy (subnetted)
  • 47. Figure 19.21 Addresses in a network with and without subnetting
  • 48. Figure 19.22 Hierarchy concept in a telephone number
  • 49. Table 19.1 Default masks 11111111 111111111 11111111 00000000 11111111 11111111 00000000 00000000 11111111 00000000 00000000 00000000 In Binary /24 255.255.255.0 C /16 255.255.0.0 B /8 255.0.0.0 A Using Slash In Dotted-Decimal Class
  • 50. The network address can be found by applying the default mask to any address in the block (including itself). It retains the netid of the block and sets the hostid to 0s. Note :
  • 51.
  • 52. Figure 19.23 Subnet mask
  • 53.
  • 54. Figure 19.24 DHCP transition diagram
  • 55. Table 19.2 Default masks 2 16 2 20 2 24 Total 192.168.0.0 to 192.168.255.255 172.16.0.0 to 172.31.255.255 10.0.0.0 to 10.255.255.255 Range
  • 57. Figure 19.26 Address translation
  • 58. Figure 19.27 Translation
  • 59. Table 19.3 Five-column translation table ... 25.8.3.2 25.8.3.2 External Address ... 1401 1400 Private Port ... ... ... TCP 80 172.18.3.2 TCP 80 172.18.3.1 Transport Protocol External Port Private Address
  • 60. 19.3 Routing Routing Techniques Static Versus Dynamic Routing Routing Table for Classful Addressing Routing Table for Classless Addressing
  • 61. Figure 19.28 Next-hop routing
  • 62. Figure 19.29 Network-specific routing
  • 63. Figure 19.30 Host-specific routing
  • 64. Figure 19.31 Default routing
  • 65. Figure 19.32 Classful addressing routing table
  • 66. Example 10 Using the table in Figure 19.32, the router receives a packet for destination 192.16.7.1. For each row, the mask is applied to the destination address until a match with the destination address is found. In this example, the router sends the packet through interface m0 (host specific).
  • 67. Example 11 Using the table in Figure 19.32, the router receives a packet for destination 193.14.5.22. For each row, the mask is applied to the destination address until a match with the next-hop address is found. In this example, the router sends the packet through interface m2 (network specific).
  • 68. Example 12 Using the table in Figure 19.32, the router receives a packet for destination 200.34.12.34. For each row, the mask is applied to the destination address, but no match is found. In this example, the router sends the packet through the default interface m0.