Concept Flow - DHCP for automatic IP assignment
Device connects to network
Device sends DHCP Discover
DHCP Server receives Discover
Server sends DHCP Offer with IP
Device sends DHCP Request to accept IP
Server sends DHCP Acknowledgment
Device configures IP and network settings
Ready to communicate
The device asks for an IP, the DHCP server offers one, the device accepts it, and the server confirms. Then the device uses the assigned IP.