• edited by
2,474 views
3 3 votes
Two stations A and B are connected via a point to point link. A sends frames to B using Go-Back-N protocol with a window size of 7 and sequence number is of 3 bits. A sends all the frames one by one but B's ACK-3 for frame 3 is not reached to A. But before the timer expires, B received frame 4 and sent ACK-4 but frame 5 is lost and not received by B. So, now what will be frame buffer in the current window of A? ( assume frame number starts from 0)

a) 0 1 2 3 4 6

b) 3 4 5 6 0 1 2

c) 5 6 7 0 1 2 3

d) 5 6 0 1 2 3 4

1 Answer

5 5 votes
GBN follows cumulative Ack. Hence it sends combined ack  for all before timer ends!

Here 3rd ack is not reached to A, but before timer ends 4th Ack is reached! Hence sender will think upto 4 all are reached! Now 5th packet is lost and sender will retransmit the whole frame from 5th packet!

seq numbers are 8 : 0-7 and frame size is 7

hence initial frame is

0 1 2 3 4 5 6

upto 4 all transmitted and 5th is lost

5 6 7 0 1 2 3 will be current window
Position:
Show:

Related questions

0 0 votes
1 1 answer
2.8k
2.8k views
iarnav asked Nov 8, 2018
2,818 views
Sender Window Size is 7 and every 3rd packet is lost/corrupted. So, how to find channel utilization!?
5 5 votes
3 answers 3 answers
15.8k
15.8k views
sunil sarode asked Oct 6, 2017
15,776 views
In Go-Back-N protocol, if the maximum window size is 127, what is the range of the sequence number?A. 0 to 127 B. 0 to 128 C. 1 to 127 D. 1 to 128Answer given is APlease ...
3 3 votes
1 1 answer
1.7k
1.7k views
Tuhin Dutta asked Dec 19, 2017
1,668 views
Compute approx. optimal window size, when packet size is 53 B, RTT is 60 micro-sec and bottleneck bandwidth is 155Kbps.
1 1 vote
0 0 answers
562
562 views
anoop yadav 2 asked Nov 16, 2017
562 views
why sender window size is equal to 1+2a in sliding window.