Networking · IP Fundamentals › IPv6 › IPv6 SLAAC / DHCPv6
Stateful DHCPv6
Cheat sheet · https://pcornel.dk/topic.php?topic=2636
Answer
Stateful DHCPv6 (RA M flag set) assigns IPv6 addresses and options from a server that tracks leases; hosts still learn the default gateway from Router Advertisements.
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 dhcp binding— leasesshow ipv6 dhcp pool— address prefix and lifetimes
Commands
show ipv6 dhcp bindingshow ipv6 dhcp interface Vlan10show ipv6 dhcp relay binding
Verify in this order
RA M=1 → solicit → advertise → request → reply → lease
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=2636