Question

Suppose there are 4 packets to be sent out at the sender. During the transmission, the...

Suppose there are 4 packets to be sent out at the sender. During the transmission, the second packet is lost. All other packets and ACKs are received correctly. We assume the packet transmission takes 2 minutes, the RTT is 20 minutes, the timer is 35 minutes. Draw a diagram to illustrate the packet and ACK transmission sequence and the specific time for each packet receiving and ACK receiving using (a) stop-and-wait protocol, (b) Go-back-N protocol with N=3. Note you need to draw two diagrams!


Homework Answers

Answer #1

In stop and wait protocol, one segment is sent at a time and then wait for acknowledgement. After successful receive of acknowledgement, next frame is sent. In go back N, all N frame are sent at a time and then if any segment is lost in window N then all the frames from lost segment to end of window is resent.

If you have any questions comment down. Please don't simply downvote and leave. If you are satisfied with answer, please? upvote thanks

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Consider the SR protocol. a. Draw the FSM diagram for the SR protocol assuming infinitely growing...
Consider the SR protocol. a. Draw the FSM diagram for the SR protocol assuming infinitely growing sequence numbers. Pay special attention to border cases (packet corruption, ACK loss, etc.) b. The alternating bit protocol (“RDT 3.0”) may not operate correctly when the channel can reorder packets. Does the SR protocol with infinite sequence numbers work correctly in the presence of packet reordering? Justify your answer. c. While in the GBN protocol the sender starts with packet sequence 1, the SR...
Suppose within your Web browser you click on a link to obtain a Web page. The...
Suppose within your Web browser you click on a link to obtain a Web page. The Stop-and Wait Protocol is being used to send three data characters ‘U’, ‘S’, and ‘A’, with each character in a separate packet. Suppose the channel causes every alternate data packet to be received with errors, starting with the first packet. This means the 1st, 3rd, 5th, etc. data packets are received with errors, while the 2nd, 4th, 6th, etc. data packets are received correctly....
True or False for Computer networking 1) Suppose in Go-back-N, the sender cycles through sequence number...
True or False for Computer networking 1) Suppose in Go-back-N, the sender cycles through sequence number of 0, 1, 2, 3, 4. In addition, the sender chooses the window size N=5 packets (i.e., 5 packets can be in the flight from the sender to the receiver). In this case, reliable data transfer can be achieved from the sender to the receiver 2) At a TCP sender, triple duplicated ACKs are always handled by resending the missing segment. 3) In Go-Back-N,...
Assume that the timeout values for all three protocols are sufficiently long such that 5 consecutive...
Assume that the timeout values for all three protocols are sufficiently long such that 5 consecutive data segments and their corresponding ACKs can be received (if not lost in the channel) by the receiving host (Host B) and the sending host (Host A), respectively. Suppose Host A sends 5 data segments to Host B, and the 2nd segment (sent from A) is lost – this is the only data segment or ACK loss. In the end, all 5 data segments...
Can someone please explain this to me? Suppose that the Go-Back-N protocol with ? = 3...
Can someone please explain this to me? Suppose that the Go-Back-N protocol with ? = 3 and the sending window of size 7 is used to send packets. Let ?f = 31 modulo 2m, ?n = 35 modulo 2m, and ?n= 33 modulo 2m. What are the sequence numbers of data packets in transit? What are the acknowledgement numbers of ACK packets in transmit? If the sender’s process sends two more data packets to the sender’s transport layer and one...
Multiple choice questions: Circle the correct answer 7) Consider Go-Back-N protocol. Suppose that Host A sends...
Multiple choice questions: Circle the correct answer 7) Consider Go-Back-N protocol. Suppose that Host A sends 6 data segments to Host B, and the 4th segment is lost. In the end, all 6 data segments have been correctly received by Host B. Assume that the timeout values is sufficiently long such that 6 consecutive data segments and their corresponding ACKs can be received (if not lost in the channel) by Host B and Host A, respectively before the timer times...
Consider a scenario where two hosts use a sliding window protocol, either Go-Back-N or Selective Repeat,...
Consider a scenario where two hosts use a sliding window protocol, either Go-Back-N or Selective Repeat, to exchange data packets. Assume that the RTT is 30 milliseconds and the sending rate is R = 1Gbps, and the size of every packet is L = 2,000 bytes, including both header fields and data. (a). How big would the window size have to be for the channel utilization to be greater than 98%? (b). Assume that we use the window size calculated...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT