Solved

Cisco Router - ip tcp adjust-mss command

Posted on 2013-12-11
3
3,510 Views
Last Modified: 2013-12-26
I recently replaced an old Cisco 2621 Router with a new Cisco 2911 Router for one of my customers.  It was easy enough, but when I started doing speed tests and downloads I noticed that all tests were running very slow.  I would plug my laptop directly into the 50mbps circuit, bypassing the 2911, and all my speed tests and downloads came back good.  I was getting 50mbps, which is my circuit speed.  As soon as I would plug the router back in speed tests were back down under 1Mbps.  Speed and Duplex were fine, there were no interface errors, so I called Cisco TAC.  They ended up issuing the command "ip tcp adjust-mss 1360" on the inside interface of the router, and like magic I was able to achieve 50Mbps downloads and speeds through the 2911 router again.   Now I know the purpose of the command is to avoid packet fragmentation during the initial TCP handshake, but this is a command I have never used before.  I am wondering if this is best practice, and something I should be doing on all projects in the future?  Please share any thoughts you may have on this.  Thanks.
0
Comment
Question by:denver218
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 29

Accepted Solution

by:
Jan Springer earned 250 total points
ID: 39711391
This is not best practice.

However, in certain situations (as with GRE tunnels), the mss needs to be lower to account for overhead.
0
 
LVL 22

Assisted Solution

by:Jody Lemoine
Jody Lemoine earned 250 total points
ID: 39714999
The best practice is to adjust the MSS on interfaces that have lower than a 1500-byte MTU in order to avoid unnecessary fragmentation of packets. Fragmentation leads to multiple packets being sent and additional processing overhead, particularly if NAT is being used.

If your ISP is using PPPoE, for example, this is going to reduce the MTU of your interface by 8 bytes, leaving you with a MTU of 1492. If you attempt to slam 1500-byte packets into this, fragmentation will occur. Setting the MTU to 1452 (MTU - 40 bytes for TCP/IP header overhead) will tell the router to signal clients to send packets no larger than the MTU, avoiding the problem entirely.

For efficiency, setting the MSS should be done on the same interface that has the lower MTU. This will ensure that the router only signals clients to use a lower MTU when the traffic is actually traversing the affected link.
0
 
LVL 4

Author Closing Comment

by:denver218
ID: 39739998
Thanks
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Concerto Cloud Services, a provider of fully managed private, public and hybrid cloud solutions, announced today it was named to the 20 Coolest Cloud Infrastructure Vendors Of The 2017 Cloud  (http://www.concertocloud.com/about/in-the-news/2017/02/0…
Let’s face it: one of the reasons your organization chose a SaaS solution (whether Microsoft Dynamics 365, Netsuite or SAP) is that it is subscription-based. The upkeep is done. Or so you think.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…
Suggested Courses
Course of the Month8 days, 19 hours left to enroll

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question