Reverse Address Resolution Protocol (RARP)
Reverse Address Resolution Protocol (RARP) is a protocol that a computer or device can use to determine its own IP address. Learn how RARP works, how it relates to ARP, and why newer protocols replaced it.
What is Reverse Address Resolution Protocol (RARP)?
Reverse Address Resolution Protocol (RARP) is an early networking protocol that let a device learn its IP address when it started up. The device knew its hardware (MAC) address but not its IP address, so it asked the network for it. RARP was used mainly by diskless workstations and devices that had no local storage for configuration. It is now obsolete.
How does RARP work?
- At startup, the device broadcasts a RARP request on the local network, containing its own MAC address.
- A RARP server on the same network looks up that MAC address in a table configured by an administrator.
- The server replies with the matching IP address.
- The device configures itself with that address.
Because RARP requests are broadcasts at the data link layer, they do not cross routers, so a RARP server had to exist on every network segment. RARP also provided only an IP address, with no other settings.
RARP vs. ARP, BOOTP, and DHCP
ARP does the opposite job: it finds the MAC address for a known IP address. BOOTP and then DHCP replaced RARP because they work across routers using relay agents and provide far more configuration, such as subnet masks, gateways, and DNS servers, and DHCP can assign addresses dynamically.
Why does RARP matter?
RARP is mostly of historical interest, but it explains how address resolution works and why DHCP was designed the way it was. On modern networks, the same lesson applies to DHCP: services that hand out network configuration must be protected, because a rogue server could redirect devices to an attacker's gateway or DNS server.
Frequently asked questions
What is RARP?
RARP (Reverse Address Resolution Protocol) is a protocol that a computer or device can use to determine its own IP address from its MAC address.
What is the difference between ARP and RARP?
ARP finds a MAC address from a known IP address. RARP finds an IP address from a known MAC address.
Is RARP still used?
Rarely. DHCP replaced it because it works across routers and provides complete network configuration.
Keep host details and connections in one place
Centralize every type of remote connection your team uses in one platform.
Related terms
MAC address
A MAC address is a unique 48-bit (sometimes 64-bit) hexadecimal address identifying a hardware device by its network interface controller (NIC).
Read now →IP address
An Internet Protocol (IP) address is a unique number identifying a hardware device that connects to a network.
Read now →Protocol
A protocol is a formally standardized or widely accepted set of rules or procedures for formatting, exchanging, and transmitting data between devices.
Read now →