The Reverse Address Resolution Protocol (RARP) is a networking protocol that is used to map a physical (MAC) address to an Internet Protocol (IP) address. It is the reverse of the more commonly used Address Resolution Protocol (ARP), which maps an IP address to a MAC address. In this article, we will discuss every point about RARP.
What is Reverse Address Resolution Protocol (RARP)?
Reverse ARP is a network protocol a client machine uses in a local area network to request its Internet Protocol address (IPv4) from the gateway router’s ARP table. The network administrator creates a table in the gateway router, which maps the MAC address to the corresponding IP address. When a new machine is set up or any machine which doesn’t have amemory to store the IP address, needs an IP address for its use. So the machine sends a RARP broadcast packet which contains its own MAC address in both the sender and receiver hardware address fields.

RARP is a protocol based on computer networking which is employed by a client computer to request its IP address from a gateway server’s Address Resolution Protocol table or cache. The network administrator creates a table in gateway-router, which is used to map the MAC address to corresponding IP address. This protocol is used to communicate data between two points in a server. The client doesn’t necessarily need prior knowledge the server identities capable of serving its request. Media Access Control (MAC) addresses requires individual configuration on the servers done by an administrator. RARP limits to the serving of IP addresses only.
How does RARP Work?
The RARP is on the Network Access Layer and is employed to send data between two points in a very network. Each network participant has two unique addresses IP address (a logical address) and MAC address (the physical address). The IP address gets assigned by software and after that the MAC address is constructed into the hardware. The RARP server that responds to RARP requests, can even be any normal computer within the network. However, it must hold the data of all the MAC addresses with their assigned IP addresses. If a RARP request is received by the network, only these RARP servers can reply to it. The info packet needs to be sent on very cheap layers of the network. This implies that the packet is transferred to all the participants at the identical time. The client broadcasts a RARP request with an Ethernet broadcast address and with its own physical address. The server responds by informing the client its IP address.
Difference between RARP vs ARP
| RARP |
ARP |
| A protocol used to map a physical (MAC) address to an IP address |
A protocol used to map an IP address to a physical (MAC) address |
| To obtain the IP address of a network device when only its MAC address is known |
To obtain the MAC address of a network device when only its IP address is known |
| Client broadcasts its MAC address and requests an IP address, and the server responds with the corresponding IP address |
Client broadcasts its IP address and requests a MAC address, and the server responds with the corresponding MAC address |
| MAC addresses |
IP addresses |
| Rarely used in modern networks as most devices have a pre-assigned IP address |
Widely used in modern networks to resolve IP addresses to MAC addresses |
| RFC 903 Standardization |
RFC 826 Standardization |
| RARP stands for Reverse Address Resolution Protocol |
ARP stands for Address Resolution Protocol |
| In RARP, we find our own IP address |
In ARP, we find the IP address of a remote machine |
| The MAC address is known and the IP address is requested |
The IP address is known, and the MAC address is being requested |
| It uses the value 3 for requests and 4 for responses |
It uses the value 1 for requests and 2 for responses |
Disadvantages of RARP
- The RARP server must be located within the same physical network.
- The computer sends the RARP request on very cheap layer of the network. Thus, it’s unattainable for a router to forward the packet because the computer sends the RARP request on very cheap layer of the network.
- The RARP cannot handle the subnetting process because no subnet masks are sent. If the network is split into multiple subnets, a RARP server must be available with each of them.
- It isn’t possible to configure the PC in a very modern network.
- It doesn’t fully utilize the potential of a network like Ethernet.
RARP has now become an obsolete protocol since it operates at low level. Due to this, it requires direct address to the network which makes it difficult to build a server.
Is RARP Obsolete? If so, What Alternatives Exist?
Yes, Reverse Address Resolution Protocol (RARP) is considered obsolete. It has been largely replaced by more advanced protocols such as the Bootstrap Protocol (BOOTP) and the Dynamic Host Configuration Protocol (DHCP).
Alternatives to RARP
- Bootstrap Protocol (BOOTP): BOOTP was developed to overcome the limitations of RARP. It allows a network device to obtain an IP address, as well as other configuration information, from a BOOTP server.
- Dynamic Host Configuration Protocol (DHCP): Dynamic Host Configuration Protocol (DHCP) is an extension of BOOTP and is widely used today. It provides a more comprehensive solution for dynamically assigning IP addresses and other network configuration parameters to devices on a network.
Both BOOTP and DHCP offer greater flexibility and functionality compared to RARP, making them the preferred choices in modern networking environments.
Issues in RARP
- Limited scalability
- Security concerns
- Lack of flexibility
- Limited support
- Compatibility issues
Conclusion
RARP is specified in RFC 903 and operates at the network layer of the OSI model. RARP played an important role in the development of computer networking protocols and continues to be used in certain contexts. While RARP was widely used in the past, it has largely been replaced by newer protocols such as DHCP (Dynamic Host Configuration Protocol), which provides more flexibility and functionality in assigning IP addresses dynamically.
Frequently Asked Questions on RARP – FAQs
What is the main purpose of RARP?
To assign IP addresses to devices that do not have storage or configuration files to save their IP addresses.
What layer is the RARP on?
Network Access layer.
Is the size of RARP packet fixed?
No the size of RARP packet is not fixed.
What is ARP poisoning/spoofing?
ARP spoofing is a type of network attack in which the attacker sends the falsified ARP request over the LAN (say to the default gateway), which results connecting attacker’s MAC address to the legitimate server on that victim network.
Similar Reads
What is RARP?
The Reverse Address Resolution Protocol (RARP) is a networking protocol that is used to map a physical (MAC) address to an Internet Protocol (IP) address. It is the reverse of the more commonly used Address Resolution Protocol (ARP), which maps an IP address to a MAC address. In this article, we wil
6 min read
What is AWS Deepracer?
Pre-requisite: Amazon Web Services DeepRacer is a platform that allows developers to learn about and experiment with reinforcement learning (RL) through an autonomous race car. The car is a 1/18th scale model that is controlled by a computer and can be programmed to navigate a physical track using m
6 min read
What is gRPC?
Ensuring effective and consistent communication between services is important in the present scene of distributed systems and microservices. Traditional RESTful APIs are popular but frequently lack performance and flexibility for sophisticated inter-service communication. Here's when gRPC is useful.
7 min read
What is RPC Enumeration?
RPC is a remote procedure call (or a function call that carries out tasks on a different computer). RPC enumeration is the process of discovering what services are running on what port numbers. Enumerating RPC services can aid in finding information leaks because it allows an attacker to map which s
3 min read
What is RTP in Wireshark?
RTP stands for Real-Time Protocol, which is a protocol that allows the transmission of streaming media over an IP-based network. The protocol determines how audio and video data will be encoded, transmitted, and packaged in data packets along with the information necessary to decode the data at its
5 min read
What Is CRAN In R Language?
CRAN (Comprehensive R Archive Network) is the primary repository for R packages, and it hosts thousands of packages that users can download and install to extend the functionality of the R Programming Language. These packages are created by R users and developers from around the world and cover a wi
4 min read
What is RC4 Encryption?
RC4 means Rivest Cipher 4 invented by Ron Rivest in 1987 for RSA Security. It is a Stream Ciphers. Stream Ciphers operate on a stream of data byte by byte. RC4 stream cipher is one of the most widely used stream ciphers because of its simplicity and speed of operation. It is a variable key-size stre
5 min read
What is RTS(Real Time Streaming)?
Real-time streaming processing is the process in which taking action on data when it is generated. It is the process in which a large amount of data processed quickly. Historically, real-time processing means processed as frequently as necessary. Processing times can be measured in microseconds. The
2 min read
What is Robots-as-a-Service (RaaS)?
Robots-as-a-Service is a Software-as-a-Service (SaaS) model and is emerging as a new business model. It is a process of using robots to gather, analyze, and manage data in the cloud. It helps an organization to have the benefits of robotic process automation by renting robotic devices and accessing
7 min read
What is JSON-RPC in Ethereum?
JSON-RPC is used to communicate with an application that you running on your computer. It uses the HTTP protocol for remote procedure calls and JSON for data representation. It's a stateless, lightweight RPC protocol that's written in JavaScript. For example, JSON-RPC makes communication between cli
6 min read