Networking · 5 min read · 19 November 2026
What Is DHCP and How Does It Work? A Simple Guide
DHCP explained simply: how devices get IP addresses automatically (Discover, Offer, Request, Acknowledge), leases, scopes, reservations, options, relay and security.
DHCP (Dynamic Host Configuration Protocol) automatically gives devices an IP address, subnet, default gateway and DNS servers when they join a network. Without it, every device would need manual configuration.
How it works: DORA
- Discover: the device broadcasts "is there a DHCP server?"
- Offer: a server offers an available address.
- Request: the device requests that address.
- Acknowledge: the server confirms and the lease begins.
Key terms
| Term | Meaning |
|---|---|
| Scope / pool | The range of addresses the server can give out in a subnet |
| Lease | How long a device may keep its address before renewing |
| Reservation | A fixed address always given to a specific device (by MAC) |
| Options | Extra settings such as DNS, NTP or provisioning server addresses |
| Relay (helper) | Forwards requests from other VLANs to a central DHCP server |
Security
A rogue DHCP server, often a home router plugged in by mistake, can hand out wrong addresses and redirect traffic. DHCP snooping on switches blocks DHCP offers from untrusted ports. See DHCP snooping and ARP inspection.
Practical guides: DHCP scopes and reservations and troubleshooting devices with no IP address.
FAQ
Frequently asked questions
What happens if the DHCP server is down?
New devices cannot get addresses and fall back to 169.254.x.x; devices with valid leases keep working until the lease expires.
How long should leases be?
Hours to a day for staff networks; shorter (1–4 hours) on busy guest networks.
Should printers and cameras use DHCP?
Yes, with reservations, so addresses are fixed but managed centrally.
Related
Keep reading
DHCP scopes and reservations
Read more →Troubleshoot no IP address
Read more →DHCP snooping
Read more →Private 5G vs Wi-Fi for Enterprises: Which Wireless Technology Fits?
Compare private cellular networks and enterprise Wi-Fi for factories, ports, campuses and warehouses: coverage, mobility, device support, spectrum, cost and when to combine both.
Read more →What Is Port Security on a Switch? Stop Unknown Devices From Connecting
Switch port security explained: limiting MAC addresses per port, sticky learning, violation modes (protect, restrict, shutdown), when to use it and how it compares with 802.1X.
Read more →Warehouse and Logistics Network Design: Scanners, Cameras and Automation
How to design networks for warehouses and logistics centres: Wi-Fi for scanners and vehicles, outdoor yards and docks, CCTV, industrial switches for automation, and resilience.
Read more →Need help designing your network?
Navijin engineers provide free design consultations, bills of materials and quotations for business projects.