openskills.info
Open Course

DHCP

DHCP (Dynamic Host Configuration Protocol) automatically assigns IP addresses and network parameters to devices when they join a network. It eliminates manual address configuration, manages address pools, and provides lease-based allocation so addresses return to the pool when no longer needed.

itNetworking

Don't Panic: DHCP

DHCP is the network's configuration desk. A device arrives with the digital equivalent of an empty form, and DHCP returns the address and settings it needs to join the conversation. Before DHCP, somebody typed those details into each device. This was tolerable until the building filled with laptops, phones, virtual machines, and the occasional mystery appliance that has somehow acquired a screen.

The central trick is the lease. An address is permission for a period, not a deed handed down through generations. The server records a binding between a client and its configuration, then takes the address back when the permission ends. That is how a finite address pool serves a population that comes and goes without requiring a spreadsheet to become a critical network component.

In DHCPv4, the first conversation has four useful beats: Discover, Offer, Request, and Acknowledge. The client asks who can help. Servers offer configuration. The client selects one offer. The chosen server confirms it. This sequence is often called DORA, a pleasant abbreviation that should not prevent anyone from reading the packet names when something breaks.

The surprising part is that an address is only the envelope. DHCP options can also supply a subnet mask, default router, and DNS servers. A client can receive a perfectly valid address and still fail to reach anything useful if one of those settings is wrong. This is why packet captures and server logs need to show the returned options, not merely the happy sight of an ACK.

Relay agents are the couriers that let a client broadcast locally while a server lives elsewhere. They carry the request across routed boundaries and provide the subnet context the server uses to choose policy. When one subnet fails and the rest survive, this path is more suspicious than the shared server. DHCPv6 has related goals but a separate protocol, and Router Advertisements still participate in IPv6 router discovery.

Start with the Intro for the roles, leases, relays, and trust boundary. Use the Slides when the message flow and failure scope need a compact map. Keep the Cheatsheet nearby when you need ports, option codes, lifecycle states, or the next observation to collect. The Reference tab is where exact RFC behavior and the current option registry wait patiently, as standards do.

Where this skill leads

Relevant careers

See how this topic contributes to broader role-level skill maps.

Sources