GateAI
TCP Flow and Congestion Control

GATE CSE 2022 · Q60

NAT2 marksMedium

Time

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 _________.

Your answerNumerical answer

Enter a value to check

Solution

Step-by-step verified solution

Official answer: 33

TCP Flow and Congestion Control

To prevent sequence number wrap-around during the Maximum Segment Lifetime (MSL), the total number of unique byte sequence numbers available must be at least the maximum number of bytes that can be transmitted in time equal to MSL.

  1. Link Bandwidth (RR):

    R=1 Gbps=109 bps=1098 Bytes/s=1.25×108 Bytes/sR = 1\text{ Gbps} = 10^9\text{ bps} = \frac{10^9}{8}\text{ Bytes/s} = 1.25 \times 10^8\text{ Bytes/s}
  2. Maximum bytes transmitted in MSL (T=60 sT = 60\text{ s}):

    Total Bytes=R×MSL=(1098)×60=7.5×109 Bytes\text{Total Bytes} = R \times \text{MSL} = \left(\frac{10^9}{8}\right) \times 60 = 7.5 \times 10^9\text{ Bytes}
  3. Number of bits (nn) required:

    2n≥7.5×1092^n \ge 7.5 \times 10^9

    Since 232≈4.295×109<7.5×1092^{32} \approx 4.295 \times 10^9 < 7.5 \times 10^9 and 233≈8.590×109≥7.5×1092^{33} \approx 8.590 \times 10^9 \ge 7.5 \times 10^9, we need:

    n=33 bitsn = 33\text{ bits}

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This TCP Flow and Congestion Control previous year question is Q60 of the GATE CSE 2022 paper. Find more GATE CSE PYQs on TCP Flow and Congestion Control in Computer Networks, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related TCP Flow and Congestion Control PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

TCP Flow and Congestion Control in GATE CSE

TCP Flow and Congestion Control has 23 GATE CSE PYQs across 21 papers from 2012 to 2026. 6 of them are 2-mark NAT questions like this one, and it is the only one in GATE CSE 2022.

How GATE tests TCP Flow and Congestion Control

More from GATE CSE 2022

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2022 · Q60 · NAT

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 …

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.