The Wayback Machine - https://web.archive.org/web/20240905234939/https://www.geeksforgeeks.org/what-is-rarp/
Open In App

What is RARP?

Last Updated : 12 Aug, 2024
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

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

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

Difference between ARP and RARP
In Address Resolution Protocol (ARP), Receiver's MAC address is fetched. Through ARP, (32-bit) IP address mapped into (48-bit) MAC address. Whereas, In Reverse Address Resolution Protocol (RARP), IP address is fetched through server. Through RARP, (48-bit) MAC address of 48 bits mapped into (32-bit) IP address. Prerequisite - ARP, Reverse ARP(RARP)
2 min read
RARP Packet Format
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 used to obtain the IP address of a host based on its physical address. That is, it performs in a way that is exactly opposite to that of the ARP. RARP works in a very similar way to ARP but in
3 min read
ARP, Reverse ARP(RARP), Inverse ARP (InARP), Proxy ARP and Gratuitous ARP
Prerequisite IP Addressing, Introduction of MAC Addresses, Basics of Address Resolution Protocol (ARP) In this article, we will discuss about whole ARP-family, which are ARP, RARP, InARP, Proxy ARP and Gratuitous ARP. Let's try to understand each one by one. 1. Address Resolution Protocol (ARP) - Address Resolution Protocol is a communication proto
6 min read
Difference Between BOOTP and RARP in Computer Networking
A computer networking protocol helps the users to establish the rules for the data transmission between two users. The main purpose of the computer networking protocols like BOOTP and RARP is that they allow the users to have the ability to communicate with each other simultaneously without having any ambiguity of the structure and the architecture
5 min read
GATE CS Notes (According to GATE 2025 Syllabus)
GATE stands for Graduate Aptitude Test in Engineering . GATE is a national-level exam conducted by IISc-Bangalore and the seven old IITs; GATE 2025 is going to be conducted by IIT Roorkee. The official notification of GATE 2025 has been released by IIT Roorkee. After clearing the GATE exam, candidates are eligible for Master of Technology (M.Tech)/
15+ min read
Computer Organization and Architecture Tutorial
In this Computer Organization and Architecture Tutorial, you’ll learn all the basic to advanced concepts like pipelining, microprogrammed control, computer architecture, instruction design, and format. Computer Organization and Architecture is used to design computer systems. Computer Architecture is considered to be those attributes of a system th
6 min read
DBMS Tutorial – Learn Database Management System
Database Management System is a software or technology used to manage data from a database. Some popular databases are MySQL, Oracle, MongoDB, etc. DBMS provides many operations e.g. creating a database, Storing in the database, updating an existing database, delete from the database. DBMS is a system that enables you to store, modify, and retrieve
8 min read
Operating System Tutorial
An Operating System(OS) is software that manages and handles the hardware and software resources of a computer system. It provides interaction between users of computers and computer hardware. An operating system is responsible for managing and controlling all the activities and sharing of computer resources. An operating system is a low-level Soft
7 min read
Computer Network Tutorial
A computer network is a collection of computers or devices connected to share resources. Any device which can share or receive the data is called a Node. Through which the information or data propagate is known as channels, It can be guided or unguided. In this Computer network tutorial, you’ll learn basic to advanced concepts like the Basics of co
10 min read
Top 100+ Computer Keyboard Shortcut Keys List (A to Z), PDF Available
Computer Shortcut Keys significantly enhance productivity and efficiency. These handy combinations of keys provide quick access to various functions and commands, allowing us to navigate in Computer, one must know Computer Shortcut keys. To work more easily and quickly with computers, shortcut keys would help you a lot. In this Computer Keyboard Sh
15+ min read
Difference Between OSI Model and TCP/IP Model
Data communication is a process or act in which we can send or receive data. Understanding the fundamental structures of networking is crucial for anyone working with computer systems and communication. For data communication two models are available, the OSI (Open Systems Interconnection) Model, and the TCP/IP (Transmission Control Protocol/Intern
5 min read
GATE 2025 Syllabus For CSE (Computer Science & Engineering)
GATE Exam 2025 Syllabus for CSE - GATE stands for Graduate Aptitude Test in Engineering, an entrance exam conducted each year for getting admission into the most prestigious institutes across the country including IISc Banglore, IITs, NITs, IIITs, and many others. The GATE authority (IIT Roorkee for this year) will release the official notification
7 min read
Advanced Encryption Standard (AES)
Advanced Encryption Standard (AES) is a specification for the encryption of electronic data established by the U.S. National Institute of Standards and Technology (NIST) in 2001. AES is widely used today as it is much stronger than DES and triple DES despite being harder to implement. In this article, we will cover the AES, the Working of Cipher an
8 min read
Top 50 Plus Networking Interview Questions and Answers for 2024
Networking is defined as connected devices that may exchange data or information and share resources. A computer network connects computers to exchange data via a communication media. Computer networking is the most often asked question at leading organizations such Cisco, Accenture, Uber, Airbnb, Google, Nvidia, Amazon, and many others. To get int
15+ min read
Types of Computer Networks
A computer network is a cluster of computers over a shared communication path that works to share resources from one computer to another, provided by or located on the network nodes. In this article, we will discuss computer networks and their types. What is a Computer Network?A computer network is a system that connects many independent computers
11 min read
Data Models in DBMS
A Data Model in Database Management System (DBMS)  is the concept of tools that are developed to summarize the description of the database. Data Models provide us with a transparent picture of data which helps us in creating an actual database. It shows us from the design of the data to its proper implementation of data. Types of Relational ModelsC
8 min read
Functions of Operating System
An Operating System acts as a communication bridge (interface) between the user and computer hardware. The purpose of an operating system is to provide a platform on which a user can execute programs conveniently and efficiently. An operating system is a piece of software that manages the allocation of Computer Hardware. The coordination of the har
12 min read
Difference Between IPv4 and IPv6
The address through which any computer communicates with our computer is simply called an Internet Protocol Address or IP address. For example, if we want to load a web page or download something, we require the address to deliver that particular file or webpage. That address is called an IP Address. There are two versions of IP: IPv4 and IPv6. IPv
7 min read
Types of Operating Systems
An Operating System performs all the basic tasks like managing files, processes, and memory. Thus, the operating system acts as the manager of all the resources, i.e. resource manager. Thus, the operating system becomes an interface between the user and the machine. It is one of the most required software that is present in the device. Operating Sy
11 min read
Types of Transmission Media
Transmission media refer to the physical pathways through which data is transmitted from one device to another within a network. These pathways can be wired or wireless. The choice of medium depends on factors like distance, speed, and interference. In this article, we will discuss the transmission media. What is Transmission Media? A transmission
8 min read
TCP/IP Model
The TCP/IP model is a fundamental framework for computer networking. It stands for Transmission Control Protocol/Internet Protocol, which are the core protocols of the Internet. This model defines how data is transmitted over networks, ensuring reliable communication between devices. It consists of four layers: the Link Layer, the Internet Layer, t
13 min read
What is OSI Model? - Layers of OSI Model
OSI stands for Open Systems Interconnection , where open stands to say non-proprietary. It is a 7-layer architecture with each layer having specific functionality to perform. All these 7 layers work collaboratively to transmit the data from one person to another across the globe. The OSI reference model was developed by ISO - 'International Organiz
15+ min read
Basics of Computer Networking
Computer networking is a cornerstone of modern technology, enabling the interconnected systems that power the Internet, business communications, and everyday digital interactions. Understanding the fundamentals of computer networking is essential for anyone involved in technology, from enthusiasts to professionals. This article will explore the bas
12 min read
Types of Network Topology
Network topology refers to the arrangement of different elements like nodes, links, or devices in a computer network. It defines how these components are connected and interact with each other. Understanding various types of network topologies helps in designing efficient and robust networks. Common types include bus, star, ring, mesh, and tree top
11 min read
Types of Keys in Relational Model (Candidate, Super, Primary, Alternate and Foreign)
Keys are one of the basic requirements of a relational database model. It is widely used to identify the tuples(rows) uniquely in the table. We also use keys to set up relations amongst various columns and tables of a relational database. Different Types of Database Keys Candidate Key Primary Key Super Key Alternate Key Foreign Key Composite Key To
6 min read
DBMS Architecture 1-level, 2-Level, 3-Level
A Database stores a lot of critical information to access data quickly and securely. Hence it is important to select the correct architecture for efficient data management. DBMS Architecture helps users to get their requests done while connecting to the database. We choose database architecture depending on several factors like the size of the data
4 min read
ACID Properties in DBMS
A transaction is a single logical unit of work that accesses and possibly modifies the contents of a database. Transactions access data using read and write operations. In order to maintain consistency in a database, before and after the transaction, certain properties are followed. These are called ACID properties. For those looking to master thes
6 min read
Introduction of ER Model
Peter Chen developed the ER diagram in 1976. The ER model was created to provide a simple and understandable model for representing the structure and logic of databases. It has since evolved into variations such as the Enhanced ER Model and the Object Relationship Model The Entity Relational Model is a model for identifying entities to be represent
10 min read
Normal Forms in DBMS
Normalization is the process of minimizing redundancy from a relation or set of relations. Redundancy in relation may cause insertion, deletion, and update anomalies. So, it helps to minimize the redundancy in relations. Normal forms are used to eliminate or reduce redundancy in database tables. Normalization of DBMSIn database management systems (
12 min read
Network Devices (Hub, Repeater, Bridge, Switch, Router, Gateways and Brouter)
Network Devices: Network devices, also known as networking hardware, are physical devices that allow hardware on a computer network to communicate and interact with one another. For example Repeater, Hub, Bridge, Switch, Routers, Gateway, Brouter, and NIC, etc. 1. Repeater - A repeater operates at the physical layer. Its job is to amplifies (i.e.,
6 min read
Article Tags :