HP-UX IP Address and Client Management Administrator's Guide HP-UX 11i v2, HP-UX 11i v3
dhcpv6d updates the server database files located in the /etc/dhcpv6db directory. The DHCPv6
server uses these files to build its internal database and to maintain the leases.
For more information, type man 1m dhcpv6d at the HP-UX prompt.
NOTE: You can use the -k and -r options only if a DHCPv6 server is already running on the
system.
Server Configuration File
You can use the /etc/dhcpv6tab file to configure the DHCPv6 server. dhcpv6d reads the
dhcpv6tab file to build its internal database file.
The dhcpv6tab contains the following sections:
• DHCPv6 client default settings (DHCP_CLIENT_DEFAULT_SETTINGS)
This section specifies the tags for the DHCPv6 client default settings. These tags are applicable
to all the addresses that the server assigns to the DHCPv6 client.
• DHCPv6 pool group settings (DHCP_POOL_GROUP)
This section specifies the tags for an individual DHCPv6 pool groups.
• DHCPv6 relays settings ((DHCP_RELAY_SETTINGS)
This section contains the relay-specific tags.
• DHCPv6 device group settings (DHCP_DEVICE_GROUP)
This section specifies the tags for a DHCPv6 device group.
• DHCPv6 address pool settings (DHCP_ADDRESS_POOL)
This section specifies the tags for an individual address pool.
• DHCPv6 relay interface mapping settings (RELAY_INTERFACE_MAPPINGS)
This section specifies the tags for the relay interface mappings.
• DHCPv6 client duid (DHCP unique identifier) group settings (DHCP_CLIENT_DUID_GROUP)
This section specifies the tags for a DHCPv6 client duid group.
dhcpv6tab ignores blank lines and lines that begin with a pound sign (#). A semicolon (;)
separates each entry in the configuration file. You can extend multiple entries of a group over
multiple lines by ending the lines with a backslash (\). A final semicolon (;) followed by a new
line indicates the end of a group.
For more information on the tags included in the various sections of the dhcpv6tab file, type
man 1m dhcpv6d at the HP-UX prompt.
Setting Up the DHCPv6 Server
You can use the following methods to set up the DHCPv6 server:
• Run the following command on the command line to start the DHCPv6 server:
/sbin/init.d/dhcpv6d.server
start
Alternatively, if you want the DHCPv6 server to start automatically upon each reboot, set
the DHCPV6D variable in the /etc/rc.config.d/netdaemons file as:
DHCPV6D=1
• To start the DHCPv6 server automatically, with the -d and -c arguments upon each reboot,
set the DHCPV6SRVRD_ARGS variable in the /etc/rc.config.d/netdaemons file as
follows:
DHCPv6SRVRD_ARGS=-d
-c <configuration file>
128 Configuring DHCPv6