TCP sequence numbers and ACKs (2). Suppose that as shown in the figure below, a TCP sender is sending segments with 100 bytes of payload. The TCP sender sends five segments with sequence numbers 100, 200, 300, 400, and 500. Suppose that the segment with sequence number 300 is lost. The TCP receiver will buffer correctly-received but not-yet-in-order segments for later delivery to the application layer (once missing segments are later received). Complete the sentences below ....After receiving segment 100, the receiver responds with an ACK with value: After receiving segment 200, the receiver responds with an ACK with value: After receiving segment 500, the receiver responds with an ACK with value: After receiving the retransmitted segment 300, the receiver responds with an ACK with value:
Question
TCP sequence numbers and ACKs (2). Suppose that as shown in the figure below, a TCP sender is sending segments with 100 bytes of payload. The TCP sender sends five segments with sequence numbers 100, 200, 300, 400, and 500. Suppose that the segment with sequence number 300 is lost. The TCP receiver will buffer correctly-received but not-yet-in-order segments for later delivery to the application layer (once missing segments are later received). Complete the sentences below ....After receiving segment 100, the receiver responds with an ACK with value: After receiving segment 200, the receiver responds with an ACK with value: After receiving segment 500, the receiver responds with an ACK with value: After receiving the retransmitted segment 300, the receiver responds with an ACK with value:
Solution
After receiving segment 100, the receiver responds with an ACK with value: 200. This is because the ACK value is the sequence number of the next byte the receiver is expecting.
After receiving segment 200, the receiver responds with an ACK with value: 300. Again, this is the sequence number of the next byte the receiver is expecting.
After receiving segment 500, the receiver responds with an ACK with value: 300. This is because the receiver is still expecting the segment with sequence number 300, which was lost.
After receiving the retransmitted segment 300, the receiver responds with an ACK with value: 600. This is because the receiver has now received all the bytes up to 500 and is now expecting the byte with sequence number 600.
Similar Questions
Consider the figure below, where a TCP sender sends 8 TCP segments at t = 1, 2, 3, 4, 5, 6, 7, 8. Suppose the initial value of the sequence number is 0 and every segment sent to the receiver each contains 100 bytes. The delay between the sender and receiver is 5 time units, and so the first segment arrives at the receiver at t = 6. The ACKs sent by the receiver at t = 6, 7, 8, 10, 11, 12 are shown. The TCP segments (if any) sent by the sender at t = 11, 13, 15, 16, 17, 18 are not shown.The segment sent at t=4 is lost, as is the ACK segment sent at t=7.What is the sequence number of the segment sent at t=2? What is the ACK value carried in the receiver-to-sender ACK sent at t = 6? What is the ACK value carried in the receiver-to-sender ACK sent at t = 8? What is the ACK value carried in the receiver-to-sender ACK sent at t = 10?
TCP sequence numbers and ACKs (1). Consider the TCP Telnet scenario below (from Fig. 3.31 in text). Why is it that the receiver sends an ACK that is one larger than the sequence number in the received datagram?Group of answer choicesBecause TCP sequence numbers always increase by 1, with every new segment, and the TCP receiver always send the sequence number of the next expected segmentBecause the send-to receiver segment carries only one byte of data, and after that segment is received, the next expected byte of data is just the next byte (i.e., has an index that is one larger) in the data stream.
A TCP receiver must send an acknowledgement for every segment it receives.Group of answer choicesTrue: for the sender to know that the bytes in each segment have been received the receiver must ACK each segment individually.False: TCP uses cumulative acknowledgements, so the receiver need only send an acknowledgment for the bytes in the segment with the largest sequence number that has been successfully received.
Suppose Host A sends two TCP segments back-to-back to Host B over a TCPconnection. The first segment has sequence number 90. The second has sequencenumber 110.I. How much data is in the first segment?(2 marks)II. Suppose that the first segment is lost but the second segment arrives at B. Whatwill be the acknowledgment number in the acknowledgment that Host B sends toHost A?
Which segment is sent by the client to synchronize sequence numbers during the three-way handshaking process?ACK segmentSYN + ACK segmentFIN segmentSYN segment
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.