Skip to content
GATEiit

GATE CSE 2022 Q60: TCP sequence number bits to avoid wrap-around in one MSL

Question

Consider the data transfer using TCP over a 1 Gbps link. Assuming that the maximum segment lifetime (MSL) is set to 60 seconds, the minimum number of bits required for the sequence number field of the TCP header, to prevent the sequence number space from wrapping around during the MSL is____________.

Try it: numerical answer: type the value

Numerical answer. No negative marking.
Show answer and explanation

Answer: 33 (official GATE 2022 final answer key)

Concept used: TCP numbers bytes, so the sequence space must cover all bytes that can be sent within one MSL.

First step: Bytes in 60 s at 1 Gbps: 109×608=7.5×109\frac{10^9 \times 60}{8} = 7.5 \times 10^9; find the smallest kk with 2k2^k at least that.

Full step-by-step solution

Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.

Share this question

WhatsAppDownload image

Source: official GATE 2022 CS question paper and final answer key, organised by IIT Kharagpur. Question paper · Answer key