If the network to which the DHCP server is connected is a machine room network
segment on which no DHCP service is needed, it is sufficient to provide complete
declarations for the network segment. If there is only one subnet on this network
segment, a
subnet declaration is sufficient. If there is more than one subnet on this
network segment, you must write a
shared-network declaration that contains empty
subnet declarations for all the subnets that are configured on the network segment.
Statements of Authority
The server configuration file needs to have a statement of authority for each
subnet
or shared-network declaration for which the default authority is incorrect. If the
server’s authority is the same on all configured network segments, it can be stated in
the global scope.
Version 3 of the ISC DHCP server assumes that it does not have complete informa-
tion about the configurations of the subnets it is serving or about other subnets of
which it is aware but on which it is not providing service. This means that if a client
is moved from one network segment to another and sends a
DHCPREQUEST message
for an address on its former subnet, the server does not send a
DHCPNAK message, so
the client continues to use the incorrect address until it can no longer renew its
lease. DHCP servers deployed in production environments should simply state that
they are authoritative in the global scope so that proper
DHCPNAK behavior occurs.
DHCP servers that are authoritative for some network segments and not for others
should state that they are authoritative in those scopes.
If the computer on which the DHCP server is running is connected to a network
segment that is not controlled by the network administrator who operates the DHCP
server, the DHCP server should be configured not to be authoritative for that
network segment. To do this, use
not authoritative; in the subnet or shared-
network declaration for that network segment.
Configuring the ISC DHCP Server
The DHCP server configuration is stored in the /etc/dhcpd.conf file. This file is an
ASCII text file that contains a sequence of declarations and statements. The syntax is
similar to a C or Perl program. A complete reference to the DHCP server’s configura-
tion statements is provided in Appendix B. This section introduces the concepts
involved in writing configuration files and shows some examples.
The configuration file performs six basic functions:
• It sets parameters that control how the DHCP server behaves.
• It defines options and parameters that are sent to clients.
• It determines how the DHCP server will interact with other network servers
and peers (for example DNS servers, OMAPI clients, DHCP failover peers).
CHAPTER 14 The ISC DHCP Server234
018 3273 CH14 10/3/02 5:02 PM Page 234