The Dynamic Host Configuration Protocol (DHCP) is a standardized used on (IP) networks. The DHCP is controlled by a DHCP server that dynamically distributes network configuration parameters, such as IP addresses, for interfaces and services. A router or a residential gateway can be enabled to act as a DHCP server. A DHCP server enables computers to request IP addresses and networking parameters automatically, reducing the need for a network administrator or a user to configure these settings manually. In the absence of a DHCP server, each computer or other device (e.g., a printer) on the network needs to be statically (i.e., manually) assigned to an IP address.
TCP/IP defines how devices on one network communicate with devices on another network. A DHCP server can manage TCP/IP settings for devices on a network, by automatically or dynamically assigning Internet Protocol (IP) addresses to the devices. As of 2011, networks ranging in size from home networks to large campus networks and regional Internet service provider networks commonly use DHCP. Most residential network routers receive a globally unique IP address within the provider network. Within a local network, a DHCP server assigns a local IP address to each device connected to the network.
The DHCP operates based on the client–server model. When a computer or other device connects to a network, the DHCP client software sends a broadcast query requesting the necessary information. Any DHCP server on the network may service the request. The DHCP server manages a pool of IP addresses and information about client configuration parameters such as default gateway, domain name, the name servers, and time servers. On receiving a request, the server may respond with specific information for each client, as previously configured by an administrator, or with a specific address and any other information valid for the entire network and for the time period for which the allocation (lease) is valid. A client typically queries for this information immediately after booting, and periodically thereafter before the expiration of the information. When a DHCP client refreshes an assignment, it initially requests the same parameter values, but the DHCP server may assign a new address based on the assignment policies set by administrators.