cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8564
Views
0
Helpful
7
Replies

GRE tunnel mtu size issue

melaniemaillet
Level 1
Level 1

Hi there

The customer saw the RADIUS replies have a size of 1423 bytes.

However, the RADIUS server  can not reach the remote WIFI controller  with MTU above 1344 bytes.

The RADIUS request has a size of 423 which goes through. So the server sends a packet back to the controller, but because of MTU the packet never arrives.

[WIFI controller mtu<1344] --------------[router]----------------GRE Tunnel-------------------[Data Center]---------------[Radius Server]

[Router]

######

on the LAN dacing the WIFI controller we got setuo the df bit to 0

on the Tunnel facing the DC we have :

interface Tunnel0
ip mtu 1372
ip tcp adjust-mss 1322

[Data Center]

###########

on the Tunnel facing the router

interface Tunnel0

ip mtu 1372
ip tcp adjust-mss 1322

On the connection facing the Radius server we got df bit setup to 0

--------------------------------------------------------------------------------------------

The way teh df bit is setup :

route-map CLEAR-DF permit 10
set ip df 0
!
and under the interface

ip policy route-map CLEAR-DF

Looking at the confign the customer shouldn't receive a mtu of 1433 in any case as we are adjusting it to get max 1322? Also I was wondering if I should use ip virtual-reassembly cmd? Shall i use it on the [router] under the interface feacing the [WIFI controller]?

Thanks in advance for any suggestion

Mel

7 Replies 7

rsullivan1
Level 1
Level 1

Try to decrease ip mtu on the tunnel interface and remove tcp adjust-mss.

Also, ip tcp adjust-mss 1322 would give you a MTU of 1362.

Thanks i will try that

How do you get a MTU of 1362 with a tcp adjust of 1322? Will it bring possible issue if we keep teh mtu at 1372?

Ta

Mel

ip tcp adjust-mss - is your max segment size. Also, RADIUS uses UDP if I remember correctly. Sorry for the short answers, but trying to multitask.

heheh good point

I need to to more test

Thanks for your help!

francisco_1
Level 7
Level 7

Mel,

when using GRE you have to take in to consideration that  GRE adds another 24 bytes to a packet and after this increase the packet may need to be fragmented because it is larger then the outbound MTU. Because the packet will be too large for the IP MTU after the GRE overhead (24 bytes) is added, the forwarding router breaks the datagram into two fragments of 1476 (20 bytes IP header + 1456 bytes IP payload) and 44 bytes (20 bytes of IP header + 24 bytes of IP payload) so after the GRE encapsulation is added, the packet will not be larger than the outgoing physical interface MTU.

In you case you could use PMTUD. PMTUD is needed in network situations where intermediate links have smaller MTUs than the MTU of the end links by reduceing the effective MTU of the outgoing interface.

Francisco

My understanding is that PMTUD only works for TCP not UDP such as the RADIUS traffic.

Mel,

PMTU is only supported by TCP. UDP and other protocols do not support it. I was focusing on the GRE side of your config and the GRE header overhead..

Francisco

Review Cisco Networking products for a $25 gift card