dhcp6c.conf

Langue: en

Version: 17 March 2003 (fedora - 25/11/07)

Section: 5 (Format de fichier)

NAME

dhcp6c.conf - configuration file of the DHCPv6 client daemon, dhcp6c

DESCRIPTION

dhcp6c.conf is a configuration file for dhcp6c (DHCPv6 client).

dhcp6c is configured by the configuration information (such as rapid-commit, requesting temp-address, or prefix-delegation) in this file. dhcp6c.conf is an ASCII text file and lines that start with # are comments.

STATEMENTS

 interface <interface name>
 {
     [declarations]
 };
 
Write configurations for this interface in this statement. In [declarations], options can be specified.

DECLARATIONS

 send [dhcpoptions];
 
With this declaration, dhcp6c sends specified options. Currently rapid-commit is defined.
 send rapid-commit;
 
This declaration enables dhcp6c to request the dhcp6s server to perform a Rapid Commit.
 request [dhcpoptions];
 
This declaration enables dhcp6c to request specified options. Currently temp-address, domain-name-servers, and prefix-delegation are defined.
 request domain-name-servers;
 
The DHCPv6 mechanism provides a way to obtain configuration information such as a list of available DNS servers or NTP servers. This declaration enables dhcp6c to request a DNS server address from the DHCPv6 server.
 request prefix-delegation;
 
This declaration enables dhcp6c to request a Prefix Delegation to the DHCPv6 server. dhcp6c gets a prefix assignment from the DHCPv6 server.
 request temp-address;
 
This declaration enables dhcp6c to request temporary addresses. dhcp6c requests Non-temporary Addresses as default. This option makes dhcp6c request Temporary Addresses.
 information-only;
 
This declaration enables dhcp6c to request host configuration information from the DHCPv6 server. If dhcp6c doesn't need to be assigned any addresses, this option should be specified.
 address {
     [<ipv6 address>/<prefix length>];
     [prefer-life-time <preferred-lifetime>];
     [valid-life-time <valid-lifetime>];
 };
 
This declaration defines the dhcp6c client preferred IPv6 address, the preferred lifetime of the address, and the valid lifetime for this interface.
 prefix {
     [<ipv6 prefix>/<prefix length>];
     [prefer-life-time <preferred-lifetime>];
     [valid-life-time <valid-lifetime>];
 };
 
This declaration defines the dhcp6c client acting as a requesting router for the preferred prefix, the prefix length, and the prefix's preferred lifetime, and valid lifetime for this interface.
 prefer-life-time <preferred-lifetime>;
 
This declaration sets the preferred lifetime (in seconds) of the address or prefix. This declaration is valid only in address or prefix declarations.
 valid-life-time <valid-lifetime>;
 
This declaration sets the valid lifetime (in seconds) of the address or prefix. This declaration is valid only in address or prefix declarations.
 renew-time <renew-time>;
 
This declaration specifies the Renew Time (in seconds) for this Identity Association (IA). Renew Time is a T1 value in an IA option. dhcp6c sets the Renew Time in IA options to the specified value.
 rebind-time <rebind-time>;
 
This declaration specifies the Rebind Time (in seconds) for this IA. Rebind Time is T2 value in an IA option. dhcp6c sets the Rebind Time in IA options to the specified value.

DHCPOPTIONS

 rapid-commit
 
If this option is used in a "send [dhcpoptions];" declaration, dhcp6c sends DHCPv6 messages with a Rapid Commit option.
 domain-name-servers
 
If this option is used in a "request [dhcpoptions];" declaration, dhcp6c requests the DNS server address via the DHCPv6 mechanism.
 prefix-delegation
 
If this option is used in a "request [dhcpoptions];" declaration, dhcp6c requests a Prefix Delegation to the DHCPv6 servers.
 prefix-delegation-interface <interface name>
 Specifies the name of the interface definition in radvd.conf 
 that dhcp6c will write the 'prefix' declaration for. By default,
 dhcp6c will write a radvd.conf prefix declaration for the interface
 on which it receives the prefix delegation lease.
 
 use-ra-prefix;
 
This declaration tells the client not to request the address prefix configured in the server's address or range statements. With this option, client address prefixes can be set only by router advertisements, and the prefix configured in server address or range statements will be ignored. This is a Red Hat extension; previously, the only way to set client address prefixes was by router advertisement.

EXAMPLES

This is a sample of the dhcp6c.conf file.

 interface eth0 {
     send rapid-commit;
     request prefix-delegation;
     request domain-name-servers;
     request temp-address;
     iaid 11111;
     address {
             3ffe:10::10/64;
             prefer-life-time 6000;
             valid-life-time 8000;
     };
     renew-time 11000;
     rebind-time 21000;
 };
 

SEE ALSO

Dynamic Host Configuration Protocol for IPv6 (DHCPv6), IPv6 Prefix Options for DHCPv6, dhcp6c(5)

AUTHORS

Kazuo Hiekata <hiekata@yamato.ibm.com>