the network layer in the internet.ppt
DESCRIPTION
networkTRANSCRIPT
04/08/23 1
The Network Layer in the Internet
04/08/23 2
Internet Protocol [IP]
Is a host-to host network layer delivery protocol.
It is unreliable & Connectionless Datagram Protocol.
It is a best effort delivery service.
04/08/23 3
IP HEADER
32 bits
04/08/23 4
Type of Service
D- Delay T- Throughput R- Relay
04/08/23 5
Control Flags
Bit 0: reserved, must be zero
Bit 1: (DF) 0 = May Fragment, 1 = Don't Fragment.
Bit 2: (MF) 0 = Last Fragment, 1 = More Fragments.
04/08/23 6
Protocol
Defines the higher level protocols that uses the services of IP layer.
Header
ICMP IGMP OSPF
TCP UDP
Network Layer
Transport Layer
Value Protocol
1 ICMP
2 IGMP
6 TCP
17 UDP
89 OSPF
04/08/23 7
Options
Option Description
Security Specifies how secret the datagram
Strict source routing Gives the complete path to be followed
Loose source routing Gives a list of routers not be missed.
Record route Makes each router append its IP address
Timestamp Makes each router append its IP address and Timestamp
04/08/23 8
IP Address
Common Notation to show a n IP address 1. Binary Notation. [BN] 2. Dotted Decimal Notation. [DDN]
Eg:
10000000 00001011 00000011 00011111
128.11.3.31
BN
DDN
04/08/23 9
1.0.0.0 to 127.255.255.255
224.0.0.0 to 239.255.255.255
HostNetwork0
HostNetwork10
HostNetwork110
Multicast Address1110
Reserved for future use11110
Class
A
B
C
D
E
128.0.0.0 to 191.255.255.255
192.0.0.0 to 223.255.255.255
240.0.0.0 to 247.255.255.255
32 bits
Classful Addressing
04/08/23 10
Subnet & Subnet Mask
04/08/23 11
Internet Control Protocols
ICMP – Internet Control Message Protocol ARP -- Address Resolution Protocol RARP - Reverse Address Resolution
Protocol BOOTP- BOOTstrap Protocol
04/08/23 12
ICMPInternet Control Message
ProtocolIP has two deficiencies
1. Lack of Error Control
2. Lack of Assistance Mechanisms
To overcome these deficiencies ICMP was designed.
04/08/23 13
ICMP – Types of Messages
ICMP messages can be divided into two broad categories:
1. Error Reporting Messages
2. Query Messages
04/08/23 14
Error Reporting
Destination Unreachable
Source Quench
Time Exceeded
Parameter Problems
Redirection
Error Reporting Messages
04/08/23 15
Query Messages
Query
Echo request & reply
Time stamp request & reply
Address Mask request & reply
Router solicitation & advertisement
04/08/23 16
The Address Resolution Protocol
1 2 3 4
E1 E2 E3 E4 E5 E6 Ethernet Addresses
EE Ethernet
192.31.63.0
Campus FDDI ring
192.31.60.0CS Ethernet
192.31.65.0
192.31.65.7 192.31.65.5 192.31.63.8
To WAN
F1
F2
F3
Router has 2 IP addresses
192.31.60.4
192.31.65.1
Router has 2 IP addresses
192.31.60.7
192.31.63.3
04/08/23 17
Reverse Address resolution protocol
04/08/23 18
BOOTP Protocol
04/08/23 19
Self Study
The Interior Gateway Routing Protocol
[OSPF] The Exterior Gateway Routing Protocol
[BGP] Internet Multicasting Mobile IP Classless InterDomain Routing [ CDIR]