11-19-2015 08:42 AM - edited 03-08-2019 02:46 AM
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
Solved! Go to Solution.
11-19-2015 08:45 AM
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
11-19-2015 08:45 AM
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
11-19-2015 09:38 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide