2 What is DHCP?

DHCP (dynamic host configuration protocol) is a networking protocol that let a client host acquire its IP address as well as other network related settings (such as DNS servers) from a server.

DHCP is very useful in local area networks, where it is a big hassle, or impossible to configure each host to use a static IP address. The use of static IP addresses is dangerous. For example, if two hosts set up to use the same static IP address, a lot of confusion will happen as a result.

The basic mechanism of DHCP is rather simple:

Here comes a rather big wrench thrown into the gears of DHCP: what if there are multiple DHCP servers on the same local network? Let’s say there are two DHCP servers, “X” and “Y”. Here’s a scenario: