cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4606
Views
0
Helpful
4
Replies

MTU & tcp adjust-mss configration in GRE tunnel

roger.malik
Level 1
Level 1

we have GRE tunnel between data center and remote site on AT & T link in which IP MTU 1476 is configured in tunnel interface at remote site while and no Ip tcp adjust-mss command. And on data center end tunnel is configured with Ip tcp adjust-mss 1436.

so two question here.

1. does mtu and tcp adjust command required at both side of tunnel ?

2. what is difference between both command ?

thanks for help in advance.

1 Accepted Solution

Accepted Solutions

Amit

As I said I believe that it is best to have both commands together. But I do not believe that it creates problems to have only one at each end. I view these commands as complementary - they both work to address the same problem in different ways. One at each end is ok. I view both together as even better.

HTH

Rick

HTH

Rick

View solution in original post

4 Replies 4

Richard Burts
Hall of Fame
Hall of Fame

Amit

Lets start by identifying the issue that both commands are used to address. When traffic passes through a GRE tunnel the tunneling process adds an additional header to the packet (of 24 bytes length). This can cause fragmentation issues. Both of the commands are used to help with the fragmentation issue.

The ip mtu command changes the effective point at which IOS will recognize the need to do fragmentation and affects all kinds of traffic. The tcp adjust-mss affects TCP traffic but not other kinds of IP traffic. The adjust-mss command will cause the router to examine TCP traffic passing through the router looking for the SYN and SYN/ACK packets which initiate TCP sessions. The end stations use these packets to negotiate the Maximum Segment Size (which will control the size of packets that they send). Using adjust-mss the router will re-write the MSS in the negotiation so that the end stations will use smaller packets and will avoid the need for fragmentation.

It is not required to have both command on each side. But I believe that it is good practice to have both commands on each side.

HTH

Rick

HTH

Rick

Hi Rick,

thanks for the excellent expalanation and i understand the difference between the both.

In our internal network only TCP traffic is allowed while UDP traffic i blocked.

to clear out all doubt my final query is will such configuration is acceptable ( to have ip mtu at one end and ip tcp adjust mss at other end) and does not create any errors(fragementation issue) due to this ?

Amit

As I said I believe that it is best to have both commands together. But I do not believe that it creates problems to have only one at each end. I view these commands as complementary - they both work to address the same problem in different ways. One at each end is ok. I view both together as even better.

HTH

Rick

HTH

Rick

Amit

I am glad that my discussion of this was helpful. Thank you for using the rating system to indicate that your question was resolved (and thanks for the rating). It makes the forum more useful when people can read a question and can know that they will read responses which resolved the question.

I encourage you to continue your participation in the forum.

HTH

Rick

HTH

Rick
Review Cisco Networking products for a $25 gift card