Shared Flashcard Set

Details

TCP Timeout and Retransmission
CCIE
18
Computer Networking
Professional
01/19/2016

Additional Computer Networking Flashcards

 


 

Cards

Term
what mechanisms does TCP have for acclomplishing retransmission?
Definition
a. timer-based - when the retransmission timeout (RTO) expires.
B. fast retransmission (ACK-based) - when cumulative ACKs fail to increment or SACKs indicate out of order packets.
Term
Which retransmission mechanism is preferred and why?
Definition
Fast retransmission is preferred as it is more efficient. Timer-based retransmissions lead to underutilization of the network.
Term
Why must TCP constantly evaluate the RTO?
Definition
RTT may change over time due to changing network conditions.
Term
What must tcp monitor the RTT for?
Definition
Each tcp connection.
Term
Describe the retransmission ambiguity problem and how it can be overcome.
Definition
This is when an ACK is received for a packet that has been retransmitted, the sender will not know which packet is being ACK'd.
Term
When tcp is retransmitting segments, what will cause it to stop doubling the RTO backoff factor?
Definition
When it receives an ACK for a segment that was only sent once.
Term
When the tcp timestamps option is being used, what TSER value is returned when a receiver is acknowledging a number of reordered packet?
Definition
The value is taken from the TSV of the last packet to arrive. This results in the RTT being overestimated, which is desirable as it will make the sender less aggressive to retransmit. This can be overcome by using the tcp timestamps option or just ignoring RTT measurements for packets that have been sent more than once.
Term
what must tcp do when it receives an out of order segment?
Definition
It must generate an immediate ACK (duplicate ACK).
Term
when a duplicate ACK arrives at a sender, what does is indicate?
Definition
Either packet loss or packet reordering in the network.
Term
what is assumed when the duplicate ACK threshold (3) is exceeded and what action does the sender take?
Definition
Packet loss is assumed, fast transmit and congestion control procedures are invoked.
Term
What benefit does SACK add to fast retransmit?
Definition
SACK allows a sender to fill more than one hole in the receiver per RTT.
Term
why can the sack option only specify 3 blocks?
Definition
a sack option that specifies N blocks requires 8N+2 bytes and it usually accompanies the 10-byte TSOPT (plus 2 bytes padding). A TCP header only has 40 bytes available for options.
Term
what may prevent a sender from filling 3 holes, that have just been reported in a sack, with a single retransmission?
Definition
congestion control - i.e. reduced window size.
Term
under what conditions would a lost ack/sack message be retransmitted?
Definition
If it contained data or the SYN or FIN flags were set.
Term
why are the first sack blocks from previous sacks repeated in later positions in subsequent sacks?
Definition
To guard against ACK loss. If the ACK was lost, the original sender would know if a subsequent sack message didn't indicate that the block was still missing.
Term
what is a spurious retransmission and what are the possible causes?
Definition
TCP may initiate a retransmission even when no data has been lost. Possible causes are spurious timeouts, packet reordering, packet duplication or lost ACKS.
Term
what is dsack?
Definition
Duplicate SACK enables a SACK receiver to indicate when a duplicate segment has been received.
It's purpose is to highlight when spurious transmissions have occurred.
Interoperable with conventional sack senders.
Term
describe tcp repacketization?
Definition
When tcp times out and retransmits, it doesn't have to send an identical segment.
This allows tcp to send a bigger segment, which can help to combat retransmission ambiguity.
The larger segment can't exceed the MSS of the receiver or the path MTU.
Supporting users have an ad free experience!