GATE / CS ARCHIVE

GATE CSE 2014 SET 3 / QUESTION 25

GATE CSE 2014 Set 3 Q25

Computer Networks · IP Addressing, Fragmentation & Address Resolution · Full GATE CSE 2014 Set 3 paper

GATE 2014 Set 3, Q25 1 mark · MCQ
Report issue

IP Addressing, Fragmentation & Address Resolution

Question 25, GATE 2014: Host A sends an IPv4 datagram to host B on another network without transmission errors. Which fields may differ when it reaches B: (i) TTL; (ii) header checksum; (iii) fragment offset? A i only; B i,ii only; C ii,iii only; D i,ii,iii.
Tap to enlarge
Your answer
Answer & solution

Official answer: D

Step 1: Every forwarding router decrements TTL. Since TTL is part of the IPv4 header, the router updates the header checksum even on an error-free path. Thus i and ii can differ. Step 2: A smaller outgoing MTU can require fragmentation. Later fragments carry nonzero fragment offsets even if the original unfragmented datagram had offset zero. Step 3: Therefore all three may differ, D, when considering received fragment headers before reassembly. No-error transmission rules out corruption, not ordinary forwarding changes or fragmentation. A fully reassembled abstract datagram needs separate interpretation.

Original paper, page 58 · Answer key