Pcornel
Networking · Network & Protocols › IPv6 Protocol Reference

IPv6 Router Advertisement Policy

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

Back to the Topic

Answer

How hosts get their IPv6 address, default router and DNS server is decided on the router, through the Router Advertisements it sends per interface: SLAAC, SLAAC with stateless DHCPv6, or stateful DHCPv6.

Remember

Pick one model per VLAN — the autonomous and managed flags together give hosts two addresses. All routers on a link must advertise the same flags and prefixes. Android needs SLAAC and DNS in the advertisement. Any device can send advertisements; RA Guard stops the unwanted ones.

First checks

  • show ipv6 interface <interface> — what this router advertises.
  • show ipv6 routers — every other advertisement source on the links, with flags and prefixes.
  • On a host: its addresses, default route and DNS servers, checked separately.

Commands

show ipv6 routers

Verify in this order

addressing model chosen per VLAN → flags and prefix configured alike on every router of the link → no unknown advertisement sources → host obtains the intended address type, one default router and DNS

Where it usually breaks

packet selector → class match → marking → policy attachment → queue/policer/shaper → egress counters/drops → receiver behavior

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

Confirmation

Confirm action

Continue?