Use it when clients get no IPv6 address or settings from the server, when a reservation is not applied, or to read a DHCPv6 exchange in a capture.
DHCPv6 Message Field Reference
DHCPv6 gives hosts addresses and settings, and routers whole prefixes. A normal lease is four messages — Solicit, Advertise, Request, Reply — sent from UDP 546 to 547; clients are identified by a DUID, not by MAC address.
1. Does the client send a Solicit at all? If not → the Router Advertisement's M flag.
2. Solicit but no Advertise → no server or relay hears it.
3. Advertise with a status code → pool empty or no pool for that link.
4. show ipv6 dhcp binding — is the client listed?
5. Address but no default route → that comes from the Router Advertisement.
Router Advertisement sets M (or O) → client sends Solicit → server or relay receives it → Advertise → Request → Reply with address and lifetimes → binding recorded
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show ipv6 dhcp interfaceVerification & 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 Operational verification Verify boundary
show ipv6 dhcp interface
show ipv6 dhcp pool
show ipv6 dhcp binding
debug ipv6 dhcp
show ipv6 dhcp interface shows whether an interface acts as server, client or relay, and with which pool or destination. The pool view shows the configured prefixes, DNS servers and number of active clients. The bindings list each client's DUID, IAID and the addresses or prefixes it holds, with lifetimes. The debug prints each message with its type; use it briefly.
In a capture, filter on dhcpv6 and follow one transaction ID through Solicit, Advertise, Request and Reply. A status code option in a Reply or Advertise states why a request failed.
Known-good: the four messages complete, the Reply carries an address with non-zero lifetimes, and the client appears in the bindings.
Step 2 Failure isolation workflow Narrow the fault
- The client never sends a Solicit. The Router Advertisement does not have the M flag set — or the client does not support DHCPv6.
- Solicit sent, no Advertise. No server or relay on the link, or multicast
ff02::1:2is not delivered. - The Advertise carries status NoAddrsAvail. The pool is exhausted, or no pool matches the client's link.
- The client has an address but no default route. DHCPv6 does not provide one; check the Router Advertisements.
- A reservation is not applied. It was made for a different DUID; the client's DUID changed after reinstallation, or differs per operating system on a dual-boot machine.
- Only DNS is obtained, no address. The O flag is set but not the M flag; that is stateless DHCPv6 working as configured.
- Prefix delegation fails with NoPrefixAvail. The delegation pool is empty or not configured.
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.
A client starts DHCPv6 only when the Router Advertisement tells it to (M or O flag). DHCPv6 has no default-gateway option. A status code in the reply — NoAddrsAvail, NotOnLink — states why a request failed.
ReferenceWhat it is1 section · depth on demand
Mechanics & mental model
DHCPv6 is the protocol by which an IPv6 host can obtain an address and settings such as DNS servers from a server, and by which a router can obtain a whole prefix to use on its own networks. Its messages consist of a type, a transaction number and a list of options.
ReferenceWhy it matters1 section · depth on demand
Why it matters operationally
ReferenceHow it works1 section · depth on demand
How it works
Clients send from UDP port 546 to port 547, to the multicast address ff02::1:2 — all DHCPv6 servers and relay agents on the link.
Message types.
| Type | Message | Direction | Purpose |
|---|---|---|---|
| 1 | Solicit | Client → servers | Looks for a server |
| 2 | Advertise | Server → client | Offers addresses or prefixes |
| 3 | Request | Client → server | Asks for what was offered |
| 7 | Reply | Server → client | Confirms; also answers most other messages |
| 5 | Renew | Client → its server | Extends the lease |
| 6 | Rebind | Client → any server | Extends the lease when its server does not answer |
| 8 | Release | Client → server | Gives the address back |
| 9 | Decline | Client → server | The offered address is already in use |
| 11 | Information-Request | Client → server | Asks for settings only, no address |
| 12, 13 | Relay-Forward, Relay-Reply | Relay ↔ server | Carry client messages across routers |
A normal lease takes four messages: Solicit, Advertise, Request, Reply. With the rapid-commit option it is two: Solicit, Reply. A client that formed its own address by SLAAC and only needs DNS sends an Information-Request and gets a Reply — this is stateless DHCPv6.
Options that matter.
| Option | Content |
|---|---|
| 1 Client ID | The client's DUID — a unique, stable identifier |
| 2 Server ID | The server's DUID |
| 3 IA_NA | A container for the client's addresses, identified by an IAID |
| 5 IA Address | An address with preferred and valid lifetime, inside an IA_NA |
| 25 IA_PD, 26 IA Prefix | The same for a delegated prefix |
| 23 DNS servers, 24 domain search list | |
| 13 Status code | Result: success, or a reason such as NoAddrsAvail, NoBinding, NotOnLink, NoPrefixAvail |
Differences from DHCP for IPv4.
- The server identifies a client by DUID and IAID, not by MAC address. Reservations are made on the DUID, and a reinstalled host usually has a new one.
- There is no default gateway option. The default route comes from Router Advertisements.
- A client starts DHCPv6 only when the Router Advertisement tells it to (M or O flag).
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
DHCPv6 messages and fields
DHCPv6 differs from DHCPv4 in transport, identifiers and message names. RFC 8415 puts clients on UDP port 546 and servers and relays on 547. Clients reach servers through the link-scoped multicast address ff02::1:2, and relays use the site-scoped ff05::1:3. There are thirteen message types. The normal stateful exchange is Solicit, Advertise, Request, Reply. Rapid Commit shortens it to Solicit and Reply. Stateless clients use Information-request and Reply only.
Message types (RFC 8415)
| Type | Message | Purpose |
|---|---|---|
| 1 | Solicit | Find servers |
| 2 | Advertise | A server offers |
| 3 | Request | Ask a chosen server for assignments |
| 4 | Confirm | Check whether addresses still fit the link (after moving) |
| 5 | Renew | Extend leases with the original server (at T1) |
| 6 | Rebind | Extend leases with any server (at T2) |
| 7 | Reply | The server's answer to most messages |
| 8 | Release | Give addresses back |
| 9 | Decline | An address is a duplicate |
| 10 | Reconfigure | The server asks the client to renew |
| 11 | Information-request | Get settings only (stateless) |
| 12 / 13 | Relay-forward / Relay-reply | Relay encapsulation |
Identifiers and assignments
| Item | Meaning |
|---|---|
| DUID | The client's identifier (types 1 LLT, 2 EN, 3 LL, 4 UUID); not its MAC address |
| IA_NA | Non-temporary addresses |
| IA_TA | Temporary addresses |
| IA_PD | Delegated prefixes (for routers) |
| T1 / T2 | When to Renew / Rebind |
R1(config)# ipv6 dhcp pool DHCPV6-USERS
R1(config-dhcpv6)# address prefix 2001:db8:110::/64 lifetime 86400 14400
R1(config-dhcpv6)# dns-server 2001:db8:20::53
R1(config)# interface Vlan110
R1(config-if)# ipv6 dhcp server DHCPV6-USERS rapid-commit
R1(config-if)# ipv6 nd managed-config-flag
R1(config-if)# ipv6 nd prefix 2001:db8:110::/64 no-autoconfig
R1# show ipv6 dhcp binding
R1# show ipv6 dhcp interface Vlan110
host$ sudo tcpdump -ni eth0 -v 'udp port 546 or udp port 547'
Matching clients to bindings
Because DHCPv6 identifies clients by DUID rather than by MAC address, reservations and logs from DHCPv4 don't carry over directly. Use the DUID shown in show ipv6 dhcp binding. Where you need a MAC address, enable relay options that report the client's link-layer address.
Documented example, not captured output.
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 Network & Protocols → DHCPv6 Message Field Reference. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc8415.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Operational notes
Former standalone Cheat Sheet content now lives directly inside the Topic where it belongs.
DHCPv6 Messages
Solicit→Advertise→Request→Reply fields.
30-second lookup
- Open Packet Field Explorer for field-level metadata.
- Use Packet Decoders for bit/flag values where relevant.
- Use Paste Output / Structured Parser for CLI evidence.
- Use Packet Filters to prove the wire boundary.
Evidence rule
A decoded field proves what is present in that packet/output at that moment. Continue through the verification chain before concluding end-to-end behavior.