ARP cache
Cheat sheet · https://pcornel.dk/topic.php?topic=936
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 showip 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 state | Likely meaning | Risk / ambiguity | Next check |
|---|---|---|---|
| Complete expected MAC | Mapping is available locally | Neighbor may still be down/stale | Switch MAC + controlled traffic |
| Incomplete | Resolution started but no usable reply | VLAN/neighbor/security/FHRP | Observe request/reply |
| Unexpected MAC | Different owner answered | Duplicate IP, proxy ARP, FHRP change | Locate MAC + gateway ownership |
| Very old/static | Mapping persists without recent learn | Can be stale by design/config | Validate owner before clearing |
| Entry changes repeatedly | Adjacency ownership is unstable | Duplicate/FHRP/churn | Correlate 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