• Networking
  • Programming
  • DBMS
  • Operating System
  • Internet
  • Hardware
  • Software

Tech Differences

Know the Technical Differences

Difference Between ARP and RARP

ARP-and-RARP1ARP and RARP both are the Network layer protocol. Whenever a host needs to send an IP datagram to another host, the sender requires both the logical address and physical address of the receiver. The dynamic mapping provides two protocols ARP and RARP.

The basic difference between ARP and RARP is that ARP when provided with the logical address of the receiver it obtains the physical address of the receiver whereas in RARP when provided with the physical address of the host, it obtains the logical address of the host from the server.

Let’s study the other differences between ARP and RARP in the comparison table.

Content: ARP Vs RARP

  1. Comparison Chart
  2. Definition
  3. Key Differences
  4. Conclusion

Comparison Chart

Basis for ComparisonARPRARP
Full FormAddress Resolution Protocol.Reverse Address Resolution Protocol.
BasicRetrieves the physical address of the receiver.Retrieves the logical address for a computer from the server.
MappingARP maps 32-bit logical (IP) address to 48-bit physical address.RARP maps 48-bit physical address to 32-bit logical (IP) address.

Definition of ARP

ARP (Address Resolution Protocol) is a network layer protocol. As ARP is a dynamic mapping protocol, each host in the network knows the Logical address of another host. Now, suppose a host needs to send the IP datagram to another host. But, the IP datagram must be encapsulated in a frame so that it can pass through the physical network between sender and receiver.

Here, the sender needs the physical address of the receiver so that it is being identified that to which receiver the packet belong to when the packet travel in the physical network.

For retrieving the physical address of the receiver the sender performs the following action.

  1. The sender sends the ARP query packet on the network which is broadcasted to all the other host or router present in the network.
  2. The ARP query packet contains the logical and physical address of the sender and the logical address of the receiver.
  3. All the host and router receiving the ARP query packet process it but, only the intended receiver identifies its logical address present in the ARP query packet.
  4. The receiver then sends ARP response packet which contains the logical (IP) address and physical address of the receiver.
  5. The ARP response packet is unicast directly to the sender whose physical address is present in the ARP query packet.

ARPDefinition of RARP

RARP (Reverse Address Resolution Protocol) is also a network layer protocol. RARP is a TCP/IP protocol that allows any host to obtain its IP address from the server. RARP is adapted from the ARP protocol and it is just reverse of ARP.

RARP perform following steps to obtain an IP address from the server.

  1. The sender broadcast the RARP request to all the other host present in the network.
  2. The RARP request packet contains the physical address of the sender.
  3.  All the host receiving the RARP request packet process it but, the authorized host only which can serve RARP service,  responds to the RARP request packet such host are known as RARP Server.
  4. The authorized RARP server replies directly to requesting host with the RARP response packet which contains IP address for the sender.

RARPRARP is outdated now because of two reasons. First, the RARP is using the broadcast service of the data-link layer; that means the RARP must be present at each network. Second, RARP only provides IP address but today the computer also need other information.

Key Differences Between ARP and RARP

  1. The full form of ARP is Address Resolution Protocol whereas, the full form of RARP is Reverse Address Resolution Protocol.
  2. ARP protocol retrieves the physical address of the receiver. On the other hand, the RARP protocol retrieves logical (IP) address of the protocol.
  3. ARP maps 32 bit logical (IPv4) address to a 48-bit physical address of the receiver. On the other hand, RARP maps 48-bit physical address to 32-bit logical address of the receiver.

Conclusion

RARP has been replaced by BOOTP and DHCP.

Related Differences:

  1. Difference Between Go-Back-N and Selective Repeat Protocol
  2. Difference Between TCP/IP and OSI Model
  3. Difference Between Broadcast and Multicast
  4. Difference Between Flow Control and Error Control
  5. Difference Between SMTP and POP3

Comments

  1. d says

    April 9, 2017 at 1:17 pm

    nice article

    Reply
  2. Faris Mubarek says

    October 12, 2017 at 7:46 pm

    Clear and helpful explanation. Thank you for the post.

    Reply
  3. Maharshi Pandya says

    October 9, 2018 at 6:03 pm

    Nice
    It is helpful

    Reply
  4. Rupal Rajani says

    May 5, 2019 at 11:35 am

    Very helpful keep making such content on more topics

    Reply
  5. Chaitan Kailas Wani says

    June 14, 2019 at 4:30 pm

    It’s very helpful for everyone

    Reply
  6. Hanibal says

    January 24, 2020 at 3:56 am

    Awesome

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Top 10 Differences

  • Difference Between OLTP and OLAP
  • Difference Between while and do-while Loop
  • Difference Between Guided and Unguided Media
  • Difference Between Preemptive and Non-Preemptive Scheduling in OS
  • Difference Between LAN, MAN and WAN
  • Difference Between if-else and switch
  • Difference Between dispose() and finalize() in C#
  • Difference Between for and while loop
  • Difference Between View and Materialized View
  • Difference Between Server-side Scripting and Client-side Scripting

Recent Addition

  • Difference Between Unit Testing and Integration Testing
  • 4G Vs 5G
  • Raster Vs Vector Images
  • JPEG Vs TIFF
  • RJ11 Vs RJ12

Categories

  • DBMS
  • Hardware
  • Internet
  • Networking
  • Operating System
  • Programming
  • Software

Copyright © 2023 · Tech Differences · Contact Us · About Us · Privacy