Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

ARP (Address Resolution Protocol)

Direct answer

ARP resolves an on-link IPv4 next-hop address to a Layer-2 address through requests, replies and a timed cache.

When to use this

Use it when a route selects the correct connected interface but local next-hop adjacency or duplicate-address behavior is wrong.

First 30 seconds

1. ARP maps IPv4 addresses to MAC addresses on a LAN.

2. Request is broadcast, reply unicast.

3. Cisco ARP timeout is 4 hours.

4. Incomplete entries mean no reply.

5. Gratuitous ARP announces or detects duplicates.

Operational verification

need MAC for IP → ARP request → reply → cache → frame sent

Evidence · next step

1. Verify route and selected next hop.
2. Confirm VLAN/interface and mask.
3. Inspect ARP entry and age.
4. Capture request/reply and compare source MAC/IP.
5. Check DAI, duplicate IP and return path.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard · Cisco IOS / IOS XE · Cisco IOS XE
Key commandclear arp-cache
Scope / prerequisiteUse it when a route selects the correct connected interface but local next-hop adjacency or duplicate-address behavior …
Show · 2Reference · 1
What next?3 suggested next steps
Child topics (this level)3
Catalog command links3
Evidence1
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification and output interpretation Verify boundary

Use show ip arp or show arp to inspect protocol address, learned hardware address, age and associated interface. Start by confirming that the target IPv4 address should actually be on-link according to the route table and interface prefix; otherwise there should be no ARP resolution for the remote destination itself, only for the routed next hop. A healthy dynamic entry has a plausible MAC address on the expected interface/VLAN and can normally be correlated with the switch MAC table when the endpoint is locally attached. When evaluating change over time, distinguish an absent entry because no traffic has attempted resolution from repeated incomplete or unresolved behavior. Clearing the ARP cache is a state-changing diagnostic action because the next packet forces fresh resolution; collect the pre-clear entry and relevant route/interface state first if historical state matters.

Step 2 Verification & troubleshooting Narrow the fault

1. Verify route and selected next hop.

2. Confirm VLAN/interface and mask.

3. Inspect ARP entry and age.

4. Capture request/reply and compare source MAC/IP.

5. Check DAI, duplicate IP and return path.

Path: Networking → IPv4 → ARP. Local intent: ARP: ARP request, ARP reply, ARP cache.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

command output · 1
Command lookup Jump straight to Cisco syntax
Drill down

Subtopics

Go one level deeper into this subject.

Failure signatures

Recognize the symptom, then prove the boundary

Observed symptom → candidate boundary → discriminating check → original-test closure. A signature narrows the search; it never proves root cause by itself.

ARP entry remains incomplete
1 · Observe

The device knows the target IPv4 address but cannot resolve a usable MAC address.

2 · Candidate boundaries

wrong VLAN/L2 path · target offline · ARP filtering/security · duplicate/wrong addressing

3 · Discriminate

prove local subnet/VLAN assumption → check MAC learning → capture/observe ARP request and reply direction

4 · Proof limit

Incomplete ARP does not prove a routing failure.

Repeat the original failing test after the minimum controlled change before calling recovery verified.
ARP/MAC identity moves unexpectedly
1 · Observe

The same endpoint identity appears to move between interfaces or MAC mappings.

2 · Candidate boundaries

duplicate IP · L2 loop · endpoint move · HA/failover event

3 · Discriminate

correlate ARP and MAC tables → check move frequency/timestamps → verify endpoint ownership before clearing state

4 · Proof limit

A changed mapping does not by itself prove an attack or loop.

Repeat the original failing test after the minimum controlled change before calling recovery verified.
Key points
  • ARP resolves only the selected on-link next hop
  • Requests are broadcast; replies are normally unicast
  • Dynamic cache state ages and can be incomplete during resolution
  • Proxy ARP, security inspection and duplicate IPs can change observed mappings.
Key checks
  • show ip arp — ARP cache
  • show ip arp <ip> — one entry
  • clear ip arp <ip> — refresh entry
ReferenceImportant terms & boundaries4 sections · depth on demand

In depth

ARP

ARP maps an IPv4 address to an Ethernet MAC address so a frame can be sent on the local link. RFC 826 describes the exchange: a host without a cache entry broadcasts an ARP request to all stations; the owner of the target address replies directly (unicast) to the requester. ARP has its own EtherType and fields for hardware type, protocol type, address lengths, opcode (request or reply) and the sender and target addresses.

Receiving rules (RFC 826)

StepAction
1If the sender's address is already in the table, update its MAC (merge)
2If this host is the target and no merge happened, add the sender
3If it's a request, swap sender and target fields, set opcode to reply, send it back

The sender is learned before the opcode is checked, because communication is assumed to be two-way.

Packet fields (RFC 826)

