HOME

TheInfoList



OR:

The Dynamic Host Configuration Protocol version 6 (DHCPv6) is a
network protocol A communication protocol is a system of rules that allows two or more entities of a communications system to transmit information via any kind of variation of a physical quantity. The protocol defines the rules, syntax, semantics and synchroniza ...
for configuring
Internet Protocol version 6 Internet Protocol version 6 (IPv6) is the most recent version of the Internet Protocol (IP), the communications protocol that provides an identification and location system for computers on networks and routes traffic across the Internet. IPv ...
(IPv6)
hosts A host is a person responsible for guests at an event or for providing hospitality during it. Host may also refer to: Places *Host, Pennsylvania, a village in Berks County People *Jim Host (born 1937), American businessman *Michel Host ( ...
with
IP address An Internet Protocol address (IP address) is a numerical label such as that is connected to a computer network that uses the Internet Protocol for communication.. Updated by . An IP address serves two main functions: network interface ident ...
es, IP prefixes,
default route In computer networking, the default route is a configuration of the Internet Protocol (IP) that establishes a forwarding rule for packets when no specific address of a next-hop host is available from the routing table or other routing mechanisms ...
, local segment MTU, and other configuration data required to operate in an IPv6 network. It is the IPv6 equivalent of the
Dynamic Host Configuration Protocol The Dynamic Host Configuration Protocol (DHCP) is a network management protocol used on Internet Protocol (IP) networks for automatically assigning IP addresses and other communication parameters to devices connected to the network using a cli ...
for
IPv4 Internet Protocol version 4 (IPv4) is the fourth version of the Internet Protocol (IP). It is one of the core protocols of standards-based internetworking methods in the Internet and other packet-switched networks. IPv4 was the first version de ...
. IPv6 hosts may automatically generate IP addresses internally using
stateless address autoconfiguration In computer networking, a link-local address is a unicast network address that is valid only for communications within the subnetwork that the host is connected to. Link-local addresses are most often assigned automatically with a process known a ...
(SLAAC), or they may be assigned configuration data with DHCPv6. IPv6 hosts that use stateless autoconfiguration may require information other than an IP address or route. DHCPv6 can be used to acquire this information, even though it is not being used to configure IP addresses. DHCPv6 is not necessary for configuring hosts with the addresses of
Domain Name System The Domain Name System (DNS) is a hierarchical and distributed naming system for computers, services, and other resources in the Internet or other Internet Protocol (IP) networks. It associates various information with domain names assigned to ...
(DNS) servers, because they can be configured using
Neighbor Discovery Protocol The Neighbor Discovery Protocol (NDP), or simply Neighbor Discovery (ND), is a protocol of the Internet protocol suite used with Internet Protocol Version 6 (IPv6). It operates at the link layer of the Internet model, and is responsible for gat ...
, which is also the mechanism for stateless autoconfiguration. Many IPv6 routers, such as routers for residential networks, must be configured automatically with no operator intervention. Such routers require not only an IPv6 address for use in communicating with upstream routers, but also an IPv6 prefix for use in configuring devices on the downstream side of the router. DHCPv6
prefix delegation IP networks are divided logically into subnetworks. Computers in the same subnetwork have the same address prefix. For example, in a typical home network with legacy Internet Protocol version 4, the network prefix would be something like 192.168.1.0 ...
provides a mechanism for configuring such routers.


Operation


Port numbers

Clients listen for DHCP messages on UDP port 546. Servers and relay agents listen for DHCP messages on UDP port 547.


Identifiers


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 2-byte DUID type field, and a variable-length identifier field up to 128 bytes. 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. Four DUID types are identified in RFC 8415 section 11: * Link-layer address plus time (DUID-LLT) * Vendor-assigned unique ID based on enterprise number (DUID-EN) * Link-layer address (DUID-LL) * UUID-based DUID (DUID-UUID)


RFC 6939: Client Link-Layer Address Option

Due to the fact that it is difficult to manage multiple identifiers in a dual-stack environment, and the fact that DUIDs are simply not optimal for some situations, RFC 6939 was released, giving a way to identify a host based on its
MAC address A media access control address (MAC address) is a unique identifier assigned to a network interface controller (NIC) for use as a network address in communications within a network segment. This use is common in most IEEE 802 networking techno ...
. It defines a way for a DHCPv6 relay to pass that information to a DHCPv6 server.


Example

In this example, without rapid-commit present, the server's link-local address is and the client's link-local address is . * Client sends a ''solicit'' from []:546 to multicast address []:547. * Server replies with an ''advertise'' from []:547 to []:546. * Client replies with a ''request'' from []:546 to []:547. * Server finishes with a ''reply'' from []:547 to []:546.


DHCPv6 Message types

This table lists the DHCPv6 message types.


IETF standards

* , "Dynamic Host Configuration Protocol for IPv6 (DHCPv6)" - Obsoletes RFC 3315, RFC 3633, RFC 3736, RFC 4242, RFC 7083, RFC 7283, RFC 7550. * , "Dynamic Host Configuration Protocol (DHCPv6) Options for Session Initiation Protocol (SIP) Servers" * , "DNS Configuration options for Dynamic Host Configuration Protocol for IPv6 (DHCPv6)" * , "The Dynamic Host Configuration Protocol for IPv6 (DHCPv6) Client Fully Qualified Domain Name (FQDN) Option" * , "DHCPv6 Leasequery" * , "Lightweight DHCPv6 Relay Agent" (LDRA) - Updates RFC 3315, Errata * , "Definition of the UUID-Based DHCPv6 Unique Identifier (DUID-UUID)" * , "Client Link-Layer Address Option in DHCPv6"


See also

*
Comparison of DHCP server software The following comparison of DHCP and DHCPv6 server compares general and technical information for a number of DHCP server software programs. General Operating system requirement In this overview of operating system support for the discussed ...
*
Dynamic Host Configuration Protocol The Dynamic Host Configuration Protocol (DHCP) is a network management protocol used on Internet Protocol (IP) networks for automatically assigning IP addresses and other communication parameters to devices connected to the network using a cli ...
(DHCP) *
Neighbor Discovery Protocol The Neighbor Discovery Protocol (NDP), or simply Neighbor Discovery (ND), is a protocol of the Internet protocol suite used with Internet Protocol Version 6 (IPv6). It operates at the link layer of the Internet model, and is responsible for gat ...
, which also support
DNS Configuration
*
Prefix delegation IP networks are divided logically into subnetworks. Computers in the same subnetwork have the same address prefix. For example, in a typical home network with legacy Internet Protocol version 4, the network prefix would be something like 192.168.1.0 ...
, which allows a DHCPv6 client to obtain a whole prefix.


References


External links


IANA DHCPv6 Parameters


comparison of DHCPv6 packages and implementations (Last updated: April, 2009)
IPv6 Ready: DHCPv6
list of IPv6 Phase II Certified DHCPv6 implementations (Last updated: December, 2012) {{IPv6 IPv6 Application layer protocols de:Dynamic Host Configuration Protocol#DHCPv6