Skip to main content
Legia

IT Infrastructure & Cloud

What is DHCP?

Also called Dynamic Host Configuration Protocol, DHCP server.

Short definition

DHCP (Dynamic Host Configuration Protocol) is a protocol that automatically assigns an IP address and other network settings to every device that connects to the network.

How it works

When a laptop connects to the office Wi-Fi, it broadcasts a request across the network looking for a DHCP server. The server offers an available IP address, the laptop accepts it, and the server records that address as in use. Along with the IP address, the device also receives the gateway address for reaching the internet and the DNS server address. The address is loaned for a set period, called a lease, and renewed as long as the device stays active.

Example in an office

In a small office, the router usually acts as the DHCP server. In larger offices, DHCP runs on a server or firewall, with separate address ranges for each network, for example one for employees and one for guests. Without DHCP, the IT team would have to enter IP addresses on every device one by one.

Things to keep in mind

Printers, servers, and security cameras should get fixed addresses through DHCP reservations, so they do not change addresses and become hard to find. The address range also needs to be large enough for every device. When it runs out, new devices cannot connect even though the Wi-Fi signal looks full. Two DHCP servers accidentally running on the same network are also a common source of problems.

Related Legia service Office Network Installation LAN cabling, fiber optics, wireless access points, and server racks, with every point tested before handover.

Related terms