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.
ARP cache
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).
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
Operational reference
Fast context before you go deeper.
show ip arpShow Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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
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).
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.
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
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
| Behaviour | Practical effect |
|---|---|
| Existing entries are updated by any ARP from that sender | Gratuitous ARP updates neighbours after a failover; it also enables ARP spoofing |
| New entries are only added when you are the target | Hosts don't learn every sender on the LAN |
| Requests are broadcast, replies are unicast | Captures on other ports show only requests |
Cache behaviour on common systems
| System | Default lifetime | Commands |
|---|---|---|
| Cisco IOS XE | 4 hours (arp timeout 14400) | show ip arp, clear ip arp <ip> |
| Linux | Neighbour states (REACHABLE, STALE) with reconfirmation | ip neigh show, ip neigh flush dev eth0 |
| Windows | Short, randomised reachable time | arp -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
| Symptom | Likely cause | Action |
|---|---|---|
Incomplete entry | Host down, wrong VLAN, or a filter blocks ARP | Check the MAC table and the VLAN |
| Traffic goes to an old device after a move | A stale entry with a long timeout | Clear the entry; send gratuitous ARP |
| A gateway's MAC changes unexpectedly | Duplicate IP or ARP spoofing | Dynamic ARP Inspection, DHCP snooping |
| Unknown unicast flooding | ARP timeout longer than the switch's MAC aging time | Align 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.
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.
| Entry | Meaning |
|---|---|
Age - | Local interface address |
Hardware address Incomplete | Request 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.
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
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%Quick lookup tables
ARP cache operational reference
Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.
| 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 |