FieldEthernet/IPv4 value
Hardware type1 (Ethernet)
Protocol type0x0800 (IPv4)
Hardware / protocol length6 / 4
Opcode1 request, 2 reply
Sender MAC / IPRequester
Target MAC / IPUnknown (zero) in requests / target IP
host$ ip neigh show 10.110.0.1
10.110.0.1 dev eth0 lladdr a4:bb:6d:10:01:10 REACHABLE
host$ sudo tcpdump -ni eth0 arp -c 2
10:41:22.100 ARP, Request who-has 10.110.0.1 tell 10.110.0.64, length 28
10:41:22.101 ARP, Reply 10.110.0.1 is-at a4:bb:6d:10:01:10, length 28
R1# show ip arp GigabitEthernet0/0/2.110
Protocol  Address          Age (min)  Hardware Addr   Type   Interface
Internet  10.110.0.1              -   a4bb.6d10.0110  ARPA   Gi0/0/2.110
Internet  10.110.0.64            12   5054.0012.3456  ARPA   Gi0/0/2.110

Related behaviours

BehaviourUse or risk
Gratuitous ARPAnnounces an address (failover, duplicate detection)
Proxy ARPRouter answers for remote hosts; usually disable on edges
ARP spoofingForged replies redirect traffic; Dynamic ARP Inspection blocks it
Cache timeoutsCisco default 4 hours; hosts much shorter

ARP only works within a broadcast domain; to reach other subnets, hosts ARP for their default gateway.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

ARP (Address Resolution Protocol) maps an IPv4 address on the local subnet to a MAC address. A host broadcasts "who has 10.20.0.1?", the owner replies with its MAC, and both cache the result.

ARP typeUse
Request (broadcast)Find the MAC for an IP
Reply (unicast)Answer with own MAC
Gratuitous ARPAnnounce/refresh own mapping (failover, duplicate detection)
Proxy ARPRouter answers for another network (legacy)
show ip arp
clear ip arp 10.20.0.15

Documented example, not captured output.

Hosts ARP for the default gateway when the destination is outside their subnet, not for the destination itself.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

State model and protocol mechanics

ARP operates only for IPv4 neighbors that a device considers directly reachable on a local Layer 2 segment. Before an Ethernet frame can be sent to an on-link destination or to the selected default gateway, the sender needs a destination MAC address. It checks its ARP cache, broadcasts an ARP request when no usable mapping exists, and learns the sender protocol/hardware information from valid replies. Routing and ARP therefore solve different problems: the route lookup selects an outgoing interface and next-hop IPv4 address, while ARP resolves that selected on-link next hop to a Layer 2 destination. Dynamic entries age and can be refreshed by subsequent traffic; static entries do not follow the same learning lifecycle. Proxy ARP deliberately changes the apparent adjacency boundary by allowing a router to answer on behalf of another address, which is why an ARP reply is evidence about local resolution rather than evidence that the final IP endpoint is physically present on the segment.

Limits and common misconceptions

An ARP entry is not an end-to-end reachability test. It shows only that an IPv4-to-MAC mapping is currently present for a local adjacency, and even that mapping can be stale until traffic revalidates it. A successful ARP request does not show that the remote application, return route, ACL or upstream routing is correct. Conversely, no ARP entry for a remote subnet is normal when packets are sent to a gateway. Do not confuse ARP with DNS: DNS maps names to IP addresses, while ARP maps an on-link IPv4 next hop to a Layer 2 address. Do not confuse ARP with the switch MAC table either; the two tables can disagree temporarily because they age and learn from different events. The useful evidence chain is route lookup → selected on-link next hop → ARP mapping → switch forwarding → higher-layer reachability.

ReferenceConfiguration & state1 section · depth on demand

Design and configuration model

Most ARP behavior is implicit once an IPv4 address and subnet mask are configured correctly on an interface. Design quality therefore depends heavily on correct addressing, VLAN membership, gateway placement and a clear decision about whether features such as proxy ARP, static ARP entries or security inspection are required. Avoid using static entries as a general cure for unstable reachability because they can mask the actual ownership or Layer 2 problem and create operational debt when interfaces or endpoints move. In switched networks, keep the distinction between the switch MAC address table and the router ARP cache explicit: the ARP table maps IPv4 to MAC, while the switch forwarding table maps MAC to switchport. Features such as DHCP Snooping and Dynamic ARP Inspection can add trust validation around ARP, but they do not replace the normal route-selection and neighbor-resolution model.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 791

Authoritative/upstream documentation reviewed for bounded claims in IP Fundamentals → IPv4 → ARP. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc791.html · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
address resolution protocolARP request reply cache
Embedded reference data

Quick lookup tables

ARP evidence chain

Configuration, operational state, counters and downstream proof remain separate.

BoundaryQuestionEvidenceDoes not prove
DefinitionWhat is configured or intended?running configuration / controller policylive operation
Local stateIs the feature active at the expected scope?show ip arpremote success
CountersDid controlled traffic or an event reach this stage?scoped counters/timestampscomplete return path
Next boundaryWhat consumes or transports this state?route lookup → connected next hop → ARP request → ARP reply/cache → adjacency → Ethernet forwardingapplication success

ARP · operational reference

Compact state and interpretation boundaries for fast lookup.

EvidenceWhat it provesWhat it does not prove
Route points to connected segmentDestination/next hop is considered on-linkARP mapping exists
ARP entry presentIPv4-to-MAC mapping is cachedEnd-to-end IP/application health
MAC learned on expected portLayer 2 forwarding location is knownIP ownership is correct
Fresh ARP after cache clearResolution can currently completeRemote path beyond next hop works
Confirmation

Confirm action

Continue?