Docsity

ARP: Connecting IP and MAC Addresses, Summaries of Computer Networks

Toggle sidebar
bg1
ARP (Address Resolution Protocol )
Address resolution protocol is a communication protocol
used to find the MAC address of device from it is ip address.
This protocol is used when a device wants to communicate
with another device on a local area network. We need both
physical address and logical address for packet delivery
logical
logical
physical physical
ARP Packet :-
0 16 32
Hardware Type
Protocol Type
Hardware
length
Protocol
length
Operation Request:1 ,
Reply:2
Sender hardware address
Sender protocol address
Target hardware address
Target protocol address
Hardware Type:-
ARP
RARP
pf3

Partial preview of the text

Download ARP: Connecting IP and MAC Addresses and more Summaries Computer Networks in PDF only on Docsity!

ARP (Address Resolution Protocol )

Address resolution protocol is a communication protocol used to find the MAC address of device from it is ip address. This protocol is used when a device wants to communicate with another device on a local area network. We need both physical address and logical address for packet delivery logical logical physical physical ARP Packet :- 0 16 32 Hardware Type (^) Protocol Type Hardware length Protocol length Operation Request:1 , Reply: Sender hardware address Sender protocol address Target hardware address Target protocol address Hardware Type:-

ARP RARP

The size of the hardware type field is 16 bits the field defines the network type that the local network needs to transmit the ARP message Protocol Type:- The Protocol type is a 16-bit field used to specify the type of protocol like IP, IPV4 and IPV Hardware Length:- The size of the hardware length field is 8-bit field. This field specifies the length of the physical address Protocol Length:- The size of the protocol length field is 8-bit long it defines the length of IP address Operation:- It is a 16-bit field that determines the type of ARP packet. There are two types of arp packets, arp request and arp reply Sender hardware address:- This field specifies the physical address of the sender and the length of the field Sender Protocol address:- This field is used to determine the logical address of the sender Target hardware address:- It is used in a RARP request, and the response affects both the hardware and layer 3 addresses of the destination.