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

NOTE: It is not very common for the class_id field to be defined. Therefore, most clients are
anonymous and are grouped as a pool group.
Complex DHCP Pool and Device Group Files
Apart from the fields discussed in the previous sections, you can define additional fields for both
the pool groups and device groups in the /etc/dhcptab file. Following is an example of a
POOL_GROUP file with additional fields defined:
DHCP_POOL_GROUP:\
class-name=MEGA_OPTION_GROUP:\ addr-pool-start-address=
192.11.22.11:\ addr-pool-last-address= 192.11.22.15:\ subnet-mask=255.255.255.0:\
lease-time=1000:\ lease-policy=accept-new-clients:\ allow-bootp-clients=false:\
call-on-assignment=/etc/script.assignment:\ call-on-decline=/tmp/script.decline:\
call-on-release=/tmp/script.release:\ call-on-lease-extend=/tmp/script.lease_extend:\
bf=goofy.bootfile:\ hd=/var/tmp:\ ba:\ cs=192.11.22.36:\ ds=192.99.99.99
15.13.104.13:\ gw=192.44.44.44:\ im=77.77.33.33:\ lg=123.123.123.123
55.55.55.55:\ lp=45.45.45.45:\ ns=66.66.66.66:\ rl=123.77.99.35:\
to=153:\ ts=88.99.88.99:\ vm=rfc1048:\ hn:\ bs=auto:\ md=/tmp/dumpfile.of.the.century:\
dn=cup.hp.com:\ ef=/tmp/extensions:\ nt=194.88.200.244:\ rp=/turnip/onion/carrot:\
ss=200.233.200.233:\ tr=50:\ tv=87:\ xd=77.11.1.244:\ xf=77.11.1.245:\
yd=hp.com:\ ys=9.7.5.3:
For more information about the other flags in this example, type man 1 M bootpd at the HP-UX
prompt.
DHCP Individual Device Configuration
In addition to allowing addresses to be assigned by groups, DHCP allows IP addresses to be
individually configured for devices. For administrative or security reasons, you may want certain
devices to have fixed addresses.
Using HP SMH, you can configure each individual device with the fixed-address device option.
You must provide the information about the device, including its own IP address.
NOTE: Devices that have fixed IP addresses in the /etc/bootptab file have priority over
pool groups. Devices with fixed IP addresses are placed first in /etc/bootptab file.
Figure 4-3 DHCP Devices Can Have Fixed IP Addresses
In Figure 4-3, assume that you have configured a DHCP group (group A) to include Client1 and
Client2, meaning that each client receives an IP address from a pool of available addresses at
boot request. If you configure Client3 and Client4 to have fixed IP addresses then client3 and
client4 are assigned the addresses you configured for them upon boot request. Client3 and Client4
will always be assigned the same addresses unless you change the configuration.
DHCP also allows you to define many optional parameter values for clients with fixed addresses.
Fixed address devices are configured in the /etc/bootptab file. HP recommends you to use
HP SMH to configure the /etc/bootptab file.
122 Configuring DHCP