Network Layer Protocols: Chapter - 4

Download as pdf or txt
Download as pdf or txt
You are on page 1of 156

CHAPTER - 4

Network Layer
Protocols

Neso Academy
Outcomes





Different Addresses for communication


Different Addresses for communication




Different Addresses for communication




The TCP/IP protocol suite
ARP process is easy
Address Resolution Protocol
Address Resolution Protocol
Homework
Outcomes


Address Resolution Protocol





Working of Address Resolution Protocol
Homework
Question
Address Resolution Protocol
Question


Outcomes



Address Resolution Protocol
Address Resolution Protocol
Address Resolution Protocol
Address Resolution Protocol
Address Resolution Protocol
Address Resolution Protocol
Address Resolution Protocol
Outcomes




ARP and RARP



ARP and RARP


Question


Outcomes


You are a Network administrator!
DHCP






DHCP




DHCP
DHCP
Outcomes





Methods of IP address allocation
DHCP client and server in same network
DHCP client and server in different network
DHCP client and server in different network
DHCP client and server in different network
DHCP client and server in different network
DHCP Packet Format
DHCP Packet Format
DHCP Packet Format
Outcomes



DHCP Operation in a nutshell


DHCP Operation in a nutshell


DHCP Operation in a nutshell


DHCP Operation in a nutshell



Outcomes




ICMPv4







ICMPv4




ICMP Redirect
ICMPv4 Packet Format
← 8 bits → ← 8 bits → ← 8 bits → ← 8 bits →

Type Code Checksum

Rest of the Header

Data Section
ICMPv4 Packet Format
Outcomes


Question

8 0 0
1 9

TEST
Solution
← 8 bits → ← 8 bits → ← 8 bits → ← 8 bits →

Type Code Checksum

Rest of the Header

Data Section
Solution
8 0 0
1 9

TEST

Type Code Checksum


Rest of the Header

Data Section
Solution
8 0 0
1 9

TE ST

Type Code Checksum


Rest of the Header

Data Section
Solution
Solution

8 0 0101000001011100
1 9

TEST
Outcomes




Need for network layer



Internet Protocol (IP)
Internet Protocol (IP)







IPv4 Header Format
IPv4 Header Format

DATA (Variable Size)


Outcomes


IPv4 Datagram Format
IPv4 Datagram Format

Version - 4 Bits
IPv4 Datagram Format

HLEN - 4 Bits


IPv4 Datagram Format

Service - 8 Bits


IPv4 Datagram Format

Total Length - 16 Bits




IPv4 Datagram Format

Identification - 16 Bits
IPv4 Datagram Format

Flags (3 Bits) / Fragmentation Offset (13 Bits)




IPv4 Datagram Format

Time To Live (TTL) - 8 bits




IPv4 Datagram Format

Protocol - 8 bits


IPv4 Datagram Format

Header Checksum - 16 bits


IPv4 Datagram Format

Source and Destination IP Address - 32 bits


IPv4 Datagram Format

Options, Data and Padding


Question
Solution
Solution
Question
Solution
Question
Solution
Hexadecimal to Decimal conversion
Solution
Outcomes


IPv4 Datagram Format

Time To Live (TTL) - 8 bits




Time-To-Live (TTL)






Time-To-Live (TTL)



IPv4 Datagram Format
Question
Solution
Solution
Solution
Solution
Solution
Solution
Solution
Solution
Solution
Solution
Outcomes



Fragmentation
Fragmentation


Fragmentation


Fragmentation


Maximum Transfer Unit (MTU)
Maximum Transfer Unit (MTU)
Fragmentation


Fragmentation






Outcomes


Analogy!

12 L

5L
14 L
Fields related to Fragmentation & Reassembly




Outcomes



Fields related to Fragmentation & Reassembly




1. Identification



1. Identification


2. Flags






3. Fragmentation Offset


Fragmentation Process
Fragmentation Process
IPv4 Datagram Format
Question
Question
Solution
Solution
Solution
Solution
Solution
Question
Solution
Solution
Solution

4 8
Solution
Solution

4 8
Question


Question
Fragmentation Process
Solution


Question


Question
Fragmentation Process
Question


Question


Homework
Outcomes




IGMP




Architecture



Messages


Neso Academy

You might also like