DHCPv6

DHCPv6 is the version of the Dynamic Host Configuration Protocol (DHCP) for Internet Protocol Version 6 (IPv6) networks.

In addition to stateless address autoconfiguration in IPv6, DHCPv6 provides an alternate solution to assign addresses, nameservers and other configuration information in a manner similar to DHCP for IPv4. A notable case is Domain Name System servers used on a network, although other mechanisms exist for this in the Neighbor Discovery Protocol.[1]

Operation

Port numbers

DHCPv6 uses UDP port number 546 for clients and port number 547 for servers.

DHCP Unique Identifier

The DHCP Unique Identifier (DUID) is used by a client to get an IP address from a DHCPv6 server. It has a minimum length of 12 bytes (96 bits) and a maximum length of 20 bytes (160 bits). Its actual length depends on its type. The server compares the DUID with its database and delivers configuration data (address, lease times, DNS servers, etc.) to the client. The first 16 bits of a DUID contain the DUID type, of which there are three types. The meaning of the remaining 96 bits depend on the DUID type.

Example

In this example, the server's link-local address is fe80::0011:22ff:fe33:5566/64 and the client's link-local address is fe80::aabb:ccff:fedd:eeff/64.

Implementations

IETF standards

References

  1. ^ RFC 4339, IPv6 Host Configuration of DNS Server Information Approaches, J. Jeong (February 2006)

External links