Pcornel
Networking · IP Fundamentals › IPv6 › Neighbor Discovery

Neighbor Solicitation

Cheat sheet · https://pcornel.dk/topic.php?topic=947

Back to the Topic

Answer

A Neighbor Solicitation asks for or validates IPv6 neighbor ownership/reachability. It replaces only part of ARP semantics and also participates in Duplicate Address Detection and Neighbor Unreachability Detection.

Remember

Neighbor Discovery is ICMPv6 and is essential protocol machinery, not optional “ping traffic.” Filtering NS/NA can break address resolution and reachability while IPv4 on the same link still works.

First checks

  • show ipv6 neighbors <if> — neighbour entries and their state.
  • show ipv6 interface <if> — ND reachable time, RA interval, DAD attempts, joined solicited-node groups.
  • show ipv6 routers — routers this device learned from RAs.
  • debug ipv6 nd — ND messages sent and received (briefly).
  • Capture filter icmp6 (tcpdump) / icmpv6.type in {133 134 135 136} (Wireshark).
  • Host: ip -6 neigh (Linux) / netsh interface ipv6 show neighbors (Windows).

Commands

show ipv6 neighbors
Inspect IPv6 neighbor cache state and L2 mappings.

Verify in this order

NS to the solicited-node multicast address → target replies with NA and its MAC → entry REACH → ages to STALE → NUD probes before reuse

Where it usually breaks

physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result

Neighbor Solicitation operational reference

NS contextSource / destination clueWhat to expectNext check
Address resolutionNormal source → solicited-node multicastMatching NA + usable cacheNA + MAC/interface
NUD probeKnown source → often unicast neighborReachability confirmationNA + NUD state transition
DADSource :: for tentative targetNo conflicting ownerConflicting NS/NA + MAC
NS absentNo type 135 at egressRoute/interface/stack issue possibleRoute and on-link decision
NS repeated, no NAResolution cannot completeL2/target/ICMPv6/securityCapture at target side

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=947

Confirmation

Confirm action

Continue?