edited by
1,672 views
3 votes
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
edited by

1 Answer

5 votes
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

Related questions

0 votes
0 votes
1 answer
1
iarnav asked Nov 8, 2018
1,942 views
Sender Window Size is 7 and every 3rd packet is lost/corrupted. So, how to find channel utilization!?
5 votes
5 votes
3 answers
2
3 votes
3 votes
1 answer
3
Tuhin Dutta asked Dec 19, 2017
891 views
Compute approx. optimal window size, when packet size is 53 B, RTT is 60 micro-sec and bottleneck bandwidth is 155Kbps.
1 votes
1 votes
0 answers
4
anoop yadav 2 asked Nov 16, 2017
355 views
why sender window size is equal to 1+2a in sliding window.