RARP Protocol or Reverse Address Resolution Protocol

What is RARP Protocol?

RARP is an abbreviation for Reverse Address Resolution Protocol. RARP is a TCP/IP protocol that is responsible for the translation of Physical Address (e.g. – Ethernet address) to be translated into an IP address.

Hosts like diskless workstations only have their hardware interface addresses or MAC address, but not their IP addresses. They must discover their IP addresses from an external source, usually via RARP protocol. RARP is defined in RFC 903.

Advertisements

RARP protocol is described in Internet Engineering Task Force (IETF) publication RFC 903 It has been considered obsolete with inventing to new methodologies like the Bootstrap Protocol (BOOTP) and the DHCP.

Both the new methods support a much greater feature set than RARP protocol.

RARP requires one or more server hosts to maintain a database of mappings of Link Layer addresses to their respective protocol addresses.

Media Access Control (MAC) addresses need to be individually configured on the servers by an administrator. 

RARP is limited to serving only IP addresses.

Below is the step by step procedure how RARP is responsible for the transaction of achieving the IP address from RARP server –RARP Protocol

  1. Source Device “Generates RARP Request Message” – The source device generates a RARP Request message. The Source puts its own data link-layer address as both the Sender Hardware Address and also the Target Hardware Address. It leaves both the Sender Protocol Address and the Target Protocol Address blank.
  2. Source Device “Broadcasts RARP Request Message” – The source broadcasts the ARP Request message on the local network.
  3. Local Devices “Process RARP Request Message” – The message is received by each device on the local network and processed. Devices that are not configured to act as RARP servers ignore the message.
  4. RARP Server Generates RARP Reply Message: Any device on the network that is a RARP server responds to the broadcast from the source device. It generates a RARP Reply and sets the Sender Hardware Address and Sender Protocol Address to its own hardware and IP address of course. It then sets the Target Hardware Address to the hardware address of the original source device. It looks up in a table the hardware address of the source, determines that device’s IP address assignment, and puts it into the Target Protocol Address field.
  5. RARP Server Sends RARP Reply Message: The RARP server sends the RARP Reply message unicast to the device looking to be configured.
  6. Source Device Processes RARP Reply Message: The source device processes the reply from the RARP server. It then configures itself using the IP address in the Target Protocol Address supplied by the RARP server.

Related Blog- RARP vs DHCP

To know more about ARP & RARP Protocol watch this video –

 

Share this:
Advertisements

Related Posts

About The Author

Add Comment

Social Media Auto Publish Powered By : XYZScripts.com
Select your currency
USD United States (US) dollar