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 →Will My Network Keep Working if Cloud Management Goes Down?
Cloud management is convenient, but the network must not depend on it. What should keep working during a cloud outage, what pauses, and what to check when you choose equipment.
Read more →NOC vs SOC: What Is the Difference and Do You Need Both?
A NOC keeps the network running; a SOC keeps attackers out. Compare their goals, tools, alerts and metrics, and see how small and mid-size organisations can combine them.
Read more →The CIA Triad in Practice: Confidentiality, Integrity and Availability on Real Networks
Confidentiality, integrity and availability are the base of information security. See what each one means for switches, Wi-Fi, gateways and cameras, with practical controls for each.
Read more →Need help designing your network?
Navijin engineers provide free design consultations, bills of materials and quotations for business projects.