Address Resolution Protocol (ARP): What it is and how it works

Updated: August 24, 2026 Time to read: ~

TL;DR

The Address Resolution Protocol (ARP) is a foundational networking mechanism that bridges the gap between dynamic IP addresses and fixed MAC addresses within a local area network (LAN). Operating largely invisibly, ARP enables data to reach the correct device by translating one address type to the other. While fast and efficient, ARP is vulnerable to spoofing attacks, and alternatives like the Neighbor Discovery Protocol (NDP) exist for IPv6 environments.

The fundamentals of address resolution

The address resolution protocol, or ARP, connects an always-changing IP address to a fixed Media Access Control (MAC) address. A directory holds a detailed map of both IP addresses and MAC addresses.

The ARP protocol may sound confusing. While the computing is complex, the work moves quickly. You may never even know the translation is happening.

What is ARP?

Every device within a local area network (LAN) has two addresses. One changes (your Internet Protocol (IP) address), and one is fixed (your MAC address). ARP keeps those two systems connected.

The ARP process involves translation. For example, your IP address may be quite a bit shorter than your MAC address. And they're never made up of the same numerals in the same order.

But if a system can't resolve one to the other, data can't flow between devices. Quick translation is critical.

The Internet Working Group developed the ARP protocol back in 1982, and it serves as the foundation of connectivity today. 

How does ARP work?

A piece of data arrives at a network gateway, and it needs to connect with a machine within the LAN. ARP helps the data arrive at the right place.

The ARP protocol leans on:

  • MAC address. Also known as the data link layer, the MAC address connects two devices and allows them to transfer information.

  • IP addresses. When a new device joins a LAN, the system assigns an IP address. Periodically, the system randomizes and assigns new IP addresses to protect user privacy. An IP address facilitates packet forwarding through routers.

The following steps take place during the ARP process:

  1. Arrival. Data is destined for a machine on the LAN, and it lands on a piece of hardware within the network.

  2. Check. The gateway machine asks the ARP program to find a MAC address that matches the IP address specified in the data packet. ARP uses a simple message format with a size that can vary.

  3. Specification. When the lookup is complete, the gateway machine releases the information, and the data moves ahead.

Client-requested illustration: https://cdn.ttgtmedia.com/rms/onlineimages/whatis-arp_desktop.png

Let's dig deeper into ARP message formats. A typical request includes several fields, such as these:

  • Hardware type

  • Protocol type

  • Hardware address length

  • Protocol address length

  • Sender hardware address

  • Sender protocol address

  • Target hardware address

  • Target protocol address

While a great deal of information sits within each message, the total size is very small.

What are the different types of ARP?

We've described a simple ARP message and protocol. But companies can experiment and develop their own implementation methods.

These are two different versions of ARP companies often use.

VariationDescription
Inverse ARPA system begins with the MAC address and requests an IP address.
Proxy ARPA device on the network handles ARP requests coming from IP addresses that aren't on the LAN.
Neighbor Discovery Protocol (NDP)Allows computers to maintain lists of known addresses rather than using an active protocol for lookup; used with IPv6.

Some companies prefer to avoid ARP altogether, and they use the Neighbor Discovery Protocol (NDP). The Network Working Group released Internet Protocol Version 6 (IPv6) in 2007, and this release supports the NDP. Companies that use NDP allow computers to maintain lists of known addresses rather than using an active protocol for lookup.

What are the known problems with ARP?

While ARP is fast and efficient, hackers can manipulate the system.

What is ARP spoofing (ARP poisoning)?

During an ARP spoofing (or ARP poisoning) attack, a hacker crafts fake ARP messages that link a malignant MAC address and a legitimate LAN IP address. Data heading to the victim's device will go to the hacker instead. This approach can lead to man-in-the-middle attacks.

An ARP spoofing attack is very similar to an IP spoofing attack. Learn more about how this vulnerability works and how you can address it on our blog.

Frequently asked questions

Why does ARP need to translate between IP and MAC addresses?

Devices on a local area network rely on two different address types: a dynamic IP address that can change over time and a fixed MAC address tied to the hardware. Because these two address formats are different and never share the same numerals in the same order, ARP is needed to map one to the other so data can flow between devices correctly.

What happens during an ARP lookup?

When data arrives at a network gateway destined for a machine on the LAN, the gateway asks the ARP program to find the MAC address that matches the destination IP address. Once the lookup is complete, the gateway releases the data and it moves to the correct device.

What is the difference between Inverse ARP and Proxy ARP?

Inverse ARP works in the opposite direction of standard ARP — a system starts with a known MAC address and uses it to request the corresponding IP address. Proxy ARP, on the other hand, involves a network device that handles ARP requests on behalf of IP addresses that are not located on the local LAN.

What is ARP spoofing and why is it dangerous?

ARP spoofing, also called ARP poisoning, is an attack where a hacker sends fake ARP messages that associate a malicious MAC address with a legitimate IP address on the LAN. This causes data intended for the victim's device to be redirected to the attacker, which can enable man-in-the-middle attacks.

What is the Neighbor Discovery Protocol and how does it differ from ARP?

The Neighbor Discovery Protocol (NDP) is an alternative to ARP used in IPv6 environments. Rather than actively broadcasting lookup requests, NDP allows computers to maintain their own lists of known addresses, reducing the need for real-time protocol-based resolution.

How old is the ARP protocol and is it still relevant?

ARP was developed by the Internet Working Group in 1982 and remains a foundational element of network connectivity today, underpinning how devices within local area networks communicate with one another.

References

An Ethernet Address Resolution Protocol. (November 1982). Network Working Group.

ARP Message Format. TCP/IP Guide.

Neighbor Discovery for IP Version 6 (IPv6). (September 2007). Network Working Group.

Continue your Identity journey