The TCP/IP Guide - Version 3.0 (Contents) ` 1145 _ © 2001-2005 Charles M. Kozierok. All Rights Reserved.
DHCP Server Responsibilities
A DHCP server is a network device that has been programmed to provide DHCP services
to clients. The server plays a central role in DHCP because DHCP's main function is host
configuration, and the server is what configures hosts (clients) that communicate with it. On
smaller networks there may be only a single server to support many clients, while larger
networks may use multiple servers; regardless of the number of servers, each will usually
service many clients.
The following are the key responsibilities of servers in making DHCP work:
☯ Address Storage and Management: DHCP servers are the owners of the addresses
used by all DHCP clients. The server stores the addresses and manages their use,
keeping track of which addresses have been allocated and which are still available.
☯ Configuration Parameter Storage and Management: DHCP servers also store and
maintain other parameters that are intended to be sent to clients when requested.
Many of these are important configuration values that specify in detail how a client is to
operate.
☯ Lease Management: As we saw in the previous section, DHCP servers use leases to
dynamically allocate addresses to clients for a limited time. The DHCP server
maintains information about each of the leases it has granted to clients, as well as
policy information such as lease lengths.
☯ Responding To Client Requests: DHCP servers respond to different types of
requests from clients to implement the DHCP communication protocol. This includes
assigning addresses, conveying configuration parameters and granting, renewing or
terminating leases.
☯ Providing Administration Services: To support all of the above, the DHCP server
includes functionality to allow a human administrator to enter, view, change and
analyze addresses, leases, parameters and all other information needed to run DHCP.
DHCP Client Responsibilities
A DHCP client is any device that sends DHCP requests to a server to obtain an IP address
or other configuration information. Due to the advantages of DHCP, most host computers
on TCP/IP internetworks today include DHCP client software, making them potential
DHCP clients if their administrator chooses to enable the function. The main responsibilities
of a DHCP client are:
☯ Configuration Initiation: The client takes the active role by initiating the communi-
cation exchange that results in it being given an IP address and other parameters. The
server, in contrast, is passive and will not really do anything for the client until the client
makes contact.
☯ Configuration Parameter Management: The client maintains parameters that pertain
to its configuration, some or all of which may be obtained from a DHCP server.
☯ Lease Management: Assuming its address is dynamically allocated, the client keeps
track of the status of its own lease. It is responsible for renewing the lease at the
appropriate time, rebinding if renewal is not possible, and terminating the lease early if
the address is no longer needed.