Skip to content
BENIBIX Learn

Dynamic Host Configuration Protocol (DHCP)

Infrastructure🌐 NetworkingNetwork Addresses

Also known as DHCP, DHCP Server, DHCP Lease

Gives each new device an address when it joins a network.

Think of it like

It is like a coat check. You get a numbered tag when you arrive, and you hand it back when you leave.

Example

Lucy's friend joins her Wi-Fi. The home router lends his phone the address 192.168.1.40 for one day, and nobody types a thing.

Why it matters

Without it, someone would type an address into every device by hand. No two could be the same.

Definition

DHCP gives each device an IP address when it joins a network. A new device sends out a request, and a DHCP server answers with a free address. The answer also says which router to use and where to find DNS. The address is only lent for a set time, called a lease. The device must renew the lease to keep it.
The router hands each new device a free private address. That hand-out is DHCP.

Common mistake

Letting a server's address change with DHCP. Give it a fixed address, so it is always found in the same place.

Key takeaways

  1. 1
    Hands out. A free address for each new device.
  2. 2
    Lends it. The lease runs out unless renewed.
  3. 3
    Extra settings. It also names the router and DNS.

Learn it properly