HP-UX IP Address and Client Management Administrator's Guide HP-UX 11i v2, HP-UX 11i v3

Configuring the DHCP Server to Perform Dynamic Updates
To configure the DHCP server to update the DNS server dynamically, add the tag ddns-address
to the dhcp_pool_group or the dhcp_device_group keywords. The ddns-address tag
specifies the address of the DNS server to which dynamic updates are to be sent. Additionally,
you can specify the pcsn tag, if the name sent by the client must be given preference. If you set
the pcsn tag, it causes DHCP to accept the host name sent by the DHCP client. DHCP tries to
find the name if the name is not sent by the client.
You can also specify the sp boolean tag when an update request is sent to the DNS server so that
DHCP does not to use the prerequisite section, which exists in the update packet sent by the
DHCP server to the DNS server, in the update request.
DHCP_DEVICE_GROUP:\ ba:\
pcsn:\ sp:\
ddns-address=1.2.3.4:\ class-name=SUBNET_128_XTERMINAL_GROUP:\
class-id="xterminal:"\ subnet-mask=255.255.255.0 :\
addr-pool-start-address= 15.14.128.1 :\
addr-pool-last-address= 15.14.128.254 :\
lease-time=604800 :\
lease-grace-period=5 :
Configuring DHCP to Assign and Distribute IP Addresses
You can configure and administer the DHCP server using the HP System Management Homepage
(HP SMH). You can also edit the configuration files /etc/bootptab and /etc/dhcptab
manually. HP recommends you to you HP SMH to modify the configuration files. This section
discusses about the steps to configure the DHCP server using HP SMH.
You can configure the DHCP server using HP SMH to assign and distribute IP addresses in three
different ways:
By Device or Pool groups (you define which devices are in these groups).
To individual devices.
Through a BOOTP Relay Agent.
DHCP Device and Pool Group Configuration
DHCP allows you to configure groups of similar client devices on a single subnet. Each device
in a specific group is automatically assigned an available IP address from its group upon
requesting boot information.
By creating various groups of devices you can create each group with a device type specific to
that group. For example, you may want one group to contain only printers, and another group
to contain only servers.
The /etc/dhcptab file contains groups of IP addresses that are managed by DHCP. The IP
addresses are divided into the following types:
Pool Groups
Device Groups
Pool Groups
A pool group is a collection of IP addresses on one subnet, available for anonymous clients (most
clients are anonymous). The pool groups are the most common type of IP address groups.
Following is an example pool group entry in the /etc/dhcptab file:
DHCP_POOL_GROUP:\
ba:\ pool-name=my_first_pool:\ subnet-mask=255.255.255.0:\
addr-pool-start-address= 15.13.100.20\ addr-pool-last-address= 15.13.100.29:
where,
120 Configuring DHCP