Which port and protocol do DHCP clients use to obtain an IP address?

Prepare for the CPSA Port Numbers Exam with quizzes on port numbers, services, and protocols. Each question is accompanied by hints and detailed explanations. Get exam-ready with our comprehensive study tool!

Multiple Choice

Which port and protocol do DHCP clients use to obtain an IP address?

Explanation:
DHCP uses UDP with two well-known ports: the server listens on UDP port 67, and the client uses UDP port 68 to receive responses. When a device without an IP boots, it sends DHCP messages from port 68 to port 67, and the server replies back to port 68. This exchange (Discover, Offer, Request, Acknowledge) ultimately assigns an IP address to the client. The other ports are used for different services (DNS on 53, TFTP on 69) or represent the server side rather than the client side.

DHCP uses UDP with two well-known ports: the server listens on UDP port 67, and the client uses UDP port 68 to receive responses. When a device without an IP boots, it sends DHCP messages from port 68 to port 67, and the server replies back to port 68. This exchange (Discover, Offer, Request, Acknowledge) ultimately assigns an IP address to the client. The other ports are used for different services (DNS on 53, TFTP on 69) or represent the server side rather than the client side.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy