How Your Devices Get on The Network

What DHCP does
DHCP, the Dynamic Host Configuration Protocol, is the system that hands out network settings automatically. Every device on a network needs a few things to function: its own IP address, so other devices can find it; the address of the router that leads out to the internet; and the address of a DNS server to look names up. In the old days, someone typed all of that into every machine by hand. On a network of more than a few devices, that quickly becomes a misery of clashes and mistakes.
DHCP does it for them. When a device joins, it effectively calls out “does anyone here hand out addresses?”, and a DHCP server, usually built into your router, answers with a free address and the rest of the settings, lent out for a set period called a lease. The whole exchange, set out in a standard that has barely changed in decades, takes a fraction of a second.
Why “turn it off and on again” so often works
DHCP also quietly explains one of IT support’s oldest pieces of advice. When a device cannot get online and reconnecting fixes it, what often happened was a DHCP hiccup: the device never got a clean address, or its lease got into a muddle. Disconnecting and rejoining forces the whole conversation to start over from scratch, a fresh address is handed out, and everything springs back to life. It is not magic, and it is not nothing. It is DHCP getting a second go.
The same machinery sits behind a few other everyday mysteries: why two devices very occasionally claim the same address and knock each other offline, or why a network that has run out of free addresses to lend suddenly stops letting new devices on.
The bits worth knowing for a business
For the most part DHCP is happily invisible, which is how it should be. Two things are worth a business owner knowing. First, because DHCP is so trusting, a rogue device pretending to be the address-giver can quietly misdirect traffic on a network that has not been set up to prevent it, which is one more reason proper managed equipment earns its keep. Second, the few things that genuinely need a fixed, never-changing address, a server, a printer everyone relies on, certain equipment, are usually best assigned deliberately rather than left to the general pool.
Neither is something to lose sleep over. They are simply the sort of detail a well-set-up network gets right quietly, so that the only thing you ever notice about DHCP is that everything connects the moment you switch it on.