HP-UX IP Address and Client Management Administrator's Guide HP-UX 11i v2, HP-UX 11i v3
<length> is the length of the information, followed by a space.
<data> is the data representing the information denoted by the option code, followed by a
newline character.
The DHCPv6 client uses dhcpv6client.data to build its internal database and to maintain
the leases. This file contains information about the IP address leases and other configuration
parameters.
The dhcpv6clientd Client Daemon
dhcpv6clientd is the DHCPv6 client daemon. It sends the DHCP SOLICIT and DHCP REQUEST
messages to the DHCPv6 server or servers to select an appropriate server that is able to provide
the required services.
You need to set the DHCPV6_ENABLE variable in the /etc/rc.config.d/netconf-ipv6 file
to a non-zero value to invoke dhcpv6clientd.
Invoking dhcpv6clientd
To invoke dhcpv6clientd, run the following command on the command line:
# dhcpv6clientd
[-d config_options] [-e number] [-l] [-u list_of_user_classes] [-v
list_of_vendor_classes]
-d Specifies the list of configuration parameters that the client daemon must request from the
server daemon.
-l Enables the logging of all messages by dhcpv6clientd to the
/var/adm/syslog/syslog.log file.
-e
Specifies the vendor’s registered enterprise number as registered with IANA. You can use
this number in the vendor-class and vendor-specific options while communicating with
the server.
—u
Specifies the user-class data used to represent the client in its communication with the
server. This option can have a maximum length of 16 characters. You can use multiple -u
options to specify multiple values for the user-class data. Depending on the classes identified
by this option, the server selects the configuration information for the client. The user-class
option is used to identify the type or category of the client.
—v
Specifies the vendor-class data that you must use in the client’s communication with a
server. The vendor-class data contains a series of distinct items, each of which describes
the client’s hardware configuration.
For more information on setting the DHCPV6_ENABLE variable in the netconf-ipv6 file, see
“The dhcpv6config Script” (page 132).
For more information about configuration parameters, type man 1m dhcpv6clientd at the
HP-UX prompt. For more information on log message types, type man 3c syslog at the HP-UX
prompt.
Alternatively, you can use the /sbin/dhcpv6config script to invoke dhcpv6clientd. To
start dhcpv6clientd automatically with the -d and -l arguments upon each reboot, edit the
/etc/rc.config.d/netdaemons file. See “The dhcpv6config Script” (page 132) for more
information.
Setting Up the DHCPv6 Client
You can use either of the following methods to set up the DHCPv6 client:
• To configure a new interface for IPv6, run the dhcpv6config script on the command line
as follows:
130 Configuring DHCPv6