0% found this document useful (0 votes)
13 views5 pages

TCP Connection Troubleshooting Guide

The document describes a scenario where a client establishes a TCP connection with a server by sending a SYN packet with sequence number 8000. The server responds with a SYN-ACK packet with sequence number 6000 and ACK number 8001. The next packet sent by the client to the server is a normal packet with sequence number 8001 and ACK number 6001.

Uploaded by

cliffterzic
Copyright
© Attribution Non-Commercial (BY-NC)
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% found this document useful (0 votes)
13 views5 pages

TCP Connection Troubleshooting Guide

The document describes a scenario where a client establishes a TCP connection with a server by sending a SYN packet with sequence number 8000. The server responds with a SYN-ACK packet with sequence number 6000 and ACK number 8001. The next packet sent by the client to the server is a normal packet with sequence number 8001 and ACK number 6001.

Uploaded by

cliffterzic
Copyright
© Attribution Non-Commercial (BY-NC)
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

Consider a client establishing a TCP connection with a server.

Let the client send a SYN packet with sequence number 8000, and let the server respond with a SYN packet with a sequence number of 6000 with the ACK number set to 8001. Which of the following options best describes the next packet sent by the client to the server. Your Answer Score Explanation

Normal packet (i.e., SYN flag not set) with sequence number 8000 and ACK number 6001

SYN packet with sequence number 8000 and ACK number 6001

Normal packet (i.e., SYN flag not set) with sequence number 8001 and ACK number 6001

SYN packet with sequence number 8001 and ACK number 6001

Total

Question 2
Consider a TCP connection with a RTT of 10ms. Assume that the network capacity is 10 Mbps and that packets are 1250 bytes. What is the size of the sliding window required to fully utilize the network capacity?

Your Answer

Score

Explanation

10 packets

20000 packets

10000 packets

80 packets

Total

Question 3
Consider the TCP flow control mechanism. Assume that the last acknowledgment sent by the TCP receiver has the following fields: ACK = 8000, WIN = 4000. Which of the following is not a valid message that the sender can transmit given this scenario? (That is, if the sender were to send this message, the receiver would not have sufficient buffer space to fully process the message. Also note that the sender might have already transmitted bytes beyond sequence number of 8000 and these bytes might be in transit. Consequently the sequence number of the next packet transmitted can be beyond 8000.)

Your Answer

Score

Explanation

Sender can transmit a 1000 byte packet with SEQ = 11100

Sender can transmit a 1000 byte packet with SEQ = 10000

Sender can transmit a 800 byte packet with SEQ = 11000

Sender can transmit a 2000 byte packet with SEQ = 9000

Total Question Explanation Hint: review lecture 6-6 flow control, slide 11.

Question 4
Let the smoothed RTT (SRTT) be computed using the formula discussed in slide 8 of lecture 6-7 (i.e., SRTT = 0.9*SRTT+0.1*RTT). Assume that SRTT is 100 ms for a TCP connection and that the connection then observes the next three RTT samples as 100, 100, and 200. What is the SRTT value after processing these new samples?

Your Answer

Score

Explanation

110 ms

200 ms

190 ms

150 ms

Total

Question 5
Which of the following pieces of information is not part of the TCP header of a packet sent by a TCP endpoint? Your Answer Score Explanation

Sequence number of the first data byte communicated by the packet

Packet size

Source port of the endpoint generating the packet

Flags to differentiate SYN, FIN, and RST packets

Total

You might also like