CS FundamentalsVery hardGATE CS
An IPv4 datagram with total length 2400 bytes (20-byte header, DF = 0) first crosses a link with MTU 1000 and then a link with MTU 576; routers fragment as needed and nothing is reassembled on the way. How many fragments reach the destination, and what is the fragment-offset field of the fourth fragment in address order?
- A. 5 fragments, offset 190
- B. 6 fragments, offset 191
- C. 4 fragments, offset 122
- D. 5 fragments, offset 191
Correct answer: D. 5 fragments, offset 191
MTU 1000 allows 976 data bytes (multiple of 8): 976 + 976 + 428 at offsets 0, 122, 244. On MTU 576 each 976-byte piece splits into 552 + 424 (552 = largest multiple of 8 ≤ 556), while the 428-byte piece fits. Offsets: 0, 69, 122, 191, 244, so the fourth is 191 (= 122 + 552/8).
More Computer Networks questions
- Host A sends three TCP segments to B: seq 3200 (400 bytes), seq 3600 (500 bytes) and seq 4100 (300 bytes). The second is lost; B ACKs…
- A TCP Reno sender begins round 1 with cwnd = 1 MSS and ssthresh = 20 MSS. In slow start cwnd doubles every round but never jumps past…
- A TCP segment times out and is retransmitted; an ACK covering it then arrives. Under Karn's algorithm, what does the sender do?
- A 1 Gbps path has a round-trip time of 80 ms. What is the smallest TCP window-scale shift count that lets a single connection keep the…
- A 1 Mbps link carries 1000-bit frames with a one-way propagation delay of 15 ms (ACKs negligible). What is the minimum number of…
- Stop-and-wait runs on a 4 Mbps link with 2000-bit frames and a one-way propagation delay of 2 ms; ACKs are negligibly short. Each frame is…