Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

ARP & IPv6 Neighbor Discovery

Direct answer

Before a device can send an IP packet to a neighbour on the same network it needs the neighbour's MAC address. IPv4 finds it with ARP, IPv6 with Neighbor Discovery: ask the local network who has the address, and cache the answer.

When to use this

Use it when a router has a correct route and still cannot deliver, or when a host reaches its own subnet and nothing beyond.

First 30 seconds

1. ping <ip>, then show ip arp <ip> — an entry with a MAC address, or Incomplete?

2. Incomplete → target down, in another VLAN, or holding a different address.

3. MAC address present → show mac address-table address <mac>: on the expected port?

4. Unexpected MAC → a duplicate address, or a router answering by proxy ARP.

5. Stale entry after replacing a device → clear ip arp <ip>.

Operational verification

destination on a connected subnet (or next hop known) → request sent on the segment → target in the same VLAN answers → entry cached with the right MAC address → frames delivered to that MAC

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard
Key commandshow ip arp 10.20.0.50
Scope / prerequisiteUse it when a router has a correct route and still cannot deliver, or when a host reaches its own subnet and nothing be…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification Verify boundary
show ip arp 10.20.0.50
show ip arp GigabitEthernet0/0
show ipv6 neighbors
show mac address-table address 0011.2233.4455
ping 10.20.0.50

The ARP table shows the address, its age in minutes, the MAC address and the interface; "Incomplete" in place of the MAC address means a request was sent and not answered. The IPv6 neighbour table shows the equivalent with a state per entry. The MAC address table on the switch shows the port behind which that MAC address lives. A ping triggers resolution if no entry exists.

Known-good: the next hop or host has an entry with the expected MAC address on the expected interface, and the switch sees that MAC on the expected port.

Step 2 Failure boundaries & design notes Narrow the fault
  • The entry is Incomplete. The target does not answer: it is down, in another VLAN, has a different address, or the request does not reach it.
  • The entry shows an unexpected MAC address. Another device answers for that IP — a duplicate address, or a router doing proxy ARP.
  • Connectivity comes and goes. Two devices share an IP address and the cache alternates between them.
  • A host reaches its own subnet but nothing beyond. It cannot resolve its default gateway, or the gateway address is wrong.
  • A host with a wrong mask "works" anyway. Proxy ARP on the router covers for it; it will break when proxy ARP is disabled.
  • After replacing a device, neighbours cannot reach the address for a while. They still hold the old MAC address; clear the entry or wait for it to age out.
  • IPv6 resolution fails while IPv4 works. ICMPv6 or multicast is filtered on the segment.
Evidence references

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.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points

An Incomplete ARP entry (or INCMP in IPv6) means the target did not answer — a problem on the local segment, not in routing. A host resolves the destination itself only inside its own subnet; otherwise it resolves its default gateway. Two MAC addresses alternating for one IP is a duplicate address.

Key checks
  • show ip arp <ip> — MAC address, age and interface, or "Incomplete".
  • show ipv6 neighbors — the IPv6 equivalent, with a state per entry.
  • show mac address-table address <mac> — the switch port behind which that MAC lives.
  • ping <ip> — triggers resolution if no entry exists.
ReferenceWhat it is1 section · depth on demand

Mechanics & mental model

Before a device can send an IP packet to a neighbour on the same network, it needs the neighbour's MAC address. In IPv4 it finds it with ARP; in IPv6 with Neighbor Discovery. Both ask "who has this IP address?" on the local network and cache the answer.

ReferenceWhy it matters1 section · depth on demand

Why it matters operationally

This step sits between routing and delivery, and it fails independently of both. A router can have a perfect route and still be unable to deliver, because the next hop or the final host does not answer the question. An incomplete entry in the ARP or neighbour table is the sign — and it says the problem is on the local segment, not in routing.

ReferenceHow it works1 section · depth on demand

Operational flow & dependencies

When it happens. A host compares the destination with its own subnet. If the destination is on the same subnet, it resolves the destination's own address. If not, it resolves the address of its default gateway and sends the packet there. A router does the same for each hop: the next hop's address, or the final host's when the destination network is directly connected.

ARP (IPv4).

1. The sender broadcasts an ARP request: "who has 10.20.0.50? Tell 10.20.0.1."

2. Every device in the VLAN receives it; only the owner answers, with a unicast reply containing its MAC address.

3. The sender stores the pair in its ARP cache. Cisco routers keep an entry for four hours by default; hosts usually for a few minutes.

Neighbor Discovery (IPv6) works the same way with ICMPv6 messages, sent to a multicast address that only a few devices listen to instead of to everyone, and it actively re-checks entries before relying on old ones.

Related behaviour.

  • Gratuitous ARP. A device announces its own address without being asked — at start-up, or when an address moves to another device, as at a gateway failover. Neighbours update their caches.
  • Proxy ARP. A router answers ARP requests for addresses on other networks with its own MAC address. It is enabled by default on Cisco interfaces and hides misconfigured masks and gateways on hosts; no ip proxy-arp turns it off.
  • Duplicate addresses. Two devices answering for the same IP make neighbours' caches alternate between two MAC addresses. Cisco routers log a duplicate-address message when they see their own address used by another MAC.

What must be true for resolution to work: both devices are in the same VLAN, the switch forwards the request and the reply, and the target is up and holds the address.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

ARP and IPv6 Neighbor Discovery side by side

Both protocols answer the same question: which MAC address belongs to this IP address on the local link? RFC 826 defines ARP:

  • A request goes out as a broadcast with the sender's IP and MAC addresses and the target IP address.
  • The target replies directly by unicast.
  • Receivers update an existing cache entry for the sender before looking at the opcode.
  • New entries are added only when the receiver is the target.

IPv6 replaces ARP with Neighbor Discovery (ICMPv6 NS and NA, RFC 4861). ND uses solicited-node multicast instead of broadcast, and adds reachability tracking.

ARP compared with Neighbor Discovery

ARP (IPv4)ND (IPv6)
TransportDirectly in Ethernet (EtherType 0x0806)ICMPv6 inside IPv6
Request sent toBroadcast ff:ff:ff:ff:ff:ffSolicited-node multicast ff02::1:ffXX:XXXX
ReplyUnicast ARP replyUnicast Neighbor Advertisement
Reachability trackingAging timer onlyNUD states (REACHABLE, STALE, DELAY, PROBE)
Duplicate detectionGratuitous ARP (informal)DAD (required)
ProtectionDAI, DHCP snoopingRA Guard, ND inspection, SEND

Cache commands

TaskIPv4 (Cisco / Linux)IPv6 (Cisco / Linux)
Showshow ip arp / ip neigh showshow ipv6 neighbors / ip -6 neigh show
Clear an entryclear ip arp <ip> / ip neigh delclear ipv6 neighbors / ip -6 neigh flush
Timerarp timeout <s>ipv6 nd reachable-time, ipv6 nd cache expire
R1# show ip arp Vlan110 | include 10.110.0.64|Incomplete
Internet  10.110.0.64   3   a4bb.6d55.0164  ARPA   Vlan110
R1# show ipv6 neighbors Vlan110 | include 2001:DB8:110::64
2001:DB8:110::64        0 a4bb.6d55.0164  REACH Vl110
host$ ip neigh show dev eth0
10.110.0.1 lladdr 00:00:0c:9f:f0:6e REACHABLE
host$ ip -6 neigh show dev eth0
fe80::1 lladdr 00:00:0c:9f:f0:6e router REACHABLE

Why the update-first rule matters (RFC 826)

Because any ARP packet updates an existing entry for its sender, gratuitous ARP after a failover quickly moves traffic to the new device. It also explains why ARP spoofing works without protection like DAI.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

ARP (IPv4) and Neighbor Discovery (IPv6) resolve an IP address on the local link to a MAC address. ARP uses broadcast requests and unicast replies; ND uses ICMPv6 Neighbor Solicitation to a solicited-node multicast address and Neighbor Advertisement replies, and also handles router discovery, SLAAC prefixes and duplicate address detection.

FunctionIPv4IPv6
Address resolutionARP request/replyNS/NA
Router discoveryDHCP/staticRS/RA
Duplicate detectionGratuitous ARPDAD (NS)
CacheARP tableNeighbor cache (states)
show ip arp 10.20.4.15
show ipv6 neighbors Gi0/1

Documented example, not captured output.

An incomplete entry means the request got no answer — check VLAN, the host and filtering such as DAI.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 8200

Authoritative/upstream documentation reviewed for bounded claims in Network & Protocols → ARP & IPv6 Neighbor Discovery. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc8200.html · confidence 94%
Technical changelog & impact

What changed and what may be affected

Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
Terminology layer

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.

Aliases that resolve here
arpneighbor discoveryndndpneighbor cachensnarouter advertisement
Embedded quick reference

Operational notes

Former standalone Cheat Sheet content now lives directly inside the Topic where it belongs.

ARP / ND Fast Check

IPv4 ARP and IPv6 neighbor lookup

1. Confirm route/next hop.

2. Inspect show ip arp / ip neigh / Get-NetNeighbor.

3. Verify VLAN and interface.

4. Look for incomplete/failed/stale neighbor state.

5. Capture ARP or ICMPv6 NS/NA.

6. Check duplicate address/MAC evidence.

Evidence chain: Route → Neighbor → L2 → Packet → Reply.

Confirmation

Confirm action

Continue?