Introduction – Three Protocols Behind Every Connection
“Before devices can communicate, they need an address, a way to reach local destinations, and a method to check what is happening along the way.”
You connect a laptop to the office network and open a website. It feels instant, but several jobs happen first. The laptop needs an IP address, it must discover where local destinations live, and when something fails, tools need a way to report what went wrong.
Three protocols handle these jobs. DHCP supplies network configuration, ARP maps local IPv4 addresses to MAC addresses, and ICMP carries the control messages behind tools like ping and traceroute. Let’s see how each works and how they fit together.
1. DHCP – Automatic IP Address Assignment
“Configuring every device by hand would be slow and error-prone. DHCP lets devices request their network settings automatically.”
Imagine setting addresses by hand on hundreds of laptops, phones and printers. The Dynamic Host Configuration Protocol (DHCP) removes that burden. A DHCP server can assign an IP address and supply the subnet mask, default gateway, DNS server and lease duration.
In a typical DHCPv4 exchange, the initial assignment follows the DORA sequence:
• Discover – The client broadcasts a message to find available DHCP servers.
• Offer – A server offers an address and configuration details.
• Request – The client asks for the offered address.
• Acknowledge – The server confirms the lease and completes the assignment.
The address is leased, not permanent, and the client can renew it. On larger networks, a DHCP relay agent forwards requests to a server on another network.







