A DHCP configured PC boots up. What is the order of the messages that are sent and received by this PC in order to obtain an appropriate IP address?
- DHCPDISCOVER, DHCPREQUEST, DHCPOFFER, DHCPACK
- DHCPREQUEST, DHCPOFFER, DHCPDISCOVER, DHCPACK
- DHCPDISCOVER, DHCPOFFER, DHCPREQUEST, DHCPACK
- DHCPOFFER, DHCPDISCOVER, DHCPREQUEST, DHCPACK
Explanation: During the boot process, the PC starts by broadcasting a DHCPDISCOVER message to request an available IP address. A DHCP server replies with a DHCPOFFER message, which offers a lease to the device. This message contains the IP address and other information. The PC may receive multiple DHCPOFFER messages if there is more than one DHCP server. In this case, the PC must choose one of the server DHCP offerings. The PC broadcasts a DHCPREQUEST message that identifies the explicit server and lease offer that the PC is accepting. Then the server will return a DHCPACK message that acknowledges to the PC that the lease is finalized.
|