Technical data

Configuring the DHCP Server
7.2 DHCP Server Components
Example 7–5 Sample NETMASKS. File
$ TYPE PINE$DKB0:[DHCP_CONFIG]NETMASKS.
# Network masks. This file is only needed on those platforms
# which don’t provide a netmasks database, either as a text
# file or as a map (NIS, NIS+, .. whatever).
#
# This file should contain an entry for each network for which
# the netmasks is other than the standard A,B or C mask. Each
# entry has two fields: the network and the mask. The network
# must be written with trailing zeros: e.g For net 192.1.1
# you do not enter
#
# 192.1.1
#
# but
#
# 192.1.1.0
#
#
# This file also supports variable subnetting: i.e. if each
# subnetted net can in turn be subnetted with a variable
# mask then the subnets can also appear on the LHS. Thus
#
# 192.1.1.0 255.255.255.224
# 192.1.1.96 255.255.255.240
#
# Network netmask
10.10.2.0 255.255.255.0
10.10.4.0 255.255.255.0
7.2.2.5 NamePool
The NAMEPOOL. file specifies a collection of names available for dynamic
assignment to DHCP clients. The server uses the names in this file only when
the name is not provided another way. For example, the server might use this
file when the client did not suggest a name and when there is no name associated
with the IP address being offered to the client.
In addition to this pool of names, there is also a name prefix. Once the name
pool is exhausted, the server generates names from the prefix by appending the
number 1, 2, or 3, along with a trailing ‘‘d’’. After a name has been dynamically
bound to a host, the server never uses the name again, even if that host
subsequently acquires a new name.
Each entry in the file consists of four fields:
The domain to which the names apply.
The owner of these names, expressed as either the IP address of the server
host (142.132.3.1) or the host name (
dhcpserver
).
An optional name prefix, used for generating names after the name pool is
exhausted.
A list of names in the pool.
Example 7–6 shows the contents of a typical NAMEPOOL. file.
Configuring the DHCP Server 7–13