Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

What Is RARP? How It Differs From ARP and ICMP

See how RARP once supplied an IPv4 address at boot, how ARP and ICMP differ, and why modern networks use DHCP instead.

Table of Contents

Reverse Address Resolution Protocol (RARP) let a device that knew its hardware address request its own IPv4 address. It was used by some diskless computers during startup. ARP helps a device find a neighbor’s hardware address, while ICMP carries IP errors and diagnostic messages.

What is RARP and how is it different from ARP and ICMP? Picture 1
What is Reverse Address Resolution Protocol?

How RARP worked at startup

  1. A device broadcast a RARP request on the local network, using its hardware address to identify itself.
  2. A RARP server looked up that address in its configured mappings.
  3. If a match existed, the server replied with the IPv4 address. The device could then configure that address on the interface.

The request stayed on the local link. A router did not forward it as an ordinary IP packet, and the reply did not supply settings such as a gateway or DNS server. See RFC 903 for the original specification.

RARP vs. ARP vs. ICMP

What is RARP and how is it different from ARP and ICMP? Picture 2
How RARP differs from ARP and ICMP
ProtocolQuestion it answersTypical use
RARPWhat IPv4 address should I use for my hardware address?Starting a legacy workstation with no local configuration
ARPWhich hardware address should receive a frame for this local IPv4 address?Finding the Ethernet address of a neighbor or default gateway
ICMPCan the destination reply, or did an IP delivery problem occur?Echo request and reply for ping, or reporting an unreachable destination

What replaced RARP?

BOOTP could provide more startup information, including details about a boot server and file. Modern IPv4 networks typically use DHCP, which can lease addresses and provide settings such as the subnet mask, gateway, and DNS servers. IPv6 has separate mechanisms, including stateless address autoconfiguration and DHCPv6.

If a modern IPv4 device starts without a usable address, check the local link and whether it can reach a DHCP server. RARP is mainly relevant when documenting or troubleshooting a legacy boot environment.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.