Stateless DHCPv6
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show ipv6 dhcp poolVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Checks Verify boundary
show ipv6 dhcp pool
show ipv6 dhcp interface vlan 10
ipconfig /all # client: DNS servers learned
Clients send Information-Request messages; the server replies with options only. Missing DNS on clients usually means O flag not set or no DHCPv6 server/relay on the link.
Step 2 Verification & troubleshooting Narrow the fault
1. Capture RA prefix, A/M/O flags and lifetime.
2. Verify host address construction and DAD.
4. Check DNS and default route.
5. Confirm renewal and relay behavior.
Step 3 Common mistakes Narrow the fault
- O flag not set, so clients never ask for DNS servers.
- Expecting stateless DHCPv6 to hand out addresses.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- 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.
show ipv6 dhcp pool— DNS optionsshow ipv6 interface <interface>— O flag set
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Stateless DHCPv6: addresses from SLAAC, settings from DHCPv6
RFC 8415 describes stateless DHCPv6 as needing only two messages: Information-request from the client and Reply from the server, returning other configuration such as DNS servers. The server keeps no per-client state and assigns no addresses. Hosts start it when the RA has the O flag set, while forming their addresses with SLAAC.
R1(config)# ipv6 dhcp pool STATELESS
R1(config-dhcpv6)# dns-server 2001:db8:50::53
R1(config-dhcpv6)# dns-server 2001:db8:51::53
R1(config-dhcpv6)# domain-name corp.example.com
R1(config)# interface Vlan20
R1(config-if)# ipv6 address 2001:db8:20::1/64
R1(config-if)# ipv6 nd other-config-flag
R1(config-if)# ipv6 dhcp server STATELESS
R1# show ipv6 dhcp pool
DHCPv6 pool: STATELESS
DNS server: 2001:DB8:50::53
DNS server: 2001:DB8:51::53
Domain name: corp.example.com
Active clients: 0
host$ sudo tcpdump -n -i eth0 udp port 546 or udp port 547
IP6 fe80::5054:ff:fe1a:2b3c.546 > ff02::1:2.547: dhcp6 inf-req
IP6 fe80::a6bb:6dff:fe33:4444.547 > fe80::5054:ff:fe1a:2b3c.546: dhcp6 reply
Active clients: 0 is expected: a stateless pool doesn't track clients.
Message flow (RFC 8415)
| Message | From → to | Ports |
|---|---|---|
| Information-request | Client → FF02::1:2 (all DHCPv6 relay agents and servers) | UDP 546 → 547 |
| Reply | Server → client | UDP 547 → 546 |
Stateless DHCPv6 versus RDNSS in the RA
| Stateless DHCPv6 | RDNSS (RA option) | |
|---|---|---|
| Extra server needed | Yes (or the router) | No |
| Options available | Many (DNS, domain, NTP, SIP, …) | DNS servers and search list |
| Platform support | Not Android | All modern platforms |
Many networks send both, so every host gets DNS servers either way.
Troubleshooting
| Symptom | Check |
|---|---|
| Hosts have addresses but no DNS | O flag not set, DHCPv6 server not answering, or RDNSS missing |
| No Information-request seen | Host ignores O (Android), or the RA hasn't arrived |
| Request seen, no reply | Pool not attached to the interface, or relay misconfigured |
Documented example, not captured output.
Quick reference
Stateless DHCPv6 is the middle ground between pure SLAAC and stateful DHCPv6. Hosts still pick their own addresses from the RA prefix, but they ask a DHCPv6 server for settings such as DNS servers and search domains. The server keeps no lease table, so it is simple to run and scales easily, but it also means DHCP logs cannot tell you which host used which address.
Stateless DHCPv6 provides options (DNS servers, domain search list, NTP) without tracking leases; hosts still form addresses via SLAAC (RA with O=1).
ipv6 dhcp pool STATELESS
dns-server 2001:db8::53
domain-name corp.example.com
interface Vlan20
ipv6 dhcp server STATELESS
ipv6 nd other-config-flag
Low overhead and simple, but the network does not know which addresses hosts chose — use ND/device-tracking logs or NetFlow for address attribution.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in IP Fundamentals → IPv6 → IPv6 SLAAC / DHCPv6 → Stateless DHCPv6. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc8200.html · confidence 94%