cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
532
Views
5
Helpful
2
Replies

Where to use "adjust-mss"

berndtonn
Level 1
Level 1

Dear all,

we are using IPSec/GRE tunnels in a hub and spoke topology. As we have some problems related to fragmentation because of a small MTU we need to use the "ip tcp adjust-mss" command. We are a bit unsure where to use that command. We have found some documents that propose to use it on the external or the tunnel interface. For me it seems to be "natural" to configure it on the LAN interface. Who is correct ? Another question : Do we only need to configure that on routers connected to DSL lines ? In our main (hub) location our internet line has MTU 1500 Bytes. Do we need adjust-mss here as well, because all of that TCP connections end in that location ?

Thank you very much.

Bernd

2 Replies 2

Fernando_Meza
Level 7
Level 7

I had similar issues when using PPPoE on ADSL or wireless as the internet connection. I have resolved the issues by using a combination of the below commands on the tunnel interface.

ip tcp adjust-mss

ip mtu

NOTE: In my experince it is hard to tell an exact value as it seems it varies depending on the media and the extra headers been added as the packet gets encrypted, encapsulated ..etc ..etc but I started by changing the mtu size to small value ( i.e 1360 ) and then once the tunnel was up ..increasing it until the tunnel was not able to be establish .. the I took the last good one as its MTU limit. the mss size needed to be 40 bytes smaller that the MTU (i.e 1320 )

I hope it helps .. please rate it if it does !!!

Danilo Dy
VIP Alumni
VIP Alumni

In my experience with over 200 implementation of IP GRE Tunnel over IPSEC or without IPSEC through multiple Telco services (DSL, MPLS, ATM, MetroE, etc..), I never use this command as I only use "ip mtu 1500" in the GRE Tunnel. I think its because when I first use GRE Tunnel in 2003, this command is not available or the IOS that I have doesn't have this command feature.

I'm amaze that a lot of people always recommend this command whenever someone complains of slow network throughput or some services unreachable, it is even recommend to put it in virtually any interface (LAN/WAN) and very low value at that.

I only change the GRE Tunnel mtu. I use route it in routers ranging from 800 to 7500 series with IOS 12.2 to 12.4

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: