DHCPv6 and SLAAC
Three independent settings
IPv6 can obtain addresses through Stateless Address Autoconfiguration (SLAAC), stateful DHCPv6 or manual configuration. Stateless DHCPv6 supplies additional settings without assigning addresses. Router Advertisements (RA) belong to ICMPv6 Neighbor Discovery; in ordinary automatic configuration they announce default routers and can carry prefix information. DHCPv6 does not normally supply the default gateway. A host may therefore have an IPv6 address and DNS settings but lack a usable default route.
Compare DHCPv6 message flows
A conventional stateful exchange uses Solicit, Advertise, Request and Reply. An Information-request and Reply can obtain settings without an address assignment. Rapid Commit can shorten a supported exchange. DHCPv6 uses UDP 546 for clients and 547 for servers and relays; initial discovery uses IPv6 multicast rather than broadcast. A relay encapsulates messages in Relay-forward and Relay-reply. Client identification uses a DHCP Unique Identifier (DUID); identity associations distinguish managed resources. RFC 9915 (January 2026) supersedes RFC 8415; older software documentation may use the previous specification. RFC 9915 retires DHCPv6 temporary-address assignment through IA_TA and the Server Unicast option with its UseMulticast status code. This does not retire temporary addresses formed by SLAAC. The stateful and stateless message sequences shown here remain the ordinary teaching cases; check implementation support independently.
Stateful: Solicit -> Advertise -> Request -> ReplyStateless: Information-request -> ReplyInterpret an RA without assuming client behavior
The M flag indicates managed address configuration is available; O indicates other DHCPv6 information is available. The A flag in a Prefix Information option permits autonomous address configuration for that prefix; L indicates on-link information. These are separate signals, and operating systems and local policy affect actual behavior. A typical SLAAC LAN uses a /64 prefix, with duplicate address detection before normal use. Router Lifetime controls eligibility of the advertising router as a default router; a lifetime of zero does not invalidate every advertised prefix. RDNSS options may advertise DNS resolver addresses directly through RA.
Prefix delegation is not a host address
In a fictional branch network, a downstream router receives 2001:db8:1200::/56 using DHCPv6 prefix delegation (IA_PD). It may allocate distinct /64 LANs from that block, for example 2001:db8:1200:1::/64 and 2001:db8:1200:2::/64. A /56 contains 256 aligned /64s. IA_NA instead concerns non-temporary addresses. Delegation needs appropriate routing and downstream RA policy; it is not an instruction to assign the entire /56 as a single host address.
Find the missing default route
A fictional client receives 2001:db8:10::25 and DNS 2001:db8:10::53 through DHCPv6. Its only RA has Router Lifetime 0 and there is no static default route or other router. Explain why off-link traffic may fail: no automatic default router is available despite address and DNS configuration. Examine RA and routes before blaming DHCPv6. See RFC 9915, RFC 4861, RFC 4862 and RFC 8106. Next: DNS from zero to operations.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
DHCPv6 and SLAAC — knowledge check
Apply DHCP and address-management concepts to fictional scenarios.
Which protocol normally announces IPv6 default routers?
Which RA prefix flag permits SLAAC for that prefix?
Which exchange can request extra settings without a DHCPv6 address allocation?
How many aligned /64 LAN prefixes fit in a delegated /56?
The only RA has Router Lifetime 0 and no static default exists. The host has a DHCPv6 address. What is missing?