DHCP (Dynamic Host Configuration Protocol)
DHCP is an automated client-server network protocol that dynamically assigns IP addresses, subnet masks, default gateways, and DNS server addresses to hosts.
DORA: Discover -> Offer -> Request -> Acknowledge. Uses UDP 67 (Server) and UDP 68 (Client).
In Simple Terms
Visual Diagram & Flow
◄── 2. Offer
3. Request (Bcast) ──►
◄── 4. ACK
Without DHCP, managing thousands of mobile client devices in an enterprise or Wi-Fi network would be logistically impossible.
How It Works (Technical Breakdown)
Renting a car: You walk to the counter (Discover), the agent shows available car models (Offer), you sign the paperwork choosing Car 4 (Request), and the agent hands you the keys and parking pass (Acknowledge).
A home router acts as a DHCP server with a pool of `192.168.1.100` - `192.168.1.200`, subnet mask `255.255.255.0`, gateway `192.168.1.1`, and DNS `8.8.8.8` with a 24-hour lease.
Having two unauthorized rogue DHCP servers on the same VLAN handing out overlapping IP pools and incorrect default gateways.
Prerequisites
Next & Related Concepts
Concept Mastery Quiz
Test your comprehension with active-recall questions.
Active Recall Flashcards
Click each flashcard to reveal the answer and test your memory.
Content Versioning
Audit trail of revisions and updates for this knowledge topic.
| Version | Change Summary | Author | Timestamp |
|---|---|---|---|
| v1 (Current) | Active production content | system | Sun, Aug 23, 2026 11:09 AM |