Question

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 been cor

rectly received by Host B.

a. How many segments has Host A sent in total and h

ow many ACKs

has Host B sent in total? What are their sequence n

umbers? Answer

this question for all three protocols.

b. If the timeout values for all three protocols ar

e much longer than 7

RTT, then which protocol successfully delivers all

7 data segments in

the shortest time interval?

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

Answer:---------

a. GoBackN:
A sends 13 segments in total. They are initially sent segments 1, 2, 3, 4, 5, 6, 7 and later
re-sent segments 2, 3, 4, and 5, 6, 7.
B sends 12 ACKs. They are 6 ACKS with sequence number 1, and 6 ACKS with sequence numbers 2, 3, 4, 5, 6 and 7.

Selective Repeat:
A sends 8 segments in total. They are initially sent segments 1, 2, 3, 4, 5, 6, 7 and later
re-sent segments 2.
B sends 7 ACKs. They are 6 ACKS with sequence number 1, 3, 4, 5, 6, 7. And there is one ACK with sequence number 2.

TCP:
A sends 8 segments in total. They are initially sent segments 1, 2, 3, 4, 5, 6, 7 and later re-sent segments 2.
B sends 7 ACKs. They are 6 ACKS with sequence number 2.There is one ACK with sequence numbers 8.

Note that TCP always send an ACK with expected sequence number.

b. TCP. This is because TCP uses fast retransmit without waiting until time out.

Add a comment
Know the answer?
Add Answer to:
Compare GBN, SR and TCP (no delayed ACK). Assume that the timeout values for all three...
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, 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...

  • 5. [11 points] Compare GBN, SR and TCP (no delayed ACK). Assume that timeout values for...

    5. [11 points] Compare GBN, SR and TCP (no delayed ACK). Assume that timeout values for these protocols are sufficiently large such that 6 consecutive data segments and their corresponding ACKs can be received by the receiving Host B and the sending Host A, respectively. Suppose Host A sends 6 data segments to Host B, and the 3rd segment (sent from A) is lost. In the end, all 6 data segments have been correctly received by Host B. a. [(1+2)...

  • 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 ....

  • 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...

  • 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...

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