Write Short Notes on DHCP (Dynamic Host Configuration Protocol)

Write Short Notes on DHCP (Dynamic Host Configuration Protocol)

Verified Sources
Sep 12, 2026

DHCP is a standardized protocol that allows hosts to receive IP address configuration automatically from a server instead of manual setup. In typical usage, a DHCP client broadcasts discovery messages to find a DHCP server and then receives parameters such as IP address, subnet mask, default gateway, and DNS settings.

A common misconception is that DHCP “only assigns IP addresses.” In practice, DHCP can also deliver a variety of network configuration options (e.g., DNS servers, domain name, NTP server), and it manages address ownership using leases.


Key concepts (short notes)

  • DHCP reduces administrative effort and helps prevent misconfiguration.
  • The core exchange often follows the DORA pattern.
  • DHCP runs over UDP using well-known ports (server/client).
  • Address assignments are temporary via DHCP lease.
  • DHCP supports intermediaries through a DHCP relay agent when clients and servers are on different subnets.

Note: I attempted to perform web research, but the search tool is currently unavailable due to a usage-limit error. As a result, I cannot include citation-backed, externally verified claims or standards references in the required format.

DHCP Basics (DORA handshake, leases, and configuration)

DHCP message flow (DORA) — short notes

The “four-step” DORA handshake is the standard way a new client obtains configuration.

What each step means (concise):

  1. DHCPDISCOVER: client looks for available DHCP servers.
  2. DHCPOFFER: server proposes an address and configuration.
  3. DHCPREQUEST: client asks to use the offered configuration.
  4. DHCPACK: server grants the address for a lease time.

Step-by-step: How a DHCP client obtains an address

  1. 1
    Step 1

    Client starts with no (or incorrect) IPv4 settings and prepares to request configuration.

  2. 2
    Step 2

    Client broadcasts a DHCPDISCOVER message to locate reachable DHCP servers.

  3. 3
    Step 3

    Server(s) respond with DHCPOFFER containing a proposed IP address and configuration options.

  4. 4
    Step 4

    Client selects one offer and sends DHCPREQUEST to confirm the chosen server/address.

  5. 5
    Step 5

    Server replies with DHCPACK confirming the lease and sending final configuration parameters.

  6. 6
    Step 6

    Client uses the address until lease expiry; it periodically attempts renewal (when configured) or releases the address when done.

Pro Tip

When troubleshooting, always verify whether the problem is discovery (client can’t reach server), address offer (server not responding), or lease/renewal (client gets address but later fails renewal).

DHCP lease behavior — short notes

DHCP assignments are governed by a lease.

  • The server includes the lease duration in its responses (commonly via an option such as lease time).
  • The client uses the address and, when nearing expiry, attempts renewal.
  • If renewal fails, the client may need to re-enter the DHCP acquisition process.

This lease mechanism helps avoid stale address assignments and supports safe reuse in dynamic environments.

Lease states (conceptual)

  • Newly assigned (fresh lease)
  • Active/renewing (client attempts to extend validity)
  • Expired (client must stop using address or must re-acquire/rebind depending on behavior)

Common Exam/Interview Pitfall

DHCP is not the same as DNS. DHCP provides network configuration (IP/subnet/gateway/DNS server addresses). DNS provides name resolution (hostnames to IPs).

DHCP server and client roles — short notes

DHCP server responsibilities

A DHCP server:

  • Maintains an address pool (the set of assignable IPs).
  • Tracks which client has which address (often using lease records).
  • Selects configuration based on pool rules and client identity.
  • Returns DHCP options (e.g., gateway, DNS, domain name, time server).

DHCP client responsibilities

A DHCP client:

  • Broadcasts/requests configuration when it lacks valid settings.
  • Applies received parameters to its network interface.
  • Renews or re-acquires configuration when leases expire or network changes.

Address allocation, pools, and options — short notes

Address pool

An administrator configures a range (pool) of IP addresses that the server may assign to clients. The server assigns an address from that pool and sets a lease duration.

DHCP options

DHCP messages can carry many options including:

  • DNS server addresses and domain name
  • Default gateway/router
  • NTP server
  • (In advanced deployments) vendor-specific information for specific devices

In network design, DHCP options are a common way to centralize host configuration.

DHCP lifecycle on a client

No/Invalid IP

Start

Client has no working configuration or has become invalid."

DORA handshake

Acquire

Client discovers servers, selects an offer, and receives ACK."

Use address

Operate

Client uses assigned IP parameters to communicate."

Lease renewal

Renew

Client extends lease before expiry."

Network changes

Reconfigure

Client may reacquire configuration (new subnet/policy)."

Where DHCP fits in networks (quick comparison)

DHCP vs manual configuration

  • Manual: faster for tiny static networks; error-prone at scale.
  • DHCP: scalable, consistent, supports centralized policy via options.

DHCP vs BOOTP (high-level note)

D H C P evolved to add lease-based management and richer options compared to earlier mechanisms used for static boot-time address assignment in simpler environments.

DHCP impact (conceptual)

Qualitative comparison often used in short notes: DHCP improves scalability and reduces errors.

FAQ-style short notes

DHCP Short Notes Deck

1 / 5
Question · Term

What does DHCP stand for?

Click to reveal
Answer · Definition

Dynamic Host Configuration Protocol—automates network IP configuration.

Knowledge Check

Question 1 of 4
Q1Single choice

In the standard DHCP acquisition process, which message does the client broadcast first to find servers?