What is RARP

Share
What is RARP

Apr 22, 2026

On this article we want to deep diving into RARP.
RARP is stands for Reverse Address Resolution protocol
it's uses to map a hardware-address(MAC address) to an IP address. The opposite of ARP

dive into What is RARP ? why RARP is used ?

Todays RARP is deprecated and Networks use BOOTP/DHCP

What is inside RARP:

  1. Hardware Type (Htype 2 Byte)
  2. Protocol Type (Ptype 2 Byte)
  3. Hardware address lenght (HLen 1 Byte)
  4. Protocol address lenght (Plen 1 Byte)
  5. opcode (2 Byte (03 is for RARP request and 04 is for RARP reply))
  6. Source Hardware address (SHA 6 Byte for ethernet MAC)
  7. Source Protocol address (SPA 4 Byte for IPV4)
  8. Target Hardware address (THA 6 Byte for ethernet MAC)
  9. Target Protocol address (TPA 4 Byte for IPV4)
  • 28 Byte for RARP in Ethernet and IPV4

How RARP works:

  • Device boots with only its MAC address.
  • Broadcasts a RARP request asking “What is my IP?”
  • RARP server looks up the MAC in its table.
  • Server replies with RARP reply containing IP.

rarp

When RARP is used:

RARP is used for Diskless workstations or devices that boot the os from Network
and when this devices boot ask those IP addresses

Why RARP is deprecated:

because this protocol only used for ask IP address without route, gateway, subnetmask or lease time
and only in ip layer and its unroutable
so after 1990 networks use BOOTP/DHCP

ARP (1979) → RARP (1984) → BOOTP (1988) → DHCP (1993→Now)

See also:

Reverse Address Resolution Protocol - Wikipedia
Address Resolution Protocol - Wikipedia

Read more

What is Political Graffiti

What is Political Graffiti

ایده کلی دیوار نویسی اعتراضی چیه و از کجا میاد؟ ایده کلی دیوار نویسی اعتراضی خیلی قدیمیه، حتی قدیمی‌تر از روزنامه یا کتاب‌های چاپی. فلسفه دیوار نویسی اعتراضی برای این استفاده میشه که اگر رسانه و قدرت و فضای عمومی در اختیار من نیست، از دیوارهای شهر به

By Mateo