Technical data

Configuring the DHCP Server
7.2 DHCP Server Components
Example 7–6 Sample NAMEPOOL. File
$ TYPE PINE$DKB0:[DHCP_CONFIG]NAMEPOOL.
# namepool: pool of names available for dynamic allocation.
#
# $Id: namepool,v 1.7 1996/01/15 17:53:11 hyung Exp $
#
# DESCRIPTION
# This file contains names to be allocated to new machines coming onto the
# network. Each group of names is introduced by a single line containing
# two or three fields: the # domain name to which the names apply, the
# machine (name of address) authorized to dispense them, and (optionally)
# a prefix which will be used to generate names automatically within that
# domain. White space is used to separate these fields; there must be no
# leading whitespace on these lines.
#
# Following this are the names. These may be written one or many
# to a line, but each line must begin with a blank or tab.
#
# The character ’#’ introduces comments. The text following ’#’
# to the end of line will be ignored by the parsing program.
# Blank lines and lines beginning with ’#’ are ignored.
#
# In summary format is:
# domain_name server generic_name
#
TAB
hostname...
#
# Example:
# alpha.beta.gamma.com 192.1.1.65 coastal-areas
# north-utsire south-utsire viking forties cromarty forth tyne dogger
compaq.com timber timber
dhcp1 dhcp2 dhcp3 dhcp4
dhcp5 dhcp6 dhcp7 dhcp8
dhcp9 dhcp10
Example 7–7 shows a NAMEPOOL. file containing a name prefix.
Example 7–7 NAMEPOOL Entries Showing the Use of a Name Prefix
acme.com 142.132.3.1 pc alpha bravo charlie delta echo
engr.acme.com dhcpserver EngrPC victor whiskey xray yankee zulu
In this example:
The first entry describes five names available to the
acme.com
domain with a
name prefix of
pc
.
The second entry describes five different names for the
engr.acme.com
domain
with a name prefix of
EngrPC
. Notice the use of an IP address in the first entry
(143.32.3.1) and the use of a host name (
dhcpserver
) in the second entry to
describe the owner of the IP address ranges.
7–14 Configuring the DHCP Server