CHAPTER 5 DHCP Client/Server Model60
For example, a DHCP server is not required to respond to every DHCP message it
receives. If the network policy does not enable automatic configuration of computers
not previously connected to the network, the network administrator can simply
configure the DHCP server to ignore
DHCPDISCOVER messages from hosts that are not
already known to the DHCP server. This design goal enables the network administra-
tor to use DHCP in a variety of situations and to implement a range of IP address
and configuration policies. A DHCP server acts as an “administrative assistant,”
interpreting the configuration policies the network administrator develops and
passing network along specific parameters to individual computers, based on those
policies.
Assigning IP Addresses Dynamically
The most obvious policy a network administrator develops for a DHCP server is one
that controls the assignment of IP addresses to computers. Dynamic assignment of
IP addresses enables new computers to join a network and obtain configuration para-
meters without manual intervention. The danger in dynamic address assignment is
that two computers might obtain the same IP address, and this prevents both
computers from using the network. Such duplicate address assignment can be very
difficult to find. Therefore, DHCP is designed to eliminate any possibility that the
same IP address might be assigned to two computers at the same time.
In conjunction with dynamic address allocation, DHCP enables automatic address
reuse. Because only a limited number of IP addresses are available in any IP subnet,
the DHCP server can run out of addresses to allocate, unless it can recover addresses
that are no longer in use. The solution to address reuse in DHCP is to assign
addresses for a finite period of time, known as a lease. When the lease on an IP
address expires, the DHCP server can safely reassign that address to a different client.
In this way, a server can reassign the IP addresses from computers that have left the
network to computers that subsequently join the network.
When Servers Are Unavailable
Because access to the DHCP service is critical to the operation of an organization’s
computers (and, therefore, to the function of the organization as a whole), the
DHCP specification allows two or more DHCP servers to provide service to the same
network. Computers using DHCP broadcast an initial message to locate DHCP
servers and must be prepared to receive responses from more than one server.
Likewise, when extending a lease on an address, a computer broadcasts its request to
find any available DHCP server if the original server doesn’t respond. This means
that if one DHCP server is not functioning, another server can continue to provide
service.
008 3273 CH05 10/3/02 5:05 PM Page 60