Understanding TCP/IP Model Internals and Interfaces
Understanding TCP/IP Model Internals and Interfaces
Understanding TCP/IP Model Internals and Interfaces
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
1508 <strong>Underst<strong>and</strong>ing</strong> <strong>TCP</strong>/<strong>IP</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong><br />
Lab 2: <strong>TCP</strong> Flavor Comparison<br />
Background<br />
<strong>TCP</strong> detects a packet loss when:<br />
• Retransmission timer expires, or<br />
• n-th duplicate acknowledgement is received for the connection.<br />
<strong>TCP</strong> flavors differ in how they respond to packet loss. While all <strong>TCP</strong> implementations reset the<br />
congestion window after retransmission timeout expiration to one maximum segment size (MSS),<br />
they may proceed differently after duplicate ACKs are received. The missing segment is always<br />
resent immediately, but transmission of new or unacknowledged data depends on the selected flavor.<br />
We will compare the following flavors:<br />
• Tahoe—Fast retransmit followed by slow start<br />
• Reno—Fast retransmit followed by fast recovery<br />
• New Reno—Similar to Reno, but does not halve congestion window multiple times during<br />
recovery process<br />
• Selective acknowledgement (SACK)—Selective retransmission based on received selective<br />
acknowledgements<br />
• Reno with Explicit Congestion Notification (ECN) – similar to Reno, but has ability to<br />
process congestion notification from network upon which it performs fast recovery<br />
Objective<br />
We will study <strong>TCP</strong> behavior after three segments are dropped from the same window of data. The<br />
following graph shows the sequence numbers of sent <strong>and</strong> dropped segments.<br />
Dropped<br />
segments<br />
CONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc.<br />
© 2010 OPNET Technologies, Inc.<br />
12