which the computer broadcasts, asks for a response from routers on the network
segment. The second, which routers broadcast, announces that the router on the
network segment is available. A computer uses a router discovered through the
router discovery mechanism as its default router.
A computer can find network services, such as DNS and printers, by using Service
Location Protocol (SLP; see RFC 2165). SLP is configured either with a central server
or as a distributed service. In either case, a computer looking for a particular service
formulates a request for the service and submits the request through SLP. The
response, from either the SLP server or the computers providing the requested
service, returns to the requesting computer information that describes the service
and the address of the computer that is providing the service.
NOTE
Taken together, RARP/DRARP, the ICMP subnet mask and router discovery messages, and SLP
provide most of the important configuration information a TCP/IP host requires. As explained
in Chapter 3, “Configuring the DHCP Server,” a computer needs an IP address, the subnet
mask, the address of at least one default router, and the address of a DNS server before it can
effectively use TCP/IP.
A network administrator might find that DHCP is a better choice than these other protocols
for computer configuration management. Most importantly, DHCP provides all these configu-
ration functions through a single service. A network administrator needs to manage only one
DHCP server, rather than separate RARP/DRARP, ICMP, and SLP servers. Another advantage of
using DHCP is that it includes the leasing mechanism for automated recovery and reliable
reassignment of IP addresses. Finally, DHCP can provide other TCP/IP stack parameters in
addition to an IP address, subnet mask, and default router, and DHCP does not require a
server on every network segment.
The DHCP Client/Server Architecture
In the DHCP client/server model, the clients are the computers that use DHCP
services to obtain IP addresses and parameters. DHCP servers, managed by network
administrators, hand out the configuration information. DHCP clients initiate all
client/server transactions and are responsible for handling all the details of each
transaction, including generating transaction identifiers and retransmitting lost
protocol messages.
The DHCP model of centralized administration came about for at least two reasons:
to minimize client configuration before the client uses DHCP and to give network
administrators full control over the configuration of networked computers. BOOTP
also influenced the architecture and the details of DHCP. The client/server organiza-
tion in DHCP is identical to that in the BOOTP model. The DHCP message formats,
CHAPTER 5 DHCP Client/Server Model66
008 3273 CH05 10/3/02 5:05 PM Page 66