Technical data

Configuring the DHCP Server
7.2 DHCP Server Components
Example 7–1 (Cont.) Sample SERVER.PCY File
# Set this true if you want to automatically delete leases when
# the client changes its net. I.e. if the server has leases for
# the client on several nets, and the client boots on a specific
# net, say X, the all the leases on all the nets except X, whether
# expired or not will be deleted.
#
# Note that some HW, notably SUN workstations, use a MAC address
# or client identifier which is the same regardless of the
# interface being configured. Therefore, two interfaces of a client
# of this tupe may appear to the server to be a single client
# which has changed network. You would probably not want to
# auto delete leases in this case.
auto_release
# Finite Bootp lease support. When this parameter is non-zero it
# instructs the server to grant FINITE leases to BOOTP clients.
# BOOTP clients don’t know this, so before the server can re-use
# these leases it must ping the IP address. If a reply is heard
# the server automatically extends the lease by this time interval (secs).
# Note that the *original* lease conferred on a BOOTP client is
# determined by the dhcpcap file, which need not be the same as
# this extension. Also that this capability is only relevant to
# BOOTP clients which are dynamically addresses (bootp_addr_from_pool
# toggle on).
bp_auto_extension 0
# Set auto_sync_dbs to flush the server database to disk
# after each update. This is more reliable in the event
# of a failure, but slows the server down.
auto_sync_dbs
dns_tracks_dhcp_lease
# registered_clients_only
7.2.2.2 Client Configuration Parameter
The DHCPCAP. file describes the various configuration parameters for clients.
This file is similar to the standard
bootptab
file used by most BOOTP servers.
Each entry in the file can describe a single machine (per-node basis), all the
machines within a subnet (per-subnet basis), or a group of machines (per-group
basis).
Example 7–2 shows typical information found in the DHCPCAP. file. For
information on how to modify the DHCPCAP. file, see Section 7.7.2.
Example 7–2 Sample DHCPCAP. File
$ TYPE PINE$DKB0:[DHCP_CONFIG]DHCPCAP.
# dhcpcap: database for dhcp server
#
# $Id: dhcpcap,v 1.29 1996/02/08 19:20:14 hyung Exp $
#
# DESCRIPTION
# This file is used by the server when running with
# the text database.
#
(continued on next page)
Configuring the DHCP Server 7–9