RARP and the Computer That Didn’t Know Its IP Address
Reverse Address Resolution Protocol, or RARP, lets a computer ask a local server for its own network address using the address of its hardware. The server, a computer set up to answer these requests, looks up the missing address in a stored list and sends it back.
The protocol is a set of communication rules described in 1984. It addressed a startup problem for computers without local disks: a machine could know its hardware address but lack its IP address, the address it needed to send and receive data using the Internet Protocol.
How Your Computer Finds Its Neighbors
Two addresses, two jobs
A network interface is the hardware connection a computer uses to communicate. Ethernet is one technology for connecting devices on a local network. An Ethernet interface has a hardware address called a MAC address, short for media access control address. This address is used for communication on the local network link.
An IP address identifies a destination for Internet Protocol communication, which can travel beyond the local link. The two address types do different work, and the hardware address doesn't tell a computer which IP address it should use.
A diskless computer has no local disk from which to load its normal files and settings. The RARP specification describes the case where such a computer knows its hardware address during startup but lacks its protocol address. It needs help before it can continue with ordinary IP-based work.
The solution takes advantage of something it can already do: send a message over the local network hardware.
Asking a server that knows the answer
A RARP request is sent as a broadcast, a message available to other devices on that local network link. The request includes the hardware address whose protocol address is wanted. For the startup case, that is the requesting computer's own address.
A RARP server receives the request and checks a stored list of hardware addresses and their corresponding protocol addresses. If it has the requested information, it can send a reply containing the address.
For a simple illustration, suppose a server's records pair a workstation's hardware address with a particular IP address. The workstation broadcasts its request. The server finds that entry and sends back the recorded IP address, allowing the workstation to learn which address belongs to it.
The server's stored mapping is doing the work. The workstation doesn't discover the answer by examining its own hardware address, and an arbitrary device doesn't have to answer a request about itself.
The original RARP specification, RFC 903, describes this exchange. It also leaves room for silence: a requester can wait without receiving a reply. That timeout isn't a defined error message explaining what went wrong.
- Get five gigabit ports and a fast ARM processor for the price of a basic home router.
- Practice real routing at your desk on gear that network pros also deploy.
- Tuck it beside your modem: it takes up almost no room.
What makes it “reverse”?
Address Resolution Protocol, or ARP, addresses the complementary problem. A computer knows an IP address and needs the hardware address to which it should send data on a local link.
The directions are easier to see side by side:
| Protocol | The known address | The address being sought |
|---|---|---|
| ARP | IP address | Local hardware address |
| RARP | Hardware address | Protocol address, such as an IP address |
An IP address was only the beginning
Learning its address did not give a diskless computer every detail it might need to start. It could also need to know which server to contact and which boot file to load.
BOOTP, the Bootstrap Protocol described in 1985, supplied those additional pieces: a client IP address, a server address and a boot-file name. Its specification compares it with RARP and explains the broader startup information it carries. Naming a boot file still leaves transferring that file as a separate job.
DHCP, the Dynamic Host Configuration Protocol, built on BOOTP. The IPv4 version, for the fourth version of the Internet Protocol, adds ways to assign reusable IP addresses and provide further configuration information. It isn't RARP under a new name; it solves a larger configuration problem.
ARP Explained: Finding the Right Neighbor on Your Network

MAC Addresses: Getting Data to the Next Device

IP Addresses: Why Your Device Can Have More Than One

QUOTE:
"Amateurs hack systems, professionals hack people."
