Use it when a route selects the correct connected interface but local next-hop adjacency or duplicate-address behavior is wrong.
ARP (Address Resolution Protocol)
ARP resolves an on-link IPv4 next-hop address to a Layer-2 address through requests, replies and a timed cache.
1. ARP maps IPv4 addresses to MAC addresses on a LAN.
2. Request is broadcast, reply unicast.
3. Cisco ARP timeout is 4 hours.
4. Incomplete entries mean no reply.
5. Gratuitous ARP announces or detects duplicates.
need MAC for IP → ARP request → reply → cache → frame sent
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.
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
clear arp-cachePrimary Commands
Configuration and operational commands for this Topic.
Show Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
show arpShowDisplay the ARP cache.
Use when: Use at the Network Troubleshooting, Ping, Traceroute and Debugging boundary after prerequisite state is verified.
Quick note: Operational guidance. One successful probe does not prove all sources, packet sizes, protocols, directions or times are healthy.
Cisco IOS / IOS XE · mixedshow ip arpShowIPv4 ARP cache mappings.
Use when: Use at the ARP boundary after prerequisite state is verified.
Quick note: Operational guidance. An ARP entry proves a learned mapping, not that it is trustworthy or that remote routing and application service work.
Cisco IOS XE · mixedVerification & 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 Verification and output interpretation Verify boundary
Use show ip arp or show arp to inspect protocol address, learned hardware address, age and associated interface. Start by confirming that the target IPv4 address should actually be on-link according to the route table and interface prefix; otherwise there should be no ARP resolution for the remote destination itself, only for the routed next hop. A healthy dynamic entry has a plausible MAC address on the expected interface/VLAN and can normally be correlated with the switch MAC table when the endpoint is locally attached. When evaluating change over time, distinguish an absent entry because no traffic has attempted resolution from repeated incomplete or unresolved behavior. Clearing the ARP cache is a state-changing diagnostic action because the next packet forces fresh resolution; collect the pre-clear entry and relevant route/interface state first if historical state matters.
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.
Path: Networking → IPv4 → ARP. Local intent: ARP: ARP request, ARP reply, ARP cache.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
Subtopics
Go one level deeper into this subject.
An ARP request is a broadcast asking "who has this IPv4 address?" on the local segment, sent when a host needs the MAC address of a destination or of its default gateway.
Subtopic ARP replyAn ARP reply is the unicast answer from the host that owns the requested IPv4 address, giving its MAC address so the sender can build the Ethernet frame and cache the mapping.
Subtopic ARP cacheThe ARP cache stores IPv4-to-link-layer neighbor mappings learned or configured for directly reachable peers so the forwarding plane can build Ethernet frames for the selected next hop.
Recognize the symptom, then prove the boundary
Observed symptom → candidate boundary → discriminating check → original-test closure. A signature narrows the search; it never proves root cause by itself.
ARP entry remains incomplete
The device knows the target IPv4 address but cannot resolve a usable MAC address.
wrong VLAN/L2 path · target offline · ARP filtering/security · duplicate/wrong addressing
prove local subnet/VLAN assumption → check MAC learning → capture/observe ARP request and reply direction
Incomplete ARP does not prove a routing failure.
Repeat the original failing test after the minimum controlled change before calling recovery verified.ARP/MAC identity moves unexpectedly
The same endpoint identity appears to move between interfaces or MAC mappings.
duplicate IP · L2 loop · endpoint move · HA/failover event
correlate ARP and MAC tables → check move frequency/timestamps → verify endpoint ownership before clearing state
A changed mapping does not by itself prove an attack or loop.
Repeat the original failing test after the minimum controlled change before calling recovery verified.show ip arp— ARP cacheshow ip arp <ip>— one entryclear ip arp <ip>— refresh entry
ReferenceImportant terms & boundaries4 sections · depth on demand
In depth
ARP maps an IPv4 address to an Ethernet MAC address so a frame can be sent on the local link. RFC 826 describes the exchange: a host without a cache entry broadcasts an ARP request to all stations; the owner of the target address replies directly (unicast) to the requester. ARP has its own EtherType and fields for hardware type, protocol type, address lengths, opcode (request or reply) and the sender and target addresses.
Receiving rules (RFC 826)
| Step | Action |
|---|---|
| 1 | If the sender's address is already in the table, update its MAC (merge) |
| 2 | If this host is the target and no merge happened, add the sender |
| 3 | If it's a request, swap sender and target fields, set opcode to reply, send it back |
The sender is learned before the opcode is checked, because communication is assumed to be two-way.
Packet fields (RFC 826)
| Field | Ethernet/IPv4 value |
|---|---|
| Hardware type | 1 (Ethernet) |
| Protocol type | 0x0800 (IPv4) |
| Hardware / protocol length | 6 / 4 |
| Opcode | 1 request, 2 reply |
| Sender MAC / IP | Requester |
| Target MAC / IP | Unknown (zero) in requests / target IP |
host$ ip neigh show 10.110.0.1
10.110.0.1 dev eth0 lladdr a4:bb:6d:10:01:10 REACHABLE
host$ sudo tcpdump -ni eth0 arp -c 2
10:41:22.100 ARP, Request who-has 10.110.0.1 tell 10.110.0.64, length 28
10:41:22.101 ARP, Reply 10.110.0.1 is-at a4:bb:6d:10:01:10, length 28
R1# show ip arp GigabitEthernet0/0/2.110
Protocol Address Age (min) Hardware Addr Type Interface
Internet 10.110.0.1 - a4bb.6d10.0110 ARPA Gi0/0/2.110
Internet 10.110.0.64 12 5054.0012.3456 ARPA Gi0/0/2.110
Related behaviours
| Behaviour | Use or risk |
|---|---|
| Gratuitous ARP | Announces an address (failover, duplicate detection) |
| Proxy ARP | Router answers for remote hosts; usually disable on edges |
| ARP spoofing | Forged replies redirect traffic; Dynamic ARP Inspection blocks it |
| Cache timeouts | Cisco default 4 hours; hosts much shorter |
ARP only works within a broadcast domain; to reach other subnets, hosts ARP for their default gateway.
Documented example, not captured output.
Quick reference
ARP (Address Resolution Protocol) maps an IPv4 address on the local subnet to a MAC address. A host broadcasts "who has 10.20.0.1?", the owner replies with its MAC, and both cache the result.
| ARP type | Use |
|---|---|
| Request (broadcast) | Find the MAC for an IP |
| Reply (unicast) | Answer with own MAC |
| Gratuitous ARP | Announce/refresh own mapping (failover, duplicate detection) |
| Proxy ARP | Router answers for another network (legacy) |
show ip arp
clear ip arp 10.20.0.15
Documented example, not captured output.
Hosts ARP for the default gateway when the destination is outside their subnet, not for the destination itself.
State model and protocol mechanics
ARP operates only for IPv4 neighbors that a device considers directly reachable on a local Layer 2 segment. Before an Ethernet frame can be sent to an on-link destination or to the selected default gateway, the sender needs a destination MAC address. It checks its ARP cache, broadcasts an ARP request when no usable mapping exists, and learns the sender protocol/hardware information from valid replies. Routing and ARP therefore solve different problems: the route lookup selects an outgoing interface and next-hop IPv4 address, while ARP resolves that selected on-link next hop to a Layer 2 destination. Dynamic entries age and can be refreshed by subsequent traffic; static entries do not follow the same learning lifecycle. Proxy ARP deliberately changes the apparent adjacency boundary by allowing a router to answer on behalf of another address, which is why an ARP reply is evidence about local resolution rather than evidence that the final IP endpoint is physically present on the segment.
Limits and common misconceptions
An ARP entry is not an end-to-end reachability test. It shows only that an IPv4-to-MAC mapping is currently present for a local adjacency, and even that mapping can be stale until traffic revalidates it. A successful ARP request does not show that the remote application, return route, ACL or upstream routing is correct. Conversely, no ARP entry for a remote subnet is normal when packets are sent to a gateway. Do not confuse ARP with DNS: DNS maps names to IP addresses, while ARP maps an on-link IPv4 next hop to a Layer 2 address. Do not confuse ARP with the switch MAC table either; the two tables can disagree temporarily because they age and learn from different events. The useful evidence chain is route lookup → selected on-link next hop → ARP mapping → switch forwarding → higher-layer reachability.
ReferenceConfiguration & state1 section · depth on demand
Design and configuration model
Most ARP behavior is implicit once an IPv4 address and subnet mask are configured correctly on an interface. Design quality therefore depends heavily on correct addressing, VLAN membership, gateway placement and a clear decision about whether features such as proxy ARP, static ARP entries or security inspection are required. Avoid using static entries as a general cure for unstable reachability because they can mask the actual ownership or Layer 2 problem and create operational debt when interfaces or endpoints move. In switched networks, keep the distinction between the switch MAC address table and the router ARP cache explicit: the ARP table maps IPv4 to MAC, while the switch forwarding table maps MAC to switchport. Features such as DHCP Snooping and Dynamic ARP Inspection can add trust validation around ARP, but they do not replace the normal route-selection and neighbor-resolution model.
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. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc791.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
ARP evidence chain
Configuration, operational state, counters and downstream proof remain separate.
| Boundary | Question | Evidence | Does not prove |
|---|---|---|---|
| Definition | What is configured or intended? | running configuration / controller policy | live operation |
| Local state | Is the feature active at the expected scope? | show ip arp | remote success |
| Counters | Did controlled traffic or an event reach this stage? | scoped counters/timestamps | complete return path |
| Next boundary | What consumes or transports this state? | route lookup → connected next hop → ARP request → ARP reply/cache → adjacency → Ethernet forwarding | application success |
ARP · operational reference
Compact state and interpretation boundaries for fast lookup.
| 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 |