Networking & Internet
DHCP
Definition
The Dynamic Host Configuration Protocol (DHCP) is a network management protocol used on Internet Protocol networks for automatically assigning IP addresses and other communication parameters to devices connected to the network.
Why It Matters
DHCP automates the process of network configuration. Without it, a network administrator would have to manually assign an IP address to every single device on the network, which would be incredibly tedious and error-prone.
Contextual Example
When you connect your laptop to a Wi-Fi network, your laptop sends out a DHCP request. The DHCP server (usually running on the router) responds by assigning your laptop an available IP address, a subnet mask, the router's IP address (as the gateway), and DNS server addresses.
Common Misunderstandings
- DHCP makes joining a new network seamless and automatic.
- IP addresses assigned by DHCP are typically "leased" for a certain period of time.