Professional Documents
Culture Documents
Address Resolution Protocol
Address Resolution Protocol
The truth is that arp doesn’t fits in OSI model exactly but if you want to fit it layers of OSI then it
would be layer 2.5 (In Between Data Link layer and Network Layer).
Communication on the layer-2 or Data Link layer is always based on MAC Address not IP Address.
Let say we have 2 PC’s connected with the switch and they want to communicate.
So, if PC-1 have mac address of PC-2 in arp table then PC-1 able to communicate with PC-2 otherwise
PC-1 can’t be communicate with the PC-2.
So, ARP is protocol that maps ac address with the IP address.
Initially there is not entry in ARP table because there is no communication before.
You can see arp table in windows operating system by giving command “arp -a”
ARP Request:
ARP Reply:
PC-1:
OK PC-2, I will store your mac address in my arp table after that I will not ask mac
address from you till your entry is stable in my arp table.
Same as above for PC-2 arp table.
Header of ARP