Networking · IP Fundamentals › IPv4
ARP (Address Resolution Protocol)
Cheat sheet · https://pcornel.dk/topic.php?topic=566
Answer
ARP resolves an on-link IPv4 next-hop address to a Layer-2 address through requests, replies and a timed cache.
Remember
- 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.
First checks
show ip arp— ARP cacheshow ip arp <ip>— one entryclear ip arp <ip>— refresh entry
Commands
show ip arp- IPv4 ARP cache mappings.
show arp- Display the ARP cache.
clear arp-cache- Clear dynamic ARP entries so the device resolves addresses again.
Verify in this order
need MAC for IP → ARP request → reply → cache → frame sent
Where it usually breaks
physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result
ARP · operational reference
| Evidence | What it proves | What it does not prove |
|---|---|---|
| Route points to connected segment | Destination/next hop is considered on-link | ARP mapping exists |
| ARP entry present | IPv4-to-MAC mapping is cached | End-to-end IP/application health |
| MAC learned on expected port | Layer 2 forwarding location is known | IP ownership is correct |
| Fresh ARP after cache clear | Resolution can currently complete | Remote path beyond next hop works |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=566