Which one of the following protocols may need to broadcast some of its messages?
C
Step-by-Step Solution
Insight: Application layer protocols only use broadcast when they suffer from the "bootstrap problem" — they need to find a server but do not yet know its IP address.
Exam route: SMTP, FTP, and HTTP are all unicast TCP protocols; they connect to specific, known server IPs. DHCP, however, is used by a client that has just joined a network and has no IP address and no knowledge of the DHCP server's IP. It must broadcast (using 255.255.255.255) to discover the server. Thus, DHCP is the correct answer.
Learning route: Let us evaluate the transport and delivery requirements of each protocol.
- SMTP (Simple Mail Transfer Protocol): Uses TCP port 25. Requires a reliable, point-to-point connection to a specific mail server. Unicast only.
- FTP (File Transfer Protocol): Uses TCP ports 20/21. Requires reliable, point-to-point connection for large file transfers. Unicast only.
- HTTP (HyperText Transfer Protocol): Uses TCP port 80/443. Requires reliable connection to a specific web server. Unicast only.
- DHCP (Dynamic Host Configuration Protocol): Uses UDP ports 67/68. When a host boots up, it sends a DHCPDISCOVER message. Since it lacks a destination IP, it uses the limited broadcast address.
Therefore, only DHCP requires broadcasting.