dhcp6c.confSection: Linux System Manager's Manual (5)Updated: 17 March 2003 |
dhcp6c.confSection: Linux System Manager's Manual (5)Updated: 17 March 2003 |
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-commitIf this option is used in a "send [dhcpoptions];" declaration, dhcp6c sends DHCPv6 messages with a Rapid Commit option.
domain-name-serversIf this option is used in a "request [dhcpoptions];" declaration, dhcp6c requests the DNS server address via the DHCPv6 mechanism.
prefix-delegationIf this option is used in a "request [dhcpoptions];" declaration, dhcp6c requests a Prefix Delegation to the DHCPv6 servers.
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;
};
Kazuo Hiekata <hiekata@yamato.ibm.com>