![]() |
VOOZH | about |
Reverse Address Resolution Protocol (RARP) is a network protocol that allows a device to discover its IP address when only its MAC (Media Access Control) address is known. It was designed for systems such as diskless workstations, which do not have permanent storage to save their IP addresses. These devices boot from ROM and must request their IP address dynamically from a RARP server on the local network.
Note: RARP was standardized in RFC 903 (1984) but is now considered obsolete, replaced by more flexible protocols like BOOTP and DHCP.
Reverse ARP (RARP) is a network protocol used by a client machine in a local area network (LAN) to obtain its Internet Protocol (IP) address from the gateway router's ARP (Address Resolution Protocol) table. When a machine doesn't have the memory to store its IP address, such as diskless machines or newly configured systems, it uses RARP to request an IP address.
Packet Format: The format of the RARP packet is identical to the ARP packet format. The key difference lies in the Operation field.
Encapsulation: RARP packets are encapsulated directly into data-link layer frames (e.g., Ethernet frames) so they can be transmitted over the LAN.
| RARP | ARP |
|---|---|
| A protocol used to map a physical (MAC) address to an IP address | A protocol used to map an IP address to a physical (MAC) address |
| To obtain the IP address of a network device when only its MAC address is known | To obtain the MAC address of a network device when only its IP address is known |
| Client broadcasts its MAC address and requests an IP address and the server responds with the corresponding IP address | Client broadcasts its IP address and requests a MAC address and the server responds with the corresponding MAC address |
| Rarely used in modern networks as most devices have a pre-assigned IP address | Widely used in modern networks to resolve IP addresses to MAC addresses |
| RFC 903 Standardization | RFC 826 Standardization |
| It uses the value 3 for requests and 4 for responses | It uses the value 1 for requests and 2 for responses |
Yes. RARP is obsolete and rarely used in modern networks because of its limitations. It has been replaced by: