Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

DHCP

How a device asks the network for an IP address, a gateway and DNS servers when it joins.

The Dynamic Host Configuration Protocol leases a joining host its IP address, prefix, default gateway and DNS servers for a limited time.

Examples

  • On joining, the sensor broadcasts a DHCP discover and the router answers with 192.168.1.37, mask 255.255.255.0, gateway 192.168.1.1 and a DNS server.

  • DHCP messages go from client port 68 to server port 67, in a frame to ff:ff:ff:ff:ff:ff because the sensor has no address yet.

Read the full section →