cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2022
Views
0
Helpful
2
Replies

TCP MSS

KATTUBAVA E.S
Level 1
Level 1

Hi Experts

Greetings!

What is the default MSS size set in cisco IOS for TCP host communication, I could see from the packet snipper output that the default MSS is set to 536 even though the MTU of the link is 1500. Why cisco IOS is not using 1460 [Discarding TCP & IP header (20+20)] as the default MSS for TCP communication and what is the purpose of choosing a minimal MSS value 536 by deafult?

Thanks in advance

-bava

1 Accepted Solution

Accepted Solutions

Cisco Freak
Level 4
Level 4
 There have been some assumptions made about using other than the
   default size for datagrams with some unfortunate results.

      HOSTS MUST NOT SEND DATAGRAMS LARGER THAN 576 OCTETS UNLESS THEY
      HAVE SPECIFIC KNOWLEDGE THAT THE DESTINATION HOST IS PREPARED TO
      ACCEPT LARGER DATAGRAMS.

         This is a long established rule.

   To resolve the ambiguity in the TCP Maximum Segment Size option
   definition the following rule is established:

      THE TCP MAXIMUM SEGMENT SIZE IS THE IP MAXIMUM DATAGRAM SIZE MINUS
      FORTY.

         The default IP Maximum Datagram Size is 576.
         The default TCP Maximum Segment Size is 536.

https://tools.ietf.org/html/rfc879

View solution in original post

2 Replies 2

Cisco Freak
Level 4
Level 4
 There have been some assumptions made about using other than the
   default size for datagrams with some unfortunate results.

      HOSTS MUST NOT SEND DATAGRAMS LARGER THAN 576 OCTETS UNLESS THEY
      HAVE SPECIFIC KNOWLEDGE THAT THE DESTINATION HOST IS PREPARED TO
      ACCEPT LARGER DATAGRAMS.

         This is a long established rule.

   To resolve the ambiguity in the TCP Maximum Segment Size option
   definition the following rule is established:

      THE TCP MAXIMUM SEGMENT SIZE IS THE IP MAXIMUM DATAGRAM SIZE MINUS
      FORTY.

         The default IP Maximum Datagram Size is 576.
         The default TCP Maximum Segment Size is 536.

https://tools.ietf.org/html/rfc879

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages wha2tsoever (including, without limitation, damages for loss of use, data or profit) arising  out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

As the "Cisco Freak" has already noted, the RFC he provided addresses your question.

But, if you want to know how to "fix" on Cisco devices, see if you can enable the global command:

ip tcp path-mtu-discovery

Also, you might be able to improve TCP transmission rate to a Cisco device, but adding the global command:

ip tcp window-size 65535

Review Cisco Networking for a $25 gift card