Technical data

Configuring the DHCP Server
7.2 DHCP Server Components
Example 7–2 (Cont.) Sample DHCPCAP. File
subnet_2:\
:nw=10.10.2.0:\
:gw=10.10.2.66:\
:ba=10.10.2.255:\
:lt=1200:t1=600:t2=1050:
subnet_4:\
:nw=10.10.4.0:\
:ba=10.10.4.255:\
:lt=1200:t1=600:t2=1050:
7.2.2.3 Network Addresses
The NETS. file describes the ranges of IP addresses available to the server for the
clients. Both BOOTP and DHCP use this pool of addresses whenever dynamic IP
assignment is needed.
Each entry in the file consists of three fields:
The network number expressed as an IP address, for example, 142.132.3.0.
The owner of this IP address range expressed as the IP address of the server
host (142.132.3.1) or the host name (
dhcpserver
in Example 7–4). If a DHCP
cluster failover environment is configured (see Section 7.4.5), the IP address is
defined as the null address 0.0.0.0 so that applicable cluster nodes can receive
packets.
A range of available addresses for dynamic allocation to hosts on the network.
The range is expressed as a pair of IP addresses with a hyphen (-) between
them, for example, 143.32.3.10-143.32.3.30. There must be no extra space
separating the dash from the IP addresses. You can specify more than one
range for each network; the ranges need not be contiguous.
Example 7–3 shows the contents of the NETS. file.
Example 7–3 Sample NETS. File
$ TYPE PINE$DKB0:[DHCP_CONFIG]NETS.
# nets: pool of addresses available for allocation by specific join servers.
#
# $Id: nets,v 1.11 1996/01/15 17:50:00 hyung Exp $
#
# DESCRIPTION
# This file instructs the server which nets and subnets it is to administer
# and the addresses which are available for dynamic allocation.
#
# Each non-comment line in this file has up to three fields:
# Subnet IP address
# IP address or name of host "owning" the address range.
# The address range itself
(continued on next page)
Configuring the DHCP Server 7–11