|
|
HP-UX Reference > Ddhcpv6clientd(1M)HP-UX 11i Version 2: December 2007 Update |
|
NAMEdhcpv6clientd — DHCPv6 client daemon DESCRIPTIONdhcpv6clientd obtains the configuration parameters from the Dynamic Host Configuration Protocol (DHCPv6) server to configure the host. See dhcpv6d(1M). Optionsdhcpv6clientd supports the following options:
ConfigurationThe /etc/rc.config.d/netconf-ipv6 file is used for the configuration of the interfaces. To invoke dhcpv6clientd using the dhcpv6config script, set the DHCPV6_ENABLE [index] variable to a non-zero value in the /etc/rc.config.d/netconf-ipv6 file. The dhcpv6config script invokes dhcpv6clientd and dhcpv6client_ui during bootup to obtain IP addresses. dhcpv6clientd can also be invoked at the command prompt. Once dhcpv6clientd has obtained the configuration parameters from the server, it stores them in a configuration file named /etc/dhcpv6client.data. The configuration parameters are valid for a fixed time, the lease time. The format of the configuration information in /etc/dhcpv6client.data file is shown below:
The <length> field denotes the length of the data field following it. All these lines collectively indicate one record. The configuration file will have a series of record. See the EXAMPLE section below for a sample configuration file. Since this file contains all the configuration information, it can be used to identify the server from which the configuration parameters were obtained. When dhcpv6clientd is invoked, it will first try to read the configuration file, /etc/dhcpv6client.data. However, the configuration file
In those cases, dhcpv6clientd needs to obtain a new set of addresses from the server. Thus the client will form a SOLICIT message and send it to the pre-determined ALL DHCP Agents address. In response to this, the client will receive the ADVERTISE message from DHCP servers. The client will select a DHCP server based on the DHCP server preference value. EXAMPLESdhcpv6clientd treats the NIS server and DNS server addresses as default configuration parameters. dhcpv6clientd -d nis_sa dns_sa The following is an example of a /etc/dhcpv6client.data file: 01 4 lan4 02 16 3ffe::1234 03 8 22:c2:00:10:83:b9:53:3c 04 29 4 3ffe::428d 64 1005134643 1005134663 05 4 1005134548 06 4 1005134551 07 0 08 32 3ffe::12 3ffe::19 09 6 hp.com 10 16 3ffe::19 11 12 india.hp.com 12 32 3ffe::13 3ffe::19 13 12 india.hp.com 14 32 3ffe::15 3ffe::19 15 22 16 3ffe::15 (proxy=rio) 0 15 0 16 0 17 0 18 0 00 0 |
|