|
|
Installing and Administering Internet Services: HP 9000 Networking > Chapter 6 Dynamic Host Configuration Protocol (DHCP)DHCP Components and Concepts |
|
The primary components of DHCP discussed in this section include the DHCP server, DHCP client, and DHCP leases. The DHCP server dispenses and manages network IP addresses. It assigns IP addresses to clients that are connecting to the network for the first time. When a client connects to the network, the server automatically assigns it an IP address from an appropriate pool of addresses. You can have multiple DHCP servers on your network as long as their subnet pools do not overlap. However, it is recommended that you have only one DHCP server for your entire network. The server is responsible for a pool of IP addresses. It can give out an IP address to a client requesting a new configuration from the pool of IP addresses for which it is responsible. When a client asks for confirmation of its existing configuration, the server confirms the configuration. DHCP is a superset of the older BOOTP bootstrap protocol. The HP-UX DHCP server will service older BOOTP clients. And DHCP servers and clients from different vendors interoperate very well with one another. DHCP server supplies DHCP clients with sufficient information to establish an endpoint for network communications. It also supplies other parameters needed by system- and application-level software. HP-UX workstations can run DHCP clients automatically. Autoparms script enables HP-UX to run DHCP clients automatically. If you edit the configuration, the autoparms script will not run. DHCP clients can include TCP/IP network printers, X terminals, and Microsoft Windows machines. In addition to supporting new DHCP clients, the HP-UX DHCP server supports new and existing BOOTP clients. DHCP clients are currently supported on 10 BaseT and 100 BaseT ethernets. It is not supported on FDDI and Token Ring networks. The DHCP server has control of the IP address block. It grants DHCP clients permission to use IP addresses on a lease basis. The IP address is "leased" to the client for a fixed amount of time. The administrator sets the lease time, which can last from 120 seconds to infinity. During the lease, DHCP guarantees that the IP address assigned to the client will not be re-assigned to another client. Before the lease time expires, the DHCP client automatically requests an extension on its lease. As long as the client can contact the DHCP server, the server will renew the lease. For example, when client A reboots, it attempts to renew the lease it had before being powered off. If client A was powered off when the renewal time elapsed, it can be assigned a different IP address. If the IP address is still unassigned when client A comes back online, the server can assign the same IP address to client A. But if the server assigned the IP address to client B while client A was off-line, client A will be assigned a different IP address. This section covers the basic interaction between a client and DHCP server to assign an IP address to a client on the network.
Figure 6-1 “DHCP Client and Server Transaction” illustrates what takes place between the DHCP client and server. |
|