Pcornel
Networking · IP Fundamentals › IPv4 › ARP

ARP cache

Cheat sheet · https://pcornel.dk/topic.php?topic=936

Back to the Topic

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.

Remember

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.

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

Commands

show ip arp
IPv4 ARP cache mappings.
clear ip arp <ip>
ip neigh show
ip neigh flush dev eth0

Verify in this order

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

Where it usually breaks

physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result

ARP cache operational reference

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

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=936

Confirmation

Confirm action

Continue?