Pcornel
Networking · IP Fundamentals › IPv6

IPv6 SLAAC / DHCPv6

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

Back to the Topic

Answer

IPv6 hosts combine Router Advertisements, SLAAC and optionally stateless or stateful DHCPv6 to obtain addressing and other parameters.

Remember

  • RA supplies prefix and default-router information
  • M/O flags signal DHCPv6 expectations but do not themselves lease data
  • Stateless DHCPv6 supplies options; stateful DHCPv6 can lease addresses
  • DHCPv6 does not supply the default gateway
  • DUID/IAID, relay context, lifetimes, privacy addresses and DAD affect observed state.

First checks

  • show ipv6 interface <interface> — RA settings, flags
  • show ipv6 dhcp binding — stateful leases
  • show ipv6 dhcp pool — pool config

Commands

show ipv6 interface <interface>
Local state
ip -6 addr
show ipv6 interface vlan 10
show ipv6 dhcp binding

Verify in this order

RA (prefix, flags) → SLAAC and/or DHCPv6 → address + DNS → gateway from RA

Where it usually breaks

local configuration → reachability/transport → request/negotiation → server or policy decision → response/state installation → client-visible result

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

Confirmation

Confirm action

Continue?