Question
Suppose you are asked to design a new reliable byte-stream transport protocol like TCP. This protocol, named myTCP, runs over a 100 Mbps network with Round Trip Time of 150 milliseconds and the maximum segment lifetime of 2 minutes.
Which of the following is/are valid lengths of the Sequence Number field in the myTCP header?
Official answer and solution
- Official answer
- B, C and D
- From
- Official GATE 2023 answer key
Solution
Calculate the maximum data transmitted within the Maximum Segment Lifetime (MSL) and find the sequence number field size.
To prevent old duplicate packets from causing confusion, sequence numbers must not wrap around within the Maximum Segment Lifetime (MSL = 2 minutes = 120 seconds).
- Network transmission bandwidth: .
- Maximum bytes transmitted in :
- Minimum number of bits required to provide unique sequence numbers:
- (Insufficient)
- (Sufficient)
- Any header field length bits will prevent wrap-around. Therefore, 32 bits, 34 bits, and 36 bits are all valid lengths.
Options (B, C, D)
Evaluating bandwidth-delay product with RTT instead of MSL for the wrap-around constraint.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2023 Computer Science and Information Technology (CS)
- Question
- 50 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.