Using DHCPv6 messages and DHCPv6 options,
dhcp6c
is used to request and configure IPv6 addresses and host network configuration
information (i.e. 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 <configuration file>
Specifies the configuration file for
dhcp6c
-d
Enables
dhcp6c
to print debug messages.
-D
Enables
dhcp6c
to print verbose debug messages.
-f
Enables
dhcp6c
to work as a foreground application.
This option is helpful for debugging.
-I
Allows
dhcp6c
to request network information only.
-r <all | ipv6 addresses>
Allows
dhcp6c
to release the addresses.
This option is used only when releasing addresses explicitly.
-R <ipv6 addresses>
Allows
dhcp6c
to request the specified addresses.
FILES
dhcp6c.conf
Contains DHCPv6 client configuration information.
dhcp6c_duid
Contains DHCPv6 client DUID.
client6_leasesXXXXXX
Contains DHCPv6 client assigned IPv6 addresses and prefixes.
ERRORS
Check /var/log/messages if there are errors.
SEE ALSO
Dynamic Host Configuration Protocol for IPv6 (DHCPv6), IPv6 Prefix Options
for DHCPv6, dhcp6c.conf(5)