Question

Compare GBN, SR, and TCP (no delayed ACK). Assume that the timeout values for all three protocols are sufficiently long sucha. If GBN is applied, how many segments has Host A sent in total, and what are their sequence numbers? How many ACKS has Hostb. If SR is applied, how many segments has Host A sent in total, and what are their sequence numbers? How many ACKs has Hostc. If TCP is applied, how many segments has Host A sent in total, and what are their sequence numbers? How many ACKs has Host

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

1.

First send all 4 segment.

1 2 3 4

When 2nd segment is lost, resend all segment starting from 2.

So again send 2 3 4.

So total # of segment sent = 7.

Total # of ACK received by Host B will be :

2 2 2 2 5 5 5  

Acknowledgement number always specify the next expected sequence number. So when seq number 2 packet is lost, it will repeatedly sent Acknowledgement packet with ACK=2 and then 5.

So total # of ACKs send by B is 7.

2.

The packets will be send in order :

1 2 3 4 2

Only send that packet which was lost.

The acknowledgement received will be ;

2 2 2 2 5

# of packet sent = # of ACKs received = 5

3.

The packet will be sent in groups. Like send first 1 packet, then 2 packet then 4 packet and so on since TCP follow AIMD

So the packets will be sent like

1 ( 2 , 3) ( 4) ( 2)

Now when 2nd packet is lost, the window size will be dropped to one and it will send only one packet.

The acknowledgement received will be in order :

2 ( 2 , 2) ( 2) ( 5)

# of segment sent = 5

# of Acknowledgement received = 5

Even in TCP, ACKNOWLEDGEMENT is sent for each packet received. Thus when 2nd packet is lost, it will continuously send Acknowledgement# = 2 stating 2nd packet is lost.

When it successfully receives the lost segment, give acknowledgement= 5 stating all the in between packet have been successfully received.

If you have any questions comment down and please? upvote thanks

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

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

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

  • 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