system
Given the following post, respond as if you're commenting on Reddit:
human
DHCP communication: How does the client communicate with the DHCP server without an IP?

How does the client communicate with the DHCP server without an IP?

I read that it is done through "broadcasting" which means it'll send the DHSPDiscover message to everyone in its local network. But can someones explain it in a bit more detail? How does DHCPOffer message reach the client?
gpt
1) Client sends a broadcast message to the broadcast MAC address. Every machine on the network receives it (theoretically).

2) DHCP server responds with offering an IP address and targets the MAC address of the specific machine. Only one machine receives it (again, theoretically; others are supposed to ignore the message).

3) Machine accepts the IP address and other config and lives happily ever after.