What Address Resolution Protocol (ARP) Does for Your Computer Network (2024)

108

108 people found this article helpful

Wi-Fi and Ethernet depend on this address translator

By

Bradley Mitchell

Writer

  • Massachusetts Institute of Technology
  • University of Illinois

An MIT graduate who brings years of technical experience to articles on SEO, computers, and wireless networking.

Updated on June 22, 2021

In This Article

Jump to a Section

  • History and Purpose of ARP

  • How ARP Works

  • Inverse ARP and Reverse ARP

  • Gratuitous ARP

ARP(Address Resolution Protocol) converts an Internet Protocol (IP) address to its corresponding physical network address. IP networks, including those that run onEthernet and Wi-Fi,require ARP to function.

History and Purpose of ARP

ARP was developed in the early 1980s as a general-purpose address translation protocol for IP networks. Besides Ethernet and Wi-Fi, ARP has been implemented forATM,Token Ring, and other physical network types.

ARP allows a network to manage connections independently of the specific physical device attached to each one. This enables the internet protocol to work more efficiently than managing various hardware devices and physical networks independently.

What Address Resolution Protocol (ARP) Does for Your Computer Network (1)

How ARP Works

ARP operates at Layer 2 in theOSI model. Protocol support is implemented in the device drivers of networkoperating systems. InternetRFC 826documents technical details of the protocol, including its packet format and the workings of request and response messages

ARP works on modern Ethernet and Wi-Fi networks as follows:

  • Network adapters are produced with a physical address embedded in the hardware called the Media Access Control (MAC) address. Manufacturers ensure that these six-byte (48-bit) addresses are unique because IP relies on these unique identifiers for message delivery.
  • Before any device sends data to another target device, it must determine the MAC address given its IP address. These IP-to-MAC address mappings are derived from an ARP cache maintained on each device.
  • If the given IP address does not appear in a device's cache, that device cannot direct messages to that target until it obtains a new mapping. To do this, the initiating device first sends an ARP request broadcast message on the local subnet. The host with the given IP address sends an ARP reply in response to the broadcast, allowing the initiating device to update its cache and deliver messages directly to the target.

Inverse ARP and Reverse ARP

Experts developed another network protocol called RARP (Reverse ARP) in the 1980s to complement ARP. RARP performed the opposite function of ARP, converting from physical network addresses to the IP addresses assigned to those devices. RARP was made obsolete by DHCP (Dynamic Host Configuration Protocol) and is no longer used.

A separate protocol called Inverse ARP also supports the reverse address mapping function. Inverse ARP is not used on Ethernet or Wi-Fi networks, although you can sometimes find it on other types.

Gratuitous ARP

To improve the efficiency of ARP, some networks and network devices use a method of communication called gratuitous ARP. A device broadcasts an ARP request message to the local network to notify the other devices of its existence.

Was this page helpful?

Thanks for letting us know!

Get the Latest Tech News Delivered Every Day

Subscribe

Tell us why!

What Address Resolution Protocol (ARP) Does for Your Computer Network (2024)

FAQs

What Address Resolution Protocol (ARP) Does for Your Computer Network? ›

The Address Resolution Protocol is a layer 2 protocol used to map MAC addresses to IP addresses. All hosts on a network are located by their IP address, but NICs do not have IP addresses, they have MAC addresses. ARP is the protocol used to associate the IP address to a MAC address.

What does the Address Resolution Protocol ARP do? ›

Address Resolution Protocol (ARP) is a protocol or procedure that connects an ever-changing Internet Protocol (IP) address to a fixed physical machine address, also known as a media access control (MAC) address, in a local-area network (LAN).

What is the ARP command in computer network? ›

The arp command displays and modifies the Internet-to-adapter address translation tables used by the Address in Networks and communication management. The arp command displays the current ARP entry for the host specified by the HostName variable.

What are the benefits of ARP? ›

Makes communication possible: ARP allows devices on a local network to communicate with each other by linking a device's IP address with its MAC address. Improves network performance: ARP cache stores the IP-MAC address mapping, reducing the number of ARP broadcasts required for communication.

What is ARP format in computer networks? ›

The ARP packet format is used for ARP requests and replies and consists of multiple fields including hardware type, protocol type, hardware and protocol size, operation, sender and target hardware, and IP addresses. These fields work together to help devices on a network find and communicate with each other.

What action does the ARP process take? ›

The ARP process sends out an ARP request to the IPv 4 broadcast address to discover the MAC address of the destination device. The ARP process sends out an ARP request to the IPv 4 broadcast address to discover the IPv 4 address of the destination device.

What is one main reason CIDR is helpful? ›

CIDR allows routers to organize IP addresses into multiple subnets more efficiently. A subnet is a smaller network that exists within a network.

How to find IP address using ARP command? ›

Enter the command “arp -a” and you'll get a list with all ARP entries to the ARP Table in your computer. The list will show a line with the IP address followed by the MAC address, the interface, and the allocation type, that means if they are dynamic or static.

What are the two basic functions ARP provides? ›

ARP provides two basic functions: resolving IPv4 addresses to MAC addresses and maintaining a table of IPv4 to MAC address mappings.

What two functions are provided by ARP? ›

- Maintains a table of IPv4 to MAC address mappings. - Resolves IPv4 addresses to MAC addresses.

Why send an ARP request? ›

An ARP request establishes communication between devices on the network. It is enabled after a source device fails to retrieve necessary data from an ARP cache table. The ARP table holds records of the IP address and MAC address of the devices connected to the same network.

Does ARP use TCP or IP? ›

ARP is used by the TCP/IP suite's network layer to do this. ARP is found in the TCP/IP suite's Network layer's bottom half. A host is recognized in this tier by its 32-bit IP address. The TCP/IP suite's Medium Access Control (MAC) layer, on the other hand, uses a different addressing scheme.

Is ARP IPv4 or IPv6? ›

IPv4 uses ARP, ICMP router discovery, and ICMP redirect for router discovery. IPv6 router advertisem*nts carry link-local addresses. No additional packet exchange is needed to resolve the router's link-local address. Router advertisem*nts carry site prefixes for a link.

How do I find other IP addresses on my network? ›

Type the command "arp -a" to view the list of all IP addresses connected to your network. This will also display the MAC address and the allocation type (static and dynamic) of all your network devices.

Top Articles
Latest Posts
Article information

Author: Catherine Tremblay

Last Updated:

Views: 6564

Rating: 4.7 / 5 (67 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Catherine Tremblay

Birthday: 1999-09-23

Address: Suite 461 73643 Sherril Loaf, Dickinsonland, AZ 47941-2379

Phone: +2678139151039

Job: International Administration Supervisor

Hobby: Dowsing, Snowboarding, Rowing, Beekeeping, Calligraphy, Shooting, Air sports

Introduction: My name is Catherine Tremblay, I am a precious, perfect, tasty, enthusiastic, inexpensive, vast, kind person who loves writing and wants to share my knowledge and understanding with you.