DHCP automatically gives a device its IP address, subnet mask, default gateway and DNS servers when it joins a network, so nobody configures hosts by hand.
| No. | Step | Source | Destination | Type | Info |
|---|---|---|---|---|---|
| 1 | No address | new laptop | switch | REQUEST | DISCOVER (broadcast) |
| 2 | No address | switch | DHCP server | REQUEST | UDP 68 → 67 |
DHCP automatically gives a device its IP address, subnet mask, default gateway and DNS servers when it joins a network, so nobody configures hosts by hand.