GATE / CS ARCHIVE

GATE CSE 2004 / QUESTION 56

IP fragmentation and header overhead

Computer Networks · IP Addressing, Fragmentation & Address Resolution · Full GATE CSE 2004 paper

GATE 2004, Q56 2 marks · MCQ
Report issue

IP Addressing, Fragmentation & Address Resolution

Question 56, GATE 2004: Networks A→B→C connect host HA in A to host HC in C. Every application message has 180 bytes; TCP adds a 20-byte header. Maximum IP packet sizes including a 20-byte IP header are A:1000 bytes, B:100 bytes, C:1000 bytes. A–B is 1 Mbps and B–C is 512 Kbps. GateForum labels the second link 512 Mbps in its diagram but 512 Kbps in prose; use the common GFG/prose reading, retaining this discrepancy. Assuming correct delivery and data packets only, how many total bytes including headers reach the destination IP layer for one application message in the best case?
Options:
(A) 200
(B) 220
(C) 240
(D) 260
Question 56, GATE 2004: Networks A→B→C connect host HA in A to host HC in C. Every application message has 180 bytes; TCP adds a 20-byte header. Maximum IP packet sizes including a 20-byte IP header are A:1000 bytes, B:100 bytes, C:1000 bytes. A–B is 1 Mbps and B–C is 512 Kbps. GateForum labels the second link 512 Mbps in its diagram but 512 Kbps in prose; use the common GFG/prose reading, retaining this discrepancy. Assuming correct delivery and data packets only, how many total bytes including headers reach the destination IP layer for one application message in the best case?
Options:
(A) 200
(B) 220
(C) 240
(D) 260
Question 56, GATE 2004: Networks A→B→C connect host HA in A to host HC in C. Every application message has 180 bytes; TCP adds a 20-byte header. Maximum IP packet sizes including a 20-byte IP header are A:1000 bytes, B:100 bytes, C:1000 bytes. A–B is 1 Mbps and B–C is 512 Kbps. GateForum labels the second link 512 Mbps in its diagram but 512 Kbps in prose; use the common GFG/prose reading, retaining this discrepancy. Assuming correct delivery and data packets only, how many total bytes including headers reach the destination IP layer for one application message in the best case?
Options:
(A) 200
(B) 220
(C) 240
(D) 260
Tap to enlarge
Your answer
Answer & solution

Answer: D (no official key was published)

1. Each application message contributes 180 bytes plus 20 TCP-header bytes, so the IP payload is 200 bytes. The100-byte MTU in network B leaves 80 payload bytes per fragment.

2. Three fragments carry 80,80,40 bytes with their own 20-byte IP headers, totaling 100+100+60=260 bytes delivered to the destination IP layer.80 is divisible by the IPv4 fragment-offset unit 8, so this split is valid. Routers do not reassemble merely because the following network has a larger MTU.

3. Teaching check: Only IP headers are repeated per fragment; the TCP header belongs to the original 200-byte payload and is not added to each fragment. Payload sizes 80,80,40 need three IP headers, so 200+3×20=260 bytes.

Original paper, page 8