Question

5. [11 points] Compare GBN, SR and TCP (no delayed ACK). Assume that timeout values for these protocols are sufficiently larg

0 0
Add a comment Improve this question Transcribed image text
Answer #1

GBN:

A sends 10 segments in total. They are initially sent segments 1, 2, 3, 4, 5,6 and later re-sent segments 3, 4,5 and 6.

B sends 9 ACKs. They are 4 ACKS with sequence number 2, and 5 ACKS withsequence numbers 1, 3, 4,5 and 6.

B ACK: 1 2 2 2 2 3 4 5 6

SR:

A sends 7 segments in total. They are initially sent segments 1, 2, 3, 4, 5,6 and later re-sent segments 3.

B sends 6 ACKs. They are 5 ACKS with sequence number 1, 2, 4, 5,6. And there is oneACK with sequence number 3.

B ACK: 1 2 4 5 6 3

TCP:

A sends 7 segments in total. They are initially sent segments 1, 2, 3, 4, 5,6 and later re-sent segments 3.

B sends 5 ACKs. They are 4 ACKS with sequence number 3. There is one ACK withsequence numbers 7.

B ACK: 3 3 3 3 7.

(B).

If the timeout values for all three protocol are much longer than 6 RTT, then TCP protocol successfully delivers all five data segments in shortest time interval. The reason is that TCP uses fast retransmit without waiting time.

Add a comment
Know the answer?
Add Answer to:
5. [11 points] Compare GBN, SR and TCP (no delayed ACK). Assume that timeout values for...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Compare GBN, SR and TCP (no delayed ACK). Assume that the timeout values for all three...

    Compare GBN, SR and TCP (no delayed ACK). Assume that the timeout values for all three protocols are sufficiently long such that 7 consecutive data segments and the 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 7 data segments to Host B, and the thi rd segment (sent from A) is lost. In the end, all 7 data segments have...

  • Compare GBN, SR, TCP (no delayed ACK, no SACK) – Assume that the timeout values for...

    Compare GBN, SR, TCP (no delayed ACK, no SACK) – Assume that the timeout values for all three protocols are sufficiently long such that 5 consecutive data segments (each containing only one byte) 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...

  • Compare GBN, SR, and TCP (no delayed ACK). Assume that the timeout values for all three...

    Compare GBN, SR, and TCP (no delayed ACK). Assume that the timeout values for all three protocols are sufficiently long such that 4 consecutive data segments with sequence number 1, 2, 3, 4 can be received by the receiving host (Host B) and their corresponding ACKs can be received by the sending host (Host A). Suppose Host A sends data segments to Host B, and the 2nd segment (sent from Host A) is lost. In the end, all 4 data...

  • Compare GBN, SR, and TCP (no delayed ACK). Assume that the timeout values for all three...

    Compare GBN, SR, and TCP (no delayed ACK). Assume that the timeout values for all three protocols are sufficiently long such that 4 consecutive data segments with sequence number 1, 2, 3, 4 can be received by the receiving host (Host B) and their corresponding ACKs can be received by the sending host (Host A). Suppose Host A sends data segments to Host B, and the 2nd segment (sent from Host A) is lost. In the end, all 4 data...

  • please note TCP is used for retransmissions. it is not GBN. thanks Assume that the timeout...

    please note TCP is used for retransmissions. it is not GBN. thanks Assume that the timeout values are sufficiently long such that 5 consecutive data segments and their corresponding ACKs can be received (if not lost during transmission) by the receiving host (Host B) and the sending host (Host A) respectively. Suppose the sender window size is 5, and Host A sends 5 data segments to Host B, and the 3rd segment (sent from A) is lost. Suppose TCP is...

  • Consider a simplified actual TCP senderreceiver, described as follows: .Upon a loss (timeout or t...

    Consider a simplified actual TCP senderreceiver, described as follows: .Upon a loss (timeout or triple-duplicate ACKs), the sender o transmits the oldest unACKed packet (whose sequence number Base) o restarts the timer Upon receiving an ACK with a Sequence #y > Base. o it considers all packets with sequence numbers s y as ACKed (cumulative ACK) o Sets Base to the sequence number of the packet immediately after the packet whose sequence number is y o Restarts the timer ....

  • PLEASE HELP WITH THESE COMPUTER NETWORK QUESTIONS THESE INCLUDE MCQS AND CALCULATIONS With reference to the...

    PLEASE HELP WITH THESE COMPUTER NETWORK QUESTIONS THESE INCLUDE MCQS AND CALCULATIONS With reference to the Go-Back-N and Selective repeat protocols, what does the window value signify? The packets that have already been ACKed The packets sent but remain unACKed The sequence numbers available and not yet sent The sequence numbers of packets not yet available None of the above 1 points    QUESTION 2 Which of the following is NOT a component of the TCP congestion control algorithm? Slow...

  • Problem 1: Consider the following figure. Assuming TCP Reno is the protocol experiencing the beha...

    Networking I need help for g-k Problem 1: Consider the following figure. Assuming TCP Reno is the protocol experiencing the behavior shown above, answer the following questions. In all cases, you should provide a short discussion justifying your answer Note: this problem is counted for 10 points 45 40 35 2 30 n 25 2 20 c 15 b 10 0 2 468 10 12 14 16 18 20 22 24 26 Transmission round g. What is the value of...

  • Hosts A and B are communicating over a TCP connection, and Host B has already received from A all...

    Hosts A and B are communicating over a TCP connection, and Host B has already received from A all bytes up to and including byte 1029. Suppose Host A then sends three segments to Host B back-to-back. The first, second and third segments contain 1200, 150 and 80 bytes of data respectively. In the first segment, the sequence number is 1060, the source port number is 8080, and the destination port number is 80. Host B sends an acknowledgment whenever...

  • Host A and B are communicating over a TCP connection, and Host B has already received...

    Host A and B are communicating over a TCP connection, and Host B has already received from A all bytes up through byte 126. Suppose Host A then sends two segments to Host B back-to-back. The first and second segments contain 80 and 40 bytes of data, respectively. In the first segment, the sequence number is 127, the source port number is 302, and the destination port number is 80. Host B sends an acknowledgment whenever it receives a segment...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT