What is DHCP?

A protocol that automatically assigns IP addresses and network configuration to devices.

Detailed Explanation

DHCP automates the process of configuring devices on a network. When a device joins a network, it broadcasts a DHCP discover message. A DHCP server responds with an offer containing an available IP address, subnet mask, gateway, and DNS servers. The client requests this configuration, and the server acknowledges the assignment. This eliminates manual configuration and prevents IP conflicts.

Examples

  • Your phone automatically gets an IP when joining Wi-Fi
  • Home routers act as DHCP servers for local devices
  • Corporate networks use DHCP to manage thousands of devices

Related Terms