Pcornel
Networking · Network & Protocols › IPv6 Protocol Reference

DHCPv6 Message Field Reference

Cheat sheet · https://pcornel.dk/topic.php?topic=276

Back to the Topic

Answer

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.

Remember

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.

First checks

  • show ipv6 dhcp interface — server, client or relay per interface.
  • show ipv6 dhcp pool — prefixes, DNS servers, active clients.
  • show ipv6 dhcp binding — each client's DUID and addresses.
  • debug ipv6 dhcp — each message; use briefly.

Commands

show ipv6 dhcp binding
show ipv6 dhcp interface

Verify in this order

Router Advertisement sets M (or O) → client sends Solicit → server or relay receives it → Advertise → Request → Reply with address and lifetimes → binding recorded

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=276

Confirmation

Confirm action

Continue?