The Quarterly Threat Landscape Report is out. See what attackers are targeting now.Read report

What Is Address Resolution Protocol (ARP)?

Address Resolution Protocol (ARP) maps an IPv4 address to a MAC address on a local network. Devices use it to find where to deliver data within that network.

Why ARP matters in computer networks

When a device sends information across an Ethernet network, it needs more than a destination IP address. It also needs the media access control (MAC) address used to deliver a frame to the next device on the local link. ARP connects those two pieces of information.

An IP address identifies a network interface at the internet layer, while a MAC address identifies an interface for communication on the local link. ARP lets a device discover the appropriate MAC address without requiring an administrator to configure every mapping manually.

This matters when accessing a local server or reaching a router, because if address resolution fails, the device may know where it wants to send a packet but be unable to deliver the Ethernet frame. ARP is one part of broader network security, with its normal behavior helping to distinguish connectivity problems from suspicious activity.

How does Address Resolution Protocol work?

ARP uses a short request-and-reply exchange on a local network. A device first checks whether it knows the needed MAC address.

  1. Check the ARP cache. The sender looks in its local ARP table for an existing IPv4-to-MAC mapping. If the entry is usable, it can send the frame without another ARP request.
  2. Broadcast an ARP request. If the mapping is missing, the sender asks which device owns the target IPv4 address. Devices on the same broadcast domain can receive this request.
  3. Receive an ARP reply. The device using that IPv4 address normally responds with its MAC address, with the reply typically sent directly to the requester.
  4. Update the table and send. The sender records the mapping temporarily and uses the resolved MAC address to address the Ethernet frame.

Consider a laptop with IPv4 address 192.168.1.10 communicating with a printer at 192.168.1.25 on the same subnet. The laptop uses ARP to identify the printer's MAC address, then sends traffic locally.

If the destination is on another subnet, the laptop typically resolves the MAC address of its default gateway instead. The router then forwards the IP packet toward the remote destination. Note that ARP doesn’t discover the MAC address of a device across the internet.

Key components and types of ARP

ARP relies on a small set of messages and stored mappings. Their roles are straightforward, but knowing the differences makes troubleshooting easier.

  • ARP request: A message asking which interface is using a specified IPv4 address.
  • ARP reply: A response supplying a corresponding MAC address.
  • ARP table or cache: A local collection of IP-to-MAC mappings that reduces repeated lookups.
  • Dynamic entry: A learned mapping that can expire or change.
  • Static entry: A manually configured mapping that generally remains until changed or removed, depending on the operating system.

Common ARP variations

Gratuitous ARP allows a device to announce its own address mapping without waiting for a standard request., while announcements can help neighboring devices update mappings. Related ARP probes can check for duplicate IPv4 addresses.

Proxy ARP occurs when a router or another device replies to an ARP request on behalf of a different interface. It can support particular network configurations, but shouldn’t be confused with ordinary local address resolution. Reverse ARP (RARP) is a legacy protocol that’s now largely obsolete.

ARP examples and common troubleshooting scenarios

Two devices on the same subnet

A workstation needs to send a document to a local printer. It checks its ARP cache, discovers the printer's MAC address if needed, and sends frames to that address. Subsequent communication can reuse the cached mapping while it remains valid.

Accessing a destination on another network

A user opens a website. The device determines that the destination IP is outside its local subnet, then resolves the default gateway's MAC address. The router handles forwarding beyond the local network; ARP only supports the first local hop.

Diagnosing an incorrect ARP entry

A workstation suddenly cannot reach a local server. An administrator can inspect its ARP table with arp -a on systems that support the command, and then compare the entry with the expected device. A missing, outdated, or conflicting mapping may explain the problem, although routing, firewall rules, and device availability also need checking.

An unexpected MAC address warrants investigation, but doesn’t always prove an attack.

How ARP fits into network security operations

ARP was designed to resolve addresses, not to authenticate devices. A host can therefore receive misleading ARP messages that associate an IPv4 address with the wrong MAC address. This introduces security risks.

ARP spoofing and its impact

In ARP spoofing, also called ARP poisoning, an attacker attempts to persuade another device to accept a false address mapping. For example, a malicious host might claim that its MAC address belongs to the default gateway.

Depending on network conditions, this can redirect traffic through the attacker, interrupt communication, or support man-in-the-middle (MITM) attacks. The broader topic of spoofing attacks explains how forged identities appear in other forms of network activity.

Monitoring and reducing ARP-related risk

Teams can use several complementary practices:

  • Dynamic ARP Inspection: On supported, properly configured switches, this can check ARP messages against trusted address bindings.
  • Network segmentation: Limiting broadcast domains can reduce where ordinary ARP traffic and certain local attacks can spread.
  • Traffic analysis: Reviewing address changes alongside network activity can help analysts investigate unusual behavior.
  • Incident investigation: Comparing endpoint, switch, and network evidence helps distinguish suspicious mappings from routine changes.

ARP observations are one input to network traffic analysis (NTA), not a complete detection method on their own.

At the operational level, NTA solutions can support visibility into network communications, while incident detection and response solutions help teams investigate and respond to suspected threats.

Author

Aaron Wells
Aaron Wells

Frequently asked questions