GATE / CS ARCHIVE

GATE CSE 2026 SET 2 / QUESTION 22

Why DHCP uses broadcasts

Computer Networks · IP Addressing, Fragmentation & Address Resolution · Full GATE CSE 2026 Set 2 paper

GATE 2026 Set 2, Q22 1 mark · MCQ
Not in GATE 2027 syllabusReport issue

IP Addressing, Fragmentation & Address Resolution

Question 22, GATE 2026: Which protocol may need to broadcast some application messages? A SMTP; B FTP; C DHCP; D HTTP.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

Givens and goal

Which protocol may need to broadcast some application messages? A SMTP; B FTP; C DHCP; D HTTP.

Approach

Consider what a client knows before it has an IP configuration.

Step-by-step solution

1. A newly connected DHCP client may have neither a usable IP address nor the address of a DHCP server. It cannot begin by directing all messages to a known server address.
2. It can broadcast a DHCPDISCOVER message so reachable DHCP servers can respond. Depending on the state and flags, later DHCP messages may also be broadcast.
3. SMTP transfers mail, FTP transfers files, and HTTP exchanges web requests and responses conventionally using unicast communication with an identified endpoint. They do not have the same initial address-discovery requirement.
4. Therefore C is correct. The word may matters: DHCP can also use unicast in appropriate states; the claim is not that every DHCP message is broadcast. Link-layer discovery used beneath another protocol should not be confused with that protocol’s application messages.

Original paper, page 18 · Answer key