HP-UX IP Address and Client Management Administrator's Guide HP-UX 11i v2, HP-UX 11i v3
NOTE: You need to complete these steps only once, when you install the DHCPv6 server.
Sample dhcpv6tab File
You can use the sample dhcpv6tab file, available in the /etc/ directory, as your server
configuration file. The sample dhcpv6tab file is as follows:
## # # @(#)dhcpv6tab $Revision:
1.002 $ $Date: 06/02/04 18:49:16 $ # # dhcpv6d reads its configuration
information from this file # upon execution. # # See the dhcpv6d(1M)
manual page for more information. ## ## # DHCP Client Default Settings
## DHCP_CLIENT_DEFAULT_SETTINGS;\ client-settings-name = VENUS;\
DNS-server-address = 5ffe:1234::1234:1 5ffe:1234::5678:2;\
DNS-server-domain-list = hp.com;\ SIP-server-address = 5ffe:1234::1234:3;\
SIP-server-domain-list = hp.com; ## # DHCP Pool Group : YELLOW
group ## DHCP_POOL_GROUP;\ pool-group-name = YELLOW;\ default-settings
= VENUS;\ address-pool-names = APPLE;\ elapsed-time = 100;\
# in 1/100 of the second preference = 255;\ T1 = 5000;\
T2 = 8000;\ preferred-life-time = 10000;\ valid-life-time
= 12000;\ reconf-grace-period = 10000;\ DNS-server-address
= 5ffe:1234::5678:1;\ renumber-complete-time = Mon Mar 8 17:01:55
IST 2004; ## # DHCP Address Pool : APPLE pool ## DHCP_ADDRESS_POOL;\
address-pool-name = APPLE;\ subnet-prefix = 5ffe:1234::34/64;\
address-pool = 5ffe:1234::4321:1000 - 5ffe:1234::4321:1999;\
reserved-addresses = 5ffe:1234::4321:1222; ## # DHCP Address
Pool : GRAPE pool ## DHCP_ADDRESS_POOL;\ address-pool-name =
GRAPE;\ subnet-prefix = 5ffe:1233::34/64;\ address-pool
= 5ffe:1233::4321:2000 - 5ffe:1233::4321:2999;\ reserved-addresses
= 5ffe:1233::4321:2345; ## # DHCP Relay Settings : BLUE group ## DHCP_RELAY_SETTINGS;\
pool-group-name = BLUE;\ subnet-prefix = 4ffe:1234::34/64;\
dest-dhcp-server-address = 7ffe:1234::34; ## # DHCP Device specific
settings ## DHCP_DEVICE_GROUP;\ vendor-class-id = 1234 "OS =
HP-UX B.11.11 U 9000/800" "Mem = 512 kb";\ V100 = "/depot/Install";\
address-pool-names = GRAPE;\ preference = 255; ## # Interface
mappings ## RELAY_INTERFACE_MAPPINGS;\ # <Interface ID1> ->
<Subnet address> 10:24:ab:1d -> 3ffe::/64;\ ac:12:23
-> 3000::/64; ## # Client duid settings ## DHCP_CLIENT_DUID_GROUP;\
client-duid = 41:42:43:44:f2:ec:45:9f;\ pool-group-name
= RED;\ addresses = 5ffe::90f 4000::209;\ DNS-server-address
= 4000::100;
NOTE: The dhcpv6tab file discards the DHCP_POOL_GROUP section because it starts with a
pound sign (#).
Configuring the Client
This section describes how to configure the DHCPv6 client.
It discusses the following topics:
• “The dhcpv6client.data File” (page 129)
• “The dhcpv6clientd Client Daemon” (page 130)
• “Setting Up the DHCPv6 Client” (page 130)
• “The dhcpv6client_ui Interface” (page 131)
• “The dhcpv6config Script” (page 132)
• “The dhcpv6db2conf Utility” (page 133)
The dhcpv6client.data File
The client database file /etc/dhcpv6client.data contains a series of records to represent
various configuration parameters, such as DNS server address, DHCPv6 server address, DNS
domain name list, and others. Each record is of the following format:
<opcode> <length>
<data>
where
<opcode> is the option code for the parameter or identifier, followed by a space.
Configuring the Client 129