Pcornel
Networking · IP Fundamentals › IPv6 › Neighbor Discovery

Router Advertisement

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

Back to the Topic

Answer

A Router Advertisement (ICMPv6 type 134) is sent periodically or on request by routers, announcing the on-link prefix, the default router and the M/O flags that tell hosts how to configure addresses.

Remember

Contents: prefix with on-link (L) and autonomous (A) flags, router lifetime (0 = not a default router), M flag (get addresses from DHCPv6) and O flag (get other info such as DNS from DHCPv6), and optionally RDNSS (DNS servers). Change them under the interface: ipv6 nd managed-config-flag, ipv6 nd other-config-flag, ipv6 nd prefix ... no-autoconfig. A rogue RA can redirect a whole VLAN — use RA Guard.

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

ip -6 route

Verify in this order

router sends RA (periodic or after RS) → prefix, router lifetime and M/O flags → hosts configure addresses (SLAAC/DHCPv6) and default route → RA Guard blocks rogue sources

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=950

Confirmation

Confirm action

Continue?