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____________.
Official answer and solution
- Official answer
- 33
- From
- Official GATE 2022 answer key
Solution
Calculate the maximum number of bytes that can be transmitted within the Maximum Segment Lifetime and find the minimum number of bits needed to represent that space.
Link bandwidth .
Converting to bytes per second:
Maximum Segment Lifetime (MSL) = 60 seconds.
The total number of bytes transmitted during MSL is:
To prevent the sequence number space from wrapping around during MSL, the sequence number range must be at least :
Evaluating powers of 2:
Therefore, the minimum number of bits required is .
33
Assuming the standard 32-bit TCP sequence number field without computing whether wraps around in 60 seconds at 1 Gbps.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2022 Computer Science and Information Technology (CS)
- Question
- 60 of 65
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.