Lably
Skip to content

Dynamic Host Configuration Protocol

Principal protocol used to assign IPv4 addresses on an IPv4 network

  • 16 min read
  • 11 chapters
The dynamic host configuration protocol (DHCP) according to client/server model, as well as the traffic routing types between the components of the protocol topology.
Michel Bakni · CC BY-SA 4.0

Related on Lably

Through IP address, Server (computing) and Router (computing)

The technology eliminates the need for individually configuring network devices manually, and consists of two network components, a centrally installed network DHCP server and client instances of the protocol stack on each computer or device. When connected to the network, and periodically thereafter, a client requests a set of parameters from the server using DHCP.

DHCP can be implemented on networks ranging in size from residential networks to large campus networks and regional ISP networks. Many routers and residential gateways have DHCP server capability. Most residential network routers receive a unique IP address within the ISP network. Within a local network, a DHCP server assigns a local IP address to each device.

DHCP services exist for networks running Internet Protocol version 4 (IPv4), as well as version 6 (IPv6). The IPv6 version of the DHCP protocol is commonly called DHCPv6.

History

The Reverse Address Resolution Protocol (RARP) was defined in 1984 for the configuration of simple devices, such as diskless workstations, with a suitable IP address. Acting in the data link layer, it made implementation difficult on many server platforms. It required that a server be present on each individual network link. RARP was superseded by the Bootstrap Protocol (BOOTP) defined in September 1985. This introduced the concept of a relay agent, which allowed the forwarding of BOOTP packets across networks, allowing one central BOOTP server to serve hosts on many IP subnets.

DHCP was first defined in October 1993. It is based on BOOTP, but can dynamically allocate IP addresses from a pool and reclaim them when they are no longer in use. It can also be used to deliver a wide range of extra configuration parameters to IP clients, including platform-specific parameters.

Four years later, the DHCPINFORM message type (used for WPAD) and other small changes were added. This definition, from 1997, remains the core of the standard for IPv4 networks.

DHCPv6 was initially defined in 2003. After updates by many subsequent RFCs, its definition was replaced in 2018, where prefix delegation and stateless address autoconfiguration were now merged.

Sign in to keep reading

10 more chapters are free with a Lably account.

More in Computing and communication