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

  1. Discover: the device broadcasts "is there a DHCP server?"
  2. Offer: a server offers an available address.
  3. Request: the device requests that address.
  4. Acknowledge: the server confirms and the lease begins.

Key terms

TermMeaning
Scope / poolThe range of addresses the server can give out in a subnet
LeaseHow long a device may keep its address before renewing
ReservationA fixed address always given to a specific device (by MAC)
OptionsExtra 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.

Need help designing your network?

Navijin engineers provide free design consultations, bills of materials and quotations for business projects.