dhcp6c(8) - Linux man page
Name
dhcp6c - DHCPv6 client daemonSynopsis
dhcp6c [ -dDf ] [ -r all | <addresses...> ] [ -R <addresses...> ] [ -c pathspec ] [ -I ] <interface>Description
Using DHCPv6 messages and DHCPv6 options, dhcp6c is used to request and configure IPv6 addresses and host network configuration information (e.g., DNS) for a network interface from the DHCPv6 server. It can also be used as a requesting router to request and configure Prefix Delegation for a subnet.
The assigned IPv6 addresses and prefixes are saved as /var/lib/dhcpv6/client6.leasesXXXXXX; this file is used to request the same addresses and prefixes from the DHCPv6 server. Each dhcp6c client has a client DHCP Unique Identifier (DUID); the DUID file is saved as /var/lib/dhcpv6/dhcp6c_duid. The dhcp6c client configuration is defined in /etc/dhcp6c.conf.
Options
- -c pathspec
- Specifies
the configuration file for dhcp6c
- -d
- Enables dhcp6c to print debugging messages.
- -D
- Enables dhcp6c to print verbose debugging messages.
- -f
- Enables dhcp6c to work as a foreground application. This option is helpful for debugging.
- -I
- Allows dhcp6c to request network information only. Do not configure the interface.
- -r all | <addresses...>
- Allows dhcp6c to release the addresses specified. This option is used only when releasing addresses explicitly.
- -R <addresses...>
- Allows dhcp6c to request the specified addresses.
Files
- /etc/dhcp6c.conf
- Contains DHCPv6 client configuration information.
- /var/lib/dhcpv6/dhcp6c_duid
- Contains DHCPv6 client DUID.
- /var/lib/dhcpv6/client6_leasesXXXXXX
- Contains DHCPv6 client assigned IPv6 addresses and prefixes.