Pcornel
Networking · Security › First Hop Security / IPv6 RA Guard

Neighbor Discovery Inspection

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

Back to the Topic

Answer

Neighbor Discovery Inspection validates ND messages against a binding table learned from DHCPv6 and ND, dropping spoofed neighbor advertisements, similar to DAI for IPv4.

Remember

  • Trust only router-facing ports; host-facing ports should not originate valid RAs
  • Define policy and attachment separately
  • Extension headers and fragmented ND handling depend on platform capability
  • RA Guard complements DHCPv6 Guard, ND inspection and source binding; it does not replace them.

First checks

  • show ipv6 neighbors binding — binding table
  • show device-tracking database — entries

Commands

show device-tracking database
show device-tracking policies

Verify in this order

ND message → binding check → permit/drop

Where it usually breaks

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

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

Confirmation

Confirm action

Continue?