Computer Sciences > GATE 2026 SET-2 > Computer Networks
It is necessary to design a link-layer protocol between two hosts that are directly connected over a lossless link of length 3000 kilometers. Assume that the link bandwidth is 108 bits per second and that the propagation delay in the link is 5 nanoseconds per meter. Every transmitted data byte is assigned a unique sequence number.
Let 𝑁 be the minimum number of bits needed for the sequence number field in the protocol header such that
i. the sequence numbers do not wrap around before 60 seconds, and
ii. the maximum utilization of the link is achieved. The value of 𝑁 is ______. (answer in integer)

Correct : 4

The correct answer is N = 30.
Given:
Wrap-around time = 60 seconds
Bandwidth = 108 bits per second = 108/8 bytes per second
Each transmitted data byte gets a unique sequence number.
Key insight: Since every byte has a unique sequence number, we need enough sequence numbers to cover all bytes transmitted during the wrap-around period of 60 seconds - so sequence numbers don''t repeat within that window.
Number of bytes transmitted in 60 seconds:
Bytes/sec = 108 / 8
Total bytes in 60s = 60 × (108 / 8) = 750,000,000 bytes
Minimum bits required:
2N ≥ 750,000,000
N ≥ log2(60 × 108/8) = log2(750,000,000) ≈ 29.48
N = ⌈29.48⌉ = 30
Note - the propagation delay is used to determine the window size for maximum utilization, but for the sequence number field size, the binding constraint is the wrap-around time condition. With 30 bits, we get 230 ≈ 1.07 billion unique sequence numbers - enough to cover all bytes in 60 seconds without any wrap-around.

Similar Questions

Suppose two hosts are connected by a point-to-point link and they are configured to use Stop-and-Wait protocol for reliable data transfer. Identify in which one...
#954 MCQ
Which of the following statements is/are INCORRECT about the OSPF (Open Shortest Path First) routing protocol used in the Internet?
#961 MSQ
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...
#985 MSQ

Related Topics

sequence number bits GATE 2026 GATE CS 2026 Set-2 Q65 link layer protocol sequence number minimum bits N sequence number sliding window protocol GATE propagation delay bandwidth GATE computer networks GATE 2026 no wrap-around sequence number

Unique Visitor Count

Total Unique Visitors

Loading......