GATE / CS ARCHIVE

GATE CSE 2024 SET 2 / QUESTION 28

IPv4 fragmentation and the DF bit

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

GATE 2024 Set 2, Q28 1 mark · MSQ
Report issue

IP Addressing, Fragmentation & Address Resolution

Question 28, GATE 2024: Which IPv4 statements are intended to be true? A only the source fragments; B any router fragments a datagram exceeding its outgoing MTU; C reassembly occurs only at the destination; D every intermediate router reassembles. The printed B does not mention the Don’t Fragment bit.
Tap to enlarge
Select all that apply
Answer & solution

Official answer: B, C

Our answer: B;C when DF=0; C without that qualification

Approach: State the fragmentation-permitted model separately from the literal unrestricted assertion.

1. Derivation. In ordinary IPv4 with fragmentation permitted, an intermediate router can fragment a datagram larger than its outgoing MTU, and reassembly occurs only at the final IP destination. This gives the official B, C. However B is overbroad without the DF-bit condition: when Don’t Fragment is set, the router drops an oversized datagram and normally sends an ICMP fragmentation-needed message instead of fragmenting it. Thus B is not an unconditional statement about every IPv4 datagram. A and D are false; C remains true. Preserve official B, C, and distinguish the intended DF=0 model from the literal unrestricted claim.

2. Explanation and checks. A fragment is itself an IP packet and can follow routing decisions independently, so intermediate reassembly would both require storage and assume all fragments meet at the same router. Destination-only reassembly avoids that assumption. When DF=0 an oversized fragment or datagram may be fragmented further. When DF=1, B’s asserted behavior cannot occur: the router must not fragment.

Original paper, page 19 · Answer key