Pcornel
Networking · IP Fundamentals › IPv6 › IPv6 SLAAC / DHCPv6

SLAAC

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

Back to the Topic

Answer

Stateless Address Autoconfiguration (SLAAC) lets a host build its own IPv6 address from the /64 prefix in a Router Advertisement plus an interface ID, and use the advertising router as default gateway.

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> — prefix advertised
  • Client: ip -6 addr / ipconfig — autoconfigured address

Commands

ip -6 addr
show ipv6 interface
ip -6 addr show dev eth0
show ipv6 interface Vlan10
show ipv6 interface brief

Verify in this order

RA prefix /64 → host interface ID → DAD → address

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

Confirmation

Confirm action

Continue?