Follow these steps:
NOTE: For better understanding we have not used the sequence number for representing frames instead we have taken the running serial number i.e., 1,2,3,4,5,6....
1. Firstly, send the first five frames to the receiver, i.e., 1, 2, 3, 4, 5 and now the sender is expected to receive the acknowledgment of the 1st frame.
2. After ACK 1 received, select the next frame to be sent i.e., 6th and the window slides containing five frames, i.e., 2, 3, 4, 5, 6.
3. NACK2 received, retransmit the frame 2.
4. After ACK 3 received, select the next frame to be sent i.e., 7.
5. NACK 4 received, retransmit the frame 4.
6. After ACK 5 received, select the next frame to be sent i.e, 8.
7. ACK 6 lost, retransmit the frame 6.
8. After ACK 2, 7, 4 received, select the next frames to be sent i.e., 9, 10.
9. NACK 8 lost, retransmit the frame 8.
10. All ACK received, ALL FRAMES SENT!
11. Input the correct total number of frames transmitted and click the Submit button.