Installing and Administering Internet Services
262 Chapter6
Dynamic Host Configuration Protocol (DHCP)
Configuration Overview
terminals. These clients must all match the device type specified in the
class-id field in the /etc/dhcptab file. In the example below, all the
clients in this device group must be xterminals.
DHCP_DEVICE_GROUP:\
class-name=XTERM_GROUP:\
class-id=”Xterminal:”\
subnet-mask=255.255.255.0:\
addr-pool-start-address= 15.13.100.50\
addr-pool-last-address= 15.13.100.59:
NOTE It is not very common for the class_id field to be defined. So most
clients are ‘anonymous’ and will be grouped as a pool group.
For specific details on configuring DHCP to distribute IP addresses to
groups of devices, see “Configuring a DHCP Server to Distribute IP
Addresses to Groups of Devices” on page 268
Complex DHCP Pool and Device Group Files
You can define many more fields for both pool groups and device groups
in the file. Here is an example of a POOL_GROUP file with many more
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:\