Dynamic Host Configuration Protocol
Subject: Computer and Technology noun /daɪˈnæm.ɪk hoʊst kənˌfɪɡ.jəˈreɪ.ʃən ˈproʊ.tə.kɔːl/ 1 definition
- computer-networking
- network-protocols
- ip-addressing
- network-administration
-
Definition (noun)
Entry #16 · UpdatedThe Dynamic Host Configuration Protocol (DHCP) is a client-server network management protocol that dynamically assigns IP addresses and configuration parameters to devices connecting to an IP network. When a host joins a network, it communicates with a DHCP server—typically through a four-step Discover, Offer, Request, and Acknowledge (DORA) exchange—to receive a time-limited address lease alongside settings such as a subnet mask, default gateway, and DNS servers. By automating host configuration and reclaiming addresses when leases expire, DHCP eliminates error-prone manual setup, prevents IP address conflicts, and enables efficient reuse of limited address pools.
Common Forms
DHCPv4: Allocates 32-bit IPv4 addresses and network options over UDP ports 67 and 68 using broadcast discovery and time-limited leases within IPv4 networks.
DHCPv6 (Stateful and Stateless): Operates over UDP ports 546 and 547 for IPv6 networks, either assigning full 128-bit addresses and prefix delegations statefully or delivering DNS and domain options statelessly alongside SLAAC.
Static DHCP Reservation: Maps a dedicated IP address to a device's hardware MAC address or client identifier so servers, printers, and network appliances always receive the same predictable address automatically.
DHCP Relay Agent: Intercepts local broadcast or link-local DHCP client messages on separate subnets and forwards them as unicast traffic to a centralized DHCP server, allowing one server infrastructure to manage multiple network segments.
Example
When a laptop joins a corporate Wi-Fi subnet (
10.24.0.0/22), it sends aDHCPDISCOVERbroadcast that the local router relays to a central DHCP server, which offers IP address10.24.1.48on an 8-hour lease. Once the laptop completes theDHCPREQUESTandDHCPACKexchange, it automatically applies10.24.1.48(subnet mask255.255.252.0), default gateway10.24.0.1, and internal DNS servers with no manual configuration.