dhcpv6clientd(1M) dhcpv6clientd(1M)
NAME [Toc] [Back]
dhcpv6clientd - DHCPv6 client daemon
SYNOPSIS [Toc] [Back]
/usr/sbin/dhcpv6clientd [-d config_options] [-l]
DESCRIPTION [Toc] [Back]
dhcpv6clientd obtains the configuration parameters from the Dynamic
Host Configuration Protocol (DHCPv6) server to configure the host.
See dhcpv6d(1M).
Options [Toc] [Back]
dhcpv6clientd supports the following options:
-d config_options
Specify the list of parameters that the client daemon must
request from the server daemon. The list of configuration
parameters that the client can request are listed below:
dns_sa Obtain the DNS server address
dns_sx Obtain the DNS suffix
ntp_sa Obtain the NTP server address
nis_dn Obtain the NIS domain name
nis_sa Obtain the NIS server address
nispcl_dn Obtain the NIS+ client domain address
nisp_sa Obtain the NIS+ server address
slp_da Obtain the SLP Directory Agent (DA) address and it's
scope
slp_ss Obtain the SLP service scope
tz Obtain the timezone information
-l Enable the logging of all messages by dhcpv6clientd to the
/var/adm/syslog/syslog.log file, including the information and
warning types.
Configuration [Toc] [Back]
The /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.
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: August 2003
dhcpv6clientd(1M) dhcpv6clientd(1M)
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:
code length data
00 <length> End of the record (EOR)
01 <length> Interface name
02 <length> Address of the DHCP server
03 <length> UUID
04 <length> IA
05 <length> T1
06 <length> T2
07 <length> Group Multicast Address
08 <length> DNS Server Address
09 <length> DNS Suffix
10 <length> NTP Server Address
11 <length> NIS Domain Name
12 <length> NIS Server Address
13 <length> NIS+ Client Domain Name
14 <length> NIS+ Server Address
15 <length> SLP DA address and its scope
16 <length> SLP Service Scope
17 <length> Time Zone
18 <length> Retransmission Variables
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
1. may have been deleted or is not available for reading;
2. may be corrupted or contain irrelevant data for a particular
interface;
3. may not contain the configuration information for a particular
interface.
Hewlett-Packard Company - 2 - HP-UX 11i Version 2: August 2003
dhcpv6clientd(1M) dhcpv6clientd(1M)
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.
EXAMPLES [Toc] [Back]
dhcpv6clientd 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
AUTHOR [Toc] [Back]
dhcpv6clientd was developed by Hewlett-Packard.
FILES [Toc] [Back]
/etc/dhcpv6tab
/etc/rc.config.d/netconf-ipv6
/etc/dhcpv6client.data Client configuration database file.
SEE ALSO [Toc] [Back]
dhcpv6d(1M), syslog(3C).
Hewlett-Packard Company - 3 - HP-UX 11i Version 2: August 2003 [ Back ] |