Technical data

Configuring the DHCP Server
7.2 DHCP Server Components
The DHCP configuration files (except for log files) are located in
SYS$SYSDEVICE:[TCPIP$DHCP] or in the directory pointed to by the
logical name TCPIP$DHCP_CONFIG. Log files are always located in the
SYS$SYSDEVICE:[TCPIP$DHCP] directory.
Template copies of the DHCP configuration files are located in text library
file SYS$LIBRARY:TCPIP$TEMPLATES.TLB. The template copies provide
instructions on how to edit the text files manually.
7.2.2.1 Server Policy
The SERVER.PCY file configures the behavior of the server. This policy file
describes various aspects of the server; for example, what sort of name service to
use, whether BOOTP should be supported, and the ping timeout value.
Use new lines to separate entries in the SERVER.PCY file from one another.
The server ignores blank lines and comments (lines beginning with the pound
(#) symbol). Each new policy option must begin and end on a separate line. A
keyword introduces a policy option. A policy option can be Boolean or can take a
value separated from the keyword by a space (but not by a new line).
If the SERVER.PCY file contains more than one specification for an option, only
the value associated with the last specification takes effect; the server disregards
earlier specifications.
Example 7–1 shows the contents of the SERVER.PCY file.
Example 7–1 Sample SERVER.PCY File
$ TYPE PINE$DKB0:[DHCP_CONFIG]SERVER.PCY
# server.pcy: server side policy file.
#
# $Id: server.pcy,v 1.25 1997/02/24 06:22:45 robs Exp $
#
# DESCRIPTION
# This is a template server.pcy file. A particular site may need to make
# modifications to this, especially to the name service and name allocation
# policies in force
#
# Default time-to-live for an address lease if not specified on a
# per host, per subnet or per class basis.
default_ttl 86400
# Time to live on provisional list
provisional_ttl 60
# Size of the internal array specifying the number of address
# blocks held on the free list. This number should not be too
# high, or the server will "forget" about all previous allocations
# of expired leases very quickly. It should not be too low or
# performance will suffer.
free_list_size 8
# Define type of name service. The name service is one of
# { dns, local, nis, nis+}.
# local means use text files on the local system (i.e. /etc/hosts).
# On OpenVMS leave this option as "dns".
(continued on next page)
7–6 Configuring the DHCP Server