Unit:2 ARP (Operation, Format, Proxy Arp) : Presented by Baljit Chaudhary
Unit:2 ARP (Operation, Format, Proxy Arp) : Presented by Baljit Chaudhary
ARP (operation,format,proxy
ARP)
Presented by
Baljit Chaudhary
Address Resolution Protocol (ARP)
Each machine connected to the network has a hardware
component called the NIC - Network Interface Controller
Each NIC is uniquely identified by a number called its Physical
Address or MAC Address
The MAC Address can be of two types:
◦ Fixed
◦ Configurable
IP Address has to be mapped to the MAC Address for actual
delivery of frames; This is called Address Resolution.
ARP
Delivery of a packet to a host or a router
requires two levels of addressing
Logical
Physical
This can be done using static or dynamic
mapping
Static mapping
ARP RARP
Physical Logical
Address Address
ARP
ARP and RARP use unicast and broadcast physical address
ARP associates an IP address with its physical address
When a host or a router needs to find the physical address of
another host or a router. It sends an ARP query packet
Packet includes the physical address and IP address of the
sender and IP address of the receiver
Query is broadcast over the network
Every host or router on the network receive and process the
ARP query packet, but only the intended recipient recognizes its
IP address and sends back an ARP response packet.
Response packet contains the recipient’s IP and physical address
Packet is unicast directly to the inquirer using the physical
address received in query packet
ARP (continued)
Resolution through Direct Mapping is trivial if MAC
address is configured to be the host part of the IP
address.
Resolution through Dynamic Binding:
◦ Dynamic Binding is required because NIC may be changed.
Otherwise tables of IP-MAC address mappings on all hosts
will have to updated.
◦ TCP/IP uses ARP which consists of the following steps:
Broadcast IP Address of the destination;
Broadcast nature of the LAN is assumed
Destination replies with its MAC address
Source maintains a cache of IP-to-MAC Address bindings
ARP request is broadcast
System c System d
ARP reply is unicast
System c System d
ARP Packet format
Hardware type Protocol type
Hardware length Protocol length Operation Request1,Reply2
Sender hardware address(for example,6 bytes for IP)
request Proxy
System A
ARP
router
System c System d