DHCP defined
DHCP (Dynamic Host Configuration Protocol) is an application-layer protocol in TCP/IP networks used to automatically assign IP addresses and related network configuration (subnet mask, gateway, DNS server). It follows a client-server model: the server maintains an IP address pool and answers clients' configuration requests.
The DORA four-step process
DHCP completes address assignment in four DORA steps:
- Discover: the client broadcasts a DHCPDISCOVER message to find available DHCP servers
- Offer: the server replies with DHCPOFFER, offering an available IP address and configuration parameters
- Request: the client broadcasts DHCPREQUEST, confirming acceptance of the server's offer
- Acknowledge: the server sends DHCPACK, formally granting the client the right to use the IP address
Why DHCP matters in the data center
Inside the data center, DHCP plays a critical but often-overlooked role:
- Newly racked servers obtain an IP automatically without manual registration
- After rack moves or failover, devices automatically receive addresses in new segments
- IPAM integration aligns DHCP leases with the asset inventory to avoid IP conflicts
- Reservations keep critical devices (BMC, storage arrays) on fixed addresses
- DHCP Snooping + IP Source Guard prevent rogue devices and IP spoofing
