To determine the minimum number of bits N for the sequence number field, we evaluate both constraints:
1. Condition (i): Sequence numbers do not wrap around before 60 seconds
Bandwidth B=108 bits/second=8108=1.25×107 bytes/second.
In 60 seconds, the number of bytes transmitted is:
Total bytes=1.25×107×60=7.5×108 bytes Since each byte is assigned a unique sequence number, the sequence number space must be at least 7.5×108 to prevent wrap-around within 60 seconds:
2N1≥7.5×108 N1=⌈log2(7.5×108)⌉=30 bits *(Since 229=536,870,912<7.5×108 and 230=1,073,741,824>7.5×108)*
2. Condition (ii): Maximum link utilization is achieved
Link length d=3000 km=3×106 m.
Propagation delay Tp=3×106 m×5×10−9 s/m=15×10−3 s=15 ms.
Round Trip Time RTT=2×Tp=30 ms=0.03 s.
Bandwidth-Delay Product (BDP) in bytes:
BDP=B×RTT=1.25×107×0.03=3.75×105 bytes To achieve maximum utilization, the sequence number space must support at least the window size (even for Selective Repeat where sequence space is 2×Window, 2×3.75×105=7.5×105, which requires ⌈log2(7.5×105)⌉=20 bits).
Taking the minimum bits that satisfy both conditions:
N=max(30,20)=30