Question

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 is the only data segment or ACK loss. In the end, all 5 data segments have been correctly received by Host B. How many segments has Host A sent in total and how many ACKs has host B sent in total? What are data segment and ACK sequence numbers? Answer these two questions for all three protocols.

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

Solution. GBN: A sends 9 segments in total. They are initially sent segments 1, 2, 3, 4, 5 and later re-sent segments 2, 3, 4

Add a comment
Know the answer?
Add Answer to:
Compare GBN, SR, TCP (no delayed ACK, no SACK) – Assume that the 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...

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

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

  • TCP SampleRTT, EstimatedRTT and DevRTT to fill out the secong table about ACK 1101. Please explain...

    TCP SampleRTT, EstimatedRTT and DevRTT to fill out the secong table about ACK 1101. Please explain how do get the answers step by step. (1). The following table shows a trace of a TCP session. In the TCP session, a sender sends TCP packets and receives ACKs. Each packet sent contains 100-byte payload. Please figure out SampleRTT, EstimatedRTT, and DevRTT when you receive each ACK. Fill the second table. We assume that the weighing factors are a-0.25 and B-0.25. At...

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

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