openskills.info
Course Preview

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

DHCP

DHCP gives a device the network settings it needs to communicate. The name stands for Dynamic Host Configuration Protocol.

Without DHCP, you would enter an address and related settings on every device. That approach can work for a few stable systems. It becomes slow and error-prone when laptops, phones, virtual machines, and other clients appear and disappear.

DHCP centralizes that work. A client asks for configuration. A server selects settings for that client. The result is a binding between the client and a collection of parameters.

The core problem

An IP address alone is rarely enough. An IPv4 client commonly also needs a subnet mask, a default router, and one or more DNS server addresses. DHCP carries these values as options.

The server can allocate an address for a limited period called a lease. A lease lets the server reuse an address after the client stops using it. The client can request an extension before the lease expires.

DHCP also supports fixed allocation. An administrator can arrange for a known client to receive stable parameters. DHCP is therefore more than random address assignment. It is a protocol for controlled delivery of host configuration.

The four roles

The client requests configuration. It usually begins before it has a usable address.

Continue the course

This section is part of the paid course.

See pricing to subscribe, or log in if you already have access.

Where this skill leads

Relevant careers

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

Sources

  • https://www.rfc-editor.org/info/rfc2131
  • https://www.rfc-editor.org/info/rfc2132
  • https://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.xhtml
  • https://www.rfc-editor.org/info/rfc5227
  • https://www.rfc-editor.org/info/rfc4861
  • https://www.rfc-editor.org/info/rfc9915