DHCP WORKING |How DHCP works?
Ø It works based on Client-Server model . Ø It uses UDP port no. 67 and 68 for working. · Port no. 67 - Server provides services. · Port no. 68 - Client listens. Ø It uses DORA process for it’s working (Complete IP allocation process) · Discover · Offer · Request · Acknowledgement Ø Suppose there are four computers having IP addresses provided by Dynamic Host Configuration Protocol server with the help of this address, they are communicating with each other. Ø Let us consider, one more new device (client) is added in the network. It needs an IP address to communicate with other devices in the network. Ø We have configured this device that it should take IP address dynamically from DHCP server (Automatic setting). Ø So this client send the Discover message in the network to all devices ( Broadcasting of message- 255.255.255.255 ) Ø This message contains source UDP