Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Stateful DHCPv6

Direct 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.

When to use this

Use it when IPv6 addresses must be assigned and tracked centrally by a DHCPv6 server.

First 30 seconds

1. Stateful DHCPv6 assigns addresses and records leases (M flag).

2. Gateway still from RA.

3. Useful for tracking.

4. Not supported on Android.

5. Check leases and pool.

Operational verification

RA M=1 → solicit → advertise → request → reply → lease

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Stateful DHCPv6 pitfalls
  • Android clients do not use stateful DHCPv6 (no address).
  • Default route still requires RAs; disabling RAs breaks connectivity.
  • Reservations by MAC do not work like DHCPv4 — use DUID.
  • Hosts also creating SLAAC addresses because the A flag is still set.
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard · IOS/IOS XE
Scope / prerequisiteUse it when IPv6 addresses must be assigned and tracked centrally by a DHCPv6 server.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Configuration and checks Verify boundary
ipv6 dhcp pool LAN10
 address prefix 2001:db8:10::/64
 dns-server 2001:db8:53::53
interface Vlan10
 ipv6 dhcp server LAN10
 ipv6 nd managed-config-flag
 ipv6 nd prefix 2001:db8:10::/64 no-autoconfig

Documented example, not captured output. Verify with show ipv6 dhcp binding. The default gateway still comes from the RA.

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.

Evidence references

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.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points
  • 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.
Key checks
  • show ipv6 dhcp binding — leases
  • show ipv6 dhcp pool — address prefix and lifetimes
ReferenceWhy it matters1 section · depth on demand

How it works

With stateful DHCPv6 the RA sets the M flag, telling hosts to request an address from a DHCPv6 server (SOLICIT, ADVERTISE, REQUEST, REPLY). The server tracks leases by DUID. The default gateway still comes from the RA — DHCPv6 has no gateway option.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Message exchange (RFC 8415)

StepMessageFrom → toNotes
1SolicitClient → ff02::1:2 (UDP 547)Client identifies itself with a DUID, not its MAC
2AdvertiseServer/relay → client (UDP 546)Offers an address in an IA_NA
3RequestClient → serverAccepts one offer
4ReplyServer → clientLease with preferred/valid lifetime
—Renew / RebindClient → serverExtends the lease

With Rapid Commit both sides may shorten this to Solicit + Reply.

Router side on IOS XE

interface Vlan10
 ipv6 address 2001:db8:10::1/64
 ipv6 nd managed-config-flag                       ! M flag: use DHCPv6 for addresses
 ipv6 nd prefix 2001:db8:10::/64 no-autoconfig     ! A flag off: no SLAAC address
 ipv6 dhcp relay destination 2001:db8:53::547

Without no-autoconfig hosts may build a SLAAC address and request a DHCPv6 address.

What DHCPv6 does not provide

  • Default gateway — always learned from Router Advertisements. Stopping RAs breaks routing even with a working DHCPv6 lease.
  • Prefix length — an assigned address is a /128 lease; the on-link /64 comes from the RA prefix option.

Verification

WhereCommand
Relay/routershow ipv6 dhcp interface Vlan10, show ipv6 dhcp relay binding
IOS servershow ipv6 dhcp binding (DUID, IA_NA, address, lifetimes)
Windows hostipconfig /all — "DHCPv6 IAID" and "DHCPv6 Client DUID"
CaptureFilter udp port 546 or udp port 547

Because clients are identified by DUID, MAC-based IPAM reservations need the relay to insert the client link-layer address option where supported.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 8200

Authoritative/upstream documentation reviewed for bounded claims in IP Fundamentals → IPv6 → IPv6 SLAAC / DHCPv6 → Stateful DHCPv6. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc8200.html · confidence 94%
Confirmation

Confirm action

Continue?