DHCP: True Statements and Key Concepts

Which statement about DHCP is true?

Prev Question Next Question

Question

Which statement about DHCP is true?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

B.

Answer: B. The DHCPDiscover packet is a broadcast message.

Explanation:

Dynamic Host Configuration Protocol (DHCP) is a protocol used to automatically assign IP addresses, subnet masks, default gateways, and other network configuration parameters to network devices.

The DHCP protocol operates using a client-server model. The client broadcasts a DHCPDiscover message to locate a DHCP server. The server then responds with a DHCPOffer message, which contains the proposed IP address and configuration parameters. The client selects an offer and sends a DHCPRequest message to request the selected IP address and configuration parameters. The server responds with a DHCPAck message, which confirms the assignment of the IP address and configuration parameters.

Now, let's look at the statements:

A. DHCP uses TCP port 68 and 67: This statement is incorrect. DHCP uses User Datagram Protocol (UDP) port 67 for the server and UDP port 68 for the client.

B. The DHCPDiscover packet is a broadcast message: This statement is true. The DHCPDiscover message is a broadcast message sent by the client to locate a DHCP server.

C. The DHCPRequest is a unicast message: This statement is incorrect. The DHCPRequest message is a broadcast message that requests the selected IP address and configuration parameters.

D. The DHCPOffer packet is sent from the DHCP client: This statement is incorrect. The DHCPOffer message is sent from the DHCP server to offer an IP address and configuration parameters to the client.

Therefore, the correct answer is B. The DHCPDiscover packet is a broadcast message.