Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

ARP cache

Direct answer

An ARP cache entry maps a directly reachable IPv4 neighbor or next-hop address to a MAC address on a specific Layer-2 context. It is adjacency state, not an end-to-end reachability table.

When to use this

Use this Topic when a route exists but the local next hop cannot be framed, when duplicate/stale mappings are suspected, or when gateway failover changes the expected MAC while Layer-3 routing still looks correct.

First 30 seconds

1. show ip arp <ip> — entry present? Incomplete → no ARP reply.

2. MAC as expected? Wrong MAC → duplicate IP or stale entry after a change.

3. show mac address-table address <mac> — learned on the expected port?

4. Clear the entry and ping again.

5. Gateway failover → hosts update via gratuitous ARP (FHRP virtual MAC stays the same).

Operational verification

destination or next hop on the local subnet → ARP request broadcast → owner replies with its MAC → entry cached (4 hours on IOS by default) → frames sent to that MAC

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 XE
Key commandshow ip arp
Scope / prerequisiteUse this Topic when a route exists but the local next hop cannot be framed, when duplicate/stale mappings are suspected…
Show · 1
What next?3 suggested next steps
Catalog command links1
Evidence0
On this pageJump to a specific section
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.

5 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 Operational verification and known-good state Verify boundary

Known-good ARP state starts with the correct route. Identify the exact next-hop IP and outgoing interface/VLAN, then inspect whether the ARP entry has the expected MAC and age/state. Cross-check that MAC in the Layer-2 switching table and, for a gateway, compare FHRP active ownership. Generate one controlled packet and watch whether ARP is refreshed, whether frame counters move and whether the neighbor responds. If the mapping changes during an incident, correlate the timestamp with FHRP failover, duplicate-IP logs or physical topology changes. Do not compare ARP entries from different VRFs/VLANs as though they represent one adjacency. For static or security-pinned mappings, compare configured ownership with live topology and confirm the mapping is intentional before treating persistence as healthy. A stable entry can be consistently wrong, so the expected MAC must come from the design or a separately confirmed peer identity.

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.

Step 3 Failure signatures and troubleshooting branches Narrow the fault

If the entry is incomplete or absent, determine whether ARP requests leave the interface and whether any reply returns. No request points back to routing/interface/stack state; request without reply points to VLAN, neighbor power/interface, L2 security, duplicate addressing or FHRP ownership. A reply with the wrong MAC can indicate stale state, duplicate IP, proxy ARP or unexpected gateway ownership; locate the MAC before clearing anything. If ARP looks correct but traffic still fails, inspect the switch MAC table, CEF adjacency and then the routed/policy path. Repeatedly clearing ARP can temporarily hide churn and destroys useful age/transition evidence.

Step 4 When the problem is really fixed Narrow the fault

After remediation, show the intended next-hop mapping is learned or statically present in the correct context, that the MAC resolves to the expected Layer-2 location and that the original IPv4 flow succeeds through the same route. If the issue involved FHRP or a duplicate IP, verify stability over enough time to cover the failover/refresh condition and check one neighboring host. show ip arp output is bounded local adjacency evidence only, but it does not show remote routing, NAT/firewall state, DNS or application health. Authored table examples do not count as a live observation or verification timestamp. If duplicate-IP or gateway ownership was involved, repeat the check after an aging/refresh interval and confirm the mapping does not revert. Validate the same next hop from another appropriate endpoint when available so a local cache coincidence is not mistaken for segment-wide recovery.

Step 5 Common mistakes Narrow the fault
  • Clearing the whole ARP cache on a busy router during business hours.
  • Static ARP entries left behind after hardware changes.
  • Different ARP timeouts on router and switch causing unicast flooding (set ARP timeout below MAC aging).
Command lookup Jump straight to Cisco syntax
Key points

ARP applies only to the local broadcast domain. Remote destination IPs normally resolve to the local router next-hop MAC, not the remote host MAC. A cached entry can also be stale or statically configured.

Key checks
  • show ip arp / show ip arp <ip> — IP-to-MAC entries, age and interface.
  • show ip arp summary — entry count and incomplete entries.
  • clear ip arp <ip> — remove one entry to force a new lookup.
  • Host: arp -a (Windows) / ip neigh (Linux) — the host's cache.
  • show mac address-table address <mac> — where that MAC is learned.
ReferenceWhy it matters1 section · depth on demand

When to use it

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

ReferenceImportant terms & boundaries4 sections · depth on demand

Key operational limits

  • 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.

In depth

How the ARP cache is filled and kept

RFC 826 defines how an ARP table gets its entries. When a packet arrives, the receiver first checks the hardware type and protocol. If the sender's protocol address is already in the table, it updates the stored hardware address. This merge step happens before the opcode is examined. Only if the receiver is the target does it add a new entry, and if the packet is a request it then sends a reply. The protocol leaves aging out of scope and suggests two approaches: refresh entries when traffic arrives, or probe the cached address and delete the entry when no reply comes.

Consequences of the RFC 826 algorithm

BehaviourPractical effect
Existing entries are updated by any ARP from that senderGratuitous ARP updates neighbours after a failover; it also enables ARP spoofing
New entries are only added when you are the targetHosts don't learn every sender on the LAN
Requests are broadcast, replies are unicastCaptures on other ports show only requests

Cache behaviour on common systems

SystemDefault lifetimeCommands
Cisco IOS XE4 hours (arp timeout 14400)show ip arp, clear ip arp <ip>
LinuxNeighbour states (REACHABLE, STALE) with reconfirmationip neigh show, ip neigh flush dev eth0
WindowsShort, randomised reachable timearp -a, netsh interface ip delete arpcache
R1# show ip arp 10.110.0.64
Protocol  Address          Age (min)  Hardware Addr   Type   Interface
Internet  10.110.0.64             3   a4bb.6d55.0164  ARPA   Vlan110
R1# show ip arp | include Incomplete
Internet  10.110.0.99             0   Incomplete      ARPA
R1(config)# interface Vlan110
R1(config-if)# arp timeout 1200
host$ ip neigh show 10.110.0.1
10.110.0.1 dev eth0 lladdr 00:00:0c:9f:f0:6e REACHABLE

ARP cache problems

SymptomLikely causeAction
Incomplete entryHost down, wrong VLAN, or a filter blocks ARPCheck the MAC table and the VLAN
Traffic goes to an old device after a moveA stale entry with a long timeoutClear the entry; send gratuitous ARP
A gateway's MAC changes unexpectedlyDuplicate IP or ARP spoofingDynamic ARP Inspection, DHCP snooping
Unknown unicast floodingARP timeout longer than the switch's MAC aging timeAlign the timers

Aligning ARP and MAC aging matters in practice. If the router keeps an ARP entry for 4 hours while the switch ages the MAC out after 5 minutes, traffic to quiet hosts is flooded across the VLAN.

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

The ARP cache stores recently resolved IPv4-to-MAC mappings so a device does not ARP for every packet. On Cisco IOS entries time out after 4 hours by default; on hosts usually after minutes.

show ip arp
show ip arp Vlan20
clear ip arp 10.20.0.15
interface Vlan20
 arp timeout 1200

Documented example, not captured output.

EntryMeaning
Age -Local interface address
Hardware address IncompleteRequest sent, no reply yet

A stale entry after a device or MAC change can black-hole traffic until it ages out; clear it or rely on gratuitous ARP from the new device.

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

Mechanics and state ownership

After the IPv4 routing decision chooses an on-link destination or next hop, Ethernet forwarding still needs a destination MAC address. ARP provides that mapping inside the local Layer-2 domain. A request commonly broadcasts the target protocol address and a reply supplies the mapping; the sender caches it for reuse. Routers keep ARP state per relevant interface/VRF context, and FHRP designs may intentionally map the default-gateway IP to a virtual MAC. Proxy ARP can answer on behalf of another address, which changes the mental model but not the need to show who actually answered. The cache is therefore derived adjacency state. Its presence says a mapping is known, not that the neighbor is alive now or that remote application traffic will succeed.

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 → ARP cache. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc791.html · confidence 94%
Embedded reference data

Quick lookup tables

ARP cache operational reference

Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.

ARP/cache stateLikely meaningRisk / ambiguityNext check
Complete expected MACMapping is available locallyNeighbor may still be down/staleSwitch MAC + controlled traffic
IncompleteResolution started but no usable replyVLAN/neighbor/security/FHRPObserve request/reply
Unexpected MACDifferent owner answeredDuplicate IP, proxy ARP, FHRP changeLocate MAC + gateway ownership
Very old/staticMapping persists without recent learnCan be stale by design/configValidate owner before clearing
Entry changes repeatedlyAdjacency ownership is unstableDuplicate/FHRP/churnCorrelate timestamps/logs
Confirmation

Confirm action

Continue?