The document presents a quiz focused on TCP retransmissions and the computation of TCP's round trip time (RTT) and timeout values. It includes a scenario involving the transmission of segments, their sequence numbers, and the impact of lost segments and ACKs. Additionally, it requires calculations for updated RTT estimates and deviations based on new measured RTT values.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
21 views
Quiz 21 - TCP Retransmissions RTT
The document presents a quiz focused on TCP retransmissions and the computation of TCP's round trip time (RTT) and timeout values. It includes a scenario involving the transmission of segments, their sequence numbers, and the impact of lost segments and ACKs. Additionally, it requires calculations for updated RTT estimates and deviations based on new measured RTT values.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3
QUIZ March21
I. TCP retransmissions (reliable data transmission
with ACK loss) Consider the figure below in which a TCP sender and receiver communicate over a connection in which the segments can be lost. The TCP sender wants to send a total of 10 segments to the receiver and sends an initial window of 5 segments at t = 1, 2, 3, 4, and 5, respectively. Suppose the initial value of the sequence number is 50 and every segment sent to the receiver each contains 100 bytes. The delay between the sender and receiver is 7 time units, and so the first segment arrives at the receiver at t = 8, and an ACK for this segment arrives at t = 15. As shown in the figure, 2 of the 5 segments is lost between the sender and the receiver, but one of the ACKs is lost. Assume there are no timeouts and any out of order segments received are thrown out. 1) What is the sequence number of the segment sent at t=1? 2) What is the sequence number of the segment sent at t=2? 3) What is the sequence number of the segment sent at t=3? 4) What is the sequence number of the segment sent at t=4? 5) What is the sequence number of the segment sent at t=5? 6) What is the value of the ACK sent at t=8? (If segment lost, write 'x') 7) What is the value of the ACK sent at t=9? (If segment lost, write 'x') 8) What is the value of the ACK sent at t=11? (If segment lost, write 'x') 9) What is the value of the ACK sent at t=12? (If segment lost, write 'x') 10) What is the sequence number of the segment sent at t = 15? (If ACK never arrives, write 'x') 11) What is the sequence number of the segment sent at t = 16? (If ACK never arrives, write 'x') 12) What is the sequence number of the segment sent at t = 17? (If ACK never arrives, write 'x') 13) What is the sequence number of the segment sent at t = 18? (If ACK never arrives, write 'x') 14) What is the sequence number of the segment sent at t = 19? (If ACK never arrives, write 'x') II. Computing TCP's RTT and timeout values Suppose that TCP's current estimated values for the round trip time (estimatedRTT) and deviation in the RTT (DevRTT) are 250 msec and 46 msec, respectively (see Section 3.5.3 for a discussion of these variables). Suppose that the next three measured values of the RTT are 210 msec, 300 msec, and 400 msec respectively. Compute TCP's new value of DevRTT, estimatedRTT, and the TCP timeout value after each of these three measured RTT values is obtained. Use the values of α = 0.125, and β = 0.25. Round your answers to two decimal places after leading zeros. 1) What is the estimatedRTT, RTT Deviation, TCP timeout after the first RTT? 2) What is the estimatedRTT, RTT Deviation, TCP timeout after the second RTT? - END -