edited by
4,532 views
1 votes
1 votes

Assume we need to design a Go- Back- N sliding- window protocol for a network in which the bandwidth is 100 Mbps and the average distance between the sender and receiver is 10,000 km. Assume the average packet size is 100,000 bits and the propagation speed in the media is 2 × 108 m/ s. Find the maximum size of the send and receive windows, the number of bits in the sequence number field ( m), and an appropriate time- out value for the timer.

edited by

1 Answer

Best answer
1 votes
1 votes

window size = (TT+2PT)/TT=1+(2PT/TT)

here TT=data size/bandwidth

 100000/100Mbps =105/10= 1 ms

and PT = distance/velocity

=10,000 km/2*108 ms=107/2*108 = 50 ms

so window size = 1+(2*50)/1=101

so sender window size = 100

receiver window size =1

s.w.s.+ r.w.s.<= 2m(where m is no. of sequence bits)

101<=2m

m=7 bits

selected by

Related questions

1 votes
1 votes
1 answer
2
mo7ammedfarooq asked Jan 23
150 views
when i know the ip address in classfull adress i can directly send a message right why to identfy the network id of that and mac address of that ip