Home > Networking Fundamentals > What Is DHCP?
What Is DHCP? (Dynamic Host Configuration Protocol Explained Simply)
If APIPA (169.254.x.x) is the sign that something went wrong, DHCP is the system that normally prevents that problem in the first place.
DHCP is one of the most important networking concepts on the CompTIA A+ exam because it explains how most devices automatically get online.
What Does DHCP Stand For?
DHCP stands for Dynamic Host Configuration Protocol.
DHCP automatically assigns network settings to devices so they can communicate on a network and access the internet.
Instead of manually typing an IP address, subnet mask, gateway, and DNS servers, DHCP delivers them automatically.
What Does DHCP Assign?
A DHCP server typically assigns:
- IP address (example: 192.168.1.50)
- Subnet mask (example: 255.255.255.0)
- Default gateway (example: 192.168.1.1)
- DNS servers (example: 8.8.8.8 or your ISP/router DNS)
On most home networks, the router is the DHCP server.
How Does DHCP Work? (The Simple Flow)
You’ll often see this described as a 4-step process (good to recognize for exams):
- Discover — Device broadcasts “Is there a DHCP server?”
- Offer — DHCP server offers an IP address
- Request — Device requests that offered IP
- Acknowledge — DHCP server confirms and leases the IP
You don’t have to memorize every packet detail for A+, but you should understand the overall idea: DHCP is an automated “handshake” that assigns network settings.
What Is a DHCP Lease?
A DHCP lease is a temporary rental of an IP address.
- The server assigns an IP address for a certain time period (hours or days).
- Before it expires, the device attempts to renew it automatically.
- This prevents two devices from accidentally using the same IP address.
Memory trick: Lease = “you don’t own the IP forever.”
How to Check DHCP on Windows
Open Command Prompt and run:
ipconfig /all
Look for:
- DHCP Enabled: Yes/No
- DHCP Server: the IP that assigned the lease (often your router)
- Lease Obtained / Lease Expires: lease timing
Common DHCP Problems (A+ Exam Clues)
If DHCP fails, you might see:
- APIPA address (169.254.x.x)
- No internet access
- “Limited connectivity” warnings
Common causes:
- Bad or unplugged Ethernet cable
- Wi-Fi authentication issues
- Router is offline / DHCP service disabled
- DHCP scope exhausted (no more IPs available)
- Network adapter driver issues
How to Troubleshoot DHCP Issues
- Confirm physical connection (Ethernet / Wi-Fi)
- Restart the device and router
- Disable and re-enable the network adapter
- Run:
ipconfig /release
ipconfig /renew
If you still get a 169.254 address, focus on the path to the DHCP server (router/switch/cable/Wi-Fi authentication).
DHCP vs Static IP (When Would You Use Each?)
- DHCP: best for most devices (laptops, phones, classrooms) because it’s automatic and scalable.
- Static IP: used when a device must stay at a fixed address (servers, printers, network gear).
In the real world, printers and servers often use static IPs (or DHCP reservations) so they’re always reachable at the same address.
Related Networking Articles
Recommended A+ Study Tools
Want to lock in DHCP quickly? Take the practice exams, then come back and review the troubleshooting section.
Final Summary
- DHCP automatically assigns IP settings to devices
- Most home networks use the router as the DHCP server
- DHCP uses a short “handshake” to offer and lease an IP
- A DHCP lease is temporary and renews automatically
- If DHCP fails, devices may fall back to APIPA (169.254.x.x)