CS FundamentalsVery hardGATE CS
A 4000-byte IPv4 datagram (20-byte header, no options, DF = 0) first crosses a link with MTU 1500, then a link with MTU 620; no reassembly happens on the way. How many fragments reach the destination, and what is the fragment-offset field of the last one?
- A. 7 fragments, offset 445
- B. 8 fragments, offset 3560
- C. 8 fragments, offset 445
- D. 7 fragments, offset 370
Correct answer: C. 8 fragments, offset 445
First link: payloads 1480, 1480, 1020 at offsets 0, 185, 370 (units of 8 bytes). Each is re-fragmented separately into 600-byte pieces: 3 + 3 + 2 = 8 fragments, and the last carries the final 420 bytes at offset 370 + 600/8 = 445. 7 comes from splitting 3980 bytes as if it were whole; 3560 is that offset in bytes, not 8-byte units.
More Computer Networks questions
- A 4 Mbps link carries 1000-byte frames with a one-way propagation delay of 20 ms. Go-Back-N uses 3-bit sequence numbers with the largest…
- Stop-and-wait runs at 1 Mbps with 1000-byte frames and a one-way propagation delay of 11 ms (ACKs take no transmission time). Each data…
- A TCP Tahoe sender starts with cwnd = 1 MSS and ssthresh = 16 MSS; cwnd doubles each round in slow start (but never jumps above ssthresh)…
- A client's SYN carries sequence number 5000. After the handshake it sends three data segments of 200, 300 and 100 bytes and then a FIN…
- A TCP connection runs over a 1 Gbps path with an RTT of 80 ms. What is the smallest window-scale shift count S (window = 65,535 × 2^S…
- A production server shows thousands of TCP sockets stuck in CLOSEWAIT that never go away. What is the most likely cause?