Question

TCP at Packet Level In a TCP packet level data transfer, sender and receiver both have...

TCP at Packet Level

  1. In a TCP packet level data transfer, sender and receiver both have a window that can hold 4 packets. Sender has 5 packets to send numbered 0-4. ACK 2 is lost and PKT 3 is lost too. (Remember in TCP the ACK number is one greater than the number of the last packet received in order and that ACKs are cumulative) There are no other errors or losses in either direction. Draw a timeline diagram that shows how the sender and receiver manage to recover from the losses using retransmission wherever necessary and successfully transfer the 5 packets. Show the contents of the 2 buffers at relevant instants. Assume timeouts are 2RTT and packet transmission time is 0.1RTT. On the timeline diagram mark the time in terms of RTT each time a packet is transmitted/retransmitted by the sender and each time a cumulative ACK is issued / reissued by the receiver. How many RTTs are needed to complete the entire transfer? (6)

  2. Redo the time calculations in part (a) if the bit rate of transmission is halved but at the same time, timeouts are reduced to 1.5RTT.

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

In the problem, it is given that the sender and receiver side having the size of window equals 4, which means it is using selective repeat sliding window protocol for the transmission of the packets.

The problem is solved, consider the image below for the same.

When sender sends packet0, packet1, packet2, and packet3 to the receiver, it gives back the ack1 (expecting next packet to be the packet1), ack2 which is lost, ack3.

The sender didn't receive the ack2 before the timeout (2RTT), it will re transmit the packet2, packet3 and packet4 next time. And in response, receiver sends the ack4.

Add a comment
Know the answer?
Add Answer to:
TCP at Packet Level In a TCP packet level data transfer, sender and receiver both have...
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
  • 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 ....

  • 1. For TCP end-to-end flow control, suppose the capacity of the receiver buffer is 10 packets. Su...

    1. For TCP end-to-end flow control, suppose the capacity of the receiver buffer is 10 packets. Suppose the packets that are being queued in the receiver buffer are packets 4, 5, 6, 7, 8, 10, 11. What is the advertised window size the receiver sent to the sender? Suppose packet 12 is the last packet sent by the sender. What’s the effective window size at the sender? Can the sender send out packet 13 at this moment? How about packet...

  • help with computer network questions 1. What is the difference between circuit switching and packet switching?...

    help with computer network questions 1. What is the difference between circuit switching and packet switching? 2. What are the different layers in today’s Internet? Why do we create layers? 3. Suppose there is a 10 Mbps microwave link between a geostationary satellite and its base station on Earth. Every minute the satellite takes a digital photo and sends it to the base station. Assume a propagation speed of 2.4 * 10^8 meters/sec. a. What is the propagation delay 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