|Email This Page
ARP: Address Resolution Protocol and InARP: Inverse ARP
Address Resolution Protocol (ARP) performs mapping of an IP address to a physical machine address (MAC address for Ethernet) that is recognized in the local network. For example, in IP Version 4, an address is 32 bits long. In an Ethernet local area network, however, addresses for attached devices are 48 bits long. A table, usually called the ARP cache, is used to maintain a correlation between each MAC address and its corresponding IP address. ARP provides the rules for making this correlation and providing address conversion in both directions.
Since protocol details differ for each type of local area network, there are separate ARP specifications for Ethernet , Frame Relay , ATM , Fiber Distributed-Data Interface, HIPPI, and other protocols.
Inverse Address Resolution Protocol (InARP) is an addition to ARP to address ARP in Frame Relay environment.
There is a Reverse ARP (RARP ) for host machines that don't know their IP address. RARP enables them to request their IP address from the gateway's ARP cache.Details of RARP is presented in a separate document.
Protocol Structure - ARP and InARP
ARP and InARP has the same structure:
|Sender Hardware Address
|Sender Protocol Address
|Target Hardware Address
|Target Protocol Address |
Hardware type - Specifies a hardware interface type for which the sender requires a response.
- Protocol type - Specifies the type of high-level protocol address the sender has supplied.
- Hlen - Hardware address length.
- Plen - Protocol address length.
- Operation - The values are as follows:
Sender hardware address -HLen bytes in length.
Sender protocol address - PLen bytes in length.
Target hardware address - HLen bytes in length.
Target protocol address - PLen bytes in length
- ARP request.
- ARP response.
- RARP request.
- RARP response.
- Dynamic RARP request.
- Dynamic RARP reply.
- Dynamic RARP error.
- InARP request.
- InARP reply.
RARP Sponsor Source<
ARP and InARP are defined by IETF (http://www.ietf.org ) RFC826, 2390 and 2625.Reference
http://www.javvin.com/protocol/rfc826.pdf : An Ethernet Address Resolution Protocol
http://www.javvin.com/protocol/rfc2390.pdf : Inverse Address Resolution Protocol (Frame Relay)
http://www.javvin.com/protocol/rfc2625.pdf : IP and ARP over Fibre Channel