Arp Rarp
Arp Rarp
ARP has been implemented with many combinations of network and data link layer
technologies, such as IPv4, Chaosnet, DECnet and Xerox PARC Universal Packet (PUP)
using IEEE 802 standards, FDDI, X.25, Frame Relay and Asynchronous Transfer
Mode (ATM).
Operating scope
[edit]
The Address Resolution Protocol is a request-response protocol. Its messages are directly
encapsulated by a link layer protocol. It is communicated within the boundaries of a
single subnetwork and is never routed.
Packet structure
[edit]
The Address Resolution Protocol uses a simple message format containing one address
resolution request or response. The packets are carried at the data link layer of the
underlying network as raw payload. In the case of Ethernet, a 0x0806 EtherType value is
used to identify ARP frames.
The size of the ARP message depends on the link layer and network layer address sizes.
The message header specifies the types of network in use at each layer as well as the size
of addresses of each. The message header is completed with the operation code for
request (1) and reply (2). The payload of the packet consists of four addresses, the
hardware and protocol address of the sender and receiver hosts.
The principal packet structure of ARP packets is shown in the following table which
illustrates the case of IPv4 networks running on Ethernet. In this scenario, the packet has
48-bit fields for the sender hardware address (SHA) and target hardware address (THA),
and 32-bit fields for the corresponding sender and target protocol addresses (SPA and
TPA). The ARP packet size in this case is 28 bytes.
RARP has been rendered obsolete by the Bootstrap Protocol (BOOTP) and the
modern Dynamic Host Configuration Protocol (DHCP), which both support a much greater
feature set than RARP.
RARP requires one or more server hosts to maintain a database of mappings of Link
Layer addresses to their respective protocol addresses. MAC addresses need to be
individually configured on the servers by an administrator. RARP is limited to serving
only IP addresses.
Reverse ARP di ers from the Inverse Address Resolution Protocol (InARP), which is
designed to obtain the IP address associated with a local Frame Relay data link
connection identifier.[2] InARP is not used in Ethernet.
[edit]
Although the original uses for RARP have been superseded by di erent protocols, some
modern day protocols use RARP to handle MAC migration, particularly in virtual machines,
using a technique originating in QEMU.
Examples are:
Cisco's Overlay Transport Virtualization (OTV). RARP is used to update the layer 2
forwarding tables when a MAC address moves between data centers.
VMware vSphere's vMotion.[3] RARP is used when a VM MAC moves between hosts.
The Reverse Address Resolution Protocol (RARP) is a networking protocol used to map a
physical (MAC) address to an Internet Protocol (IP) address. This is the reverse of the more
commonly used Address Resolution Protocol (ARP), which maps an IP address to a MAC
address1.
RARP operates at the Network Access Layer and is employed to send data between two
points in a network. Each network participant has two unique addresses: an IP address
(logical address) and a MAC address (physical address). The IP address is assigned by
software, while the MAC address is embedded in the hardware1.
When a new machine is set up or a machine without memory to store the IP address
needs an IP address, it sends a RARP broadcast packet containing its own MAC address.
The RARP server, which holds the data of all MAC addresses with their assigned IP
addresses, responds to this request by informing the client of its IP address1.
Disadvantages of RARP
The RARP server must be located within the same physical network.
It cannot handle the subnetting process because no subnet masks are sent.
It has become obsolete due to its low-level operation and the need for direct
access to the network1.
Alternatives to RARP
RARP has been largely replaced by more advanced protocols such as:
Both BOOTP and DHCP o er greater flexibility and functionality compared to RARP,
making them the preferred choices in modern networking environments1.
Conclusion
RARP played an important role in the development of computer networking protocols and
continues to be used in certain contexts. However, it has largely been replaced by newer
protocols such as DHCP, which provide more flexibility and functionality in assigning IP
addresses dynamically