Glossary · Networking

DHCP (Dynamic Host Configuration Protocol)

DHCP is a protocol that automatically gives devices an IP address, subnet mask, default gateway and DNS servers when they join a network.

Updated October 6, 2026

DHCP (Dynamic Host Configuration Protocol) is a client-server protocol in which a device broadcasts a request and a DHCP server replies with a leased IP address plus settings such as the gateway and DNS resolvers.

Why it matters

Without DHCP every device would need manual configuration, and duplicate addresses would be common. The lease has a duration; the client renews it halfway through. Servers can reserve a fixed address for a given MAC address so important devices keep the same IP. A broken DHCP server often shows up as devices with 169.254.x.x self-assigned addresses.

Example

The exchange is known as DORA:

Discover  client broadcasts: anyone have an address?
Offer     server proposes 192.168.1.50
Request   client asks for 192.168.1.50
Ack       server confirms, lease 24h

The client now uses 192.168.1.50 until the lease expires or is renewed.

Common mistakes

  • Running two DHCP servers on one network, for instance an extra router, which hands out conflicting settings.
  • Assigning a static IP inside the DHCP pool, which can collide with a leased address.
  • Setting lease times so long that a small address pool fills with stale devices.

Get notified when this term updates

Plus occasional practical tips on uptime and monitoring, nothing else. Unsubscribe anytime.

This page is general information written by our editorial team and updated when documentation changes. Servers and providers differ, so test changes safely first. See our editorial policy and disclaimer.