wire / wire-format / dhcpv6-message

DHCPv6 message

DHCPv6 is the IPv6 version of DHCP. Message types: 1 Solicit, 2 Advertise, 3 Request, 4 Confirm, 5 Renew, 6 Rebind, 7 Reply, 8 Release, 9 Decline, 10 Reconfigure, 11 Information-request, 12 Relay-forward, 13 Relay-reply. Uses UDP ports 546 (client) and 547 (server). DHCPv6 uses DUID (DHCP Unique Identifier) instead of MAC address.

wire-format kind wire-format status standard verification verified tier B wire-format@1

aka: DHCPv6 message

wire format

spec: RFC 8415

DHCPv6 is the IPv6 version of DHCP. Message types: 1 Solicit, 2 Advertise, 3 Request, 4 Confirm, 5 Renew, 6 Rebind, 7 Reply, 8 Release, 9 Decline, 10 Reconfigure, 11 Information-request, 12 Relay-forward, 13 Relay-reply. Uses UDP ports 546 (client) and 547 (server). DHCPv6 uses DUID (DHCP Unique Identifier) instead of MAC address.

fieldsizemeaning
Message type1 byte1 Solicit, 2 Advertise, 3 Request, 4 Confirm, 5 Renew, 6 Rebind, 7 Reply, 8 Release, 9 Decline, 10 Reconfigure, 11 Information-request, 12 Relay-forward, 13 Relay-reply.
Transaction ID3 bytesTransaction identifier (matches request to response).
OptionsvariableTLV options: option code (2 bytes), option length (2 bytes), option data. Key options: Client ID (1), Server ID (2), IA_NA (3, Identity Association for Non-temporary Addresses), IA_TA (4, Temporary Addresses), IAADDR (5, IPv6 address), Option Request (6), Preference (7), Elapsed Time (8), Relay Message (9), Authentication (11), Server Unicast (12), Status Code (13), Rapid Commit (14), User Class (15), Vendor Class (16), Vendor-specific (17), Interface ID (18), Reconfigure Message (19), Reconfigure Accept (20).
DUIDvariableDHCP Unique Identifier: DUID-LLT (link-layer + time), DUID-EN (enterprise number), DUID-LL (link-layer), DUID-UUID.
IA_NA (Identity Association)variableContainer for IPv6 addresses: IAID (4 bytes) + T1 (4) + T2 (4) + IAADDR options (address, preferred lifetime, valid lifetime).

example:

01 00 00 00 00 00 00 00 00 00 00 00

DHCPv6 Solicit message (type 1)


provenance

agent: curl -H 'accept: application/json' wire.phall.io/wire-format/dhcpv6-message or /wire-format/dhcpv6-message.json