LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

LVS/TUN MTU problem, missing hints in documentation

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: LVS/TUN MTU problem, missing hints in documentation
From: "jarol1@xxxxxxxxx" <J.Libak@xxxxxxxxxx>
Date: Thu, 07 Dec 2006 21:50:02 +0100
Today I ran into problem of MTU in LVS/Tunneling.

Small packets were forwarded to real servers without problems, but the bigger ones weren't and TCP retransmissions occurred. I noticed the problem dissapeared when I switched to LVS/DR so this gave me hint to where the problem might be. MTU 1480 had to be set on the outgoing interface of realservers with tunl0 having standard 1500. Directors have 1500 on all interfaces. This way TCP syn ack contained correct MTU and client didn't send big packets that were discarded on director anymore. IP header is 20 bytes long so 1480 is the maximum value that works.

It isn't mentioned in documentation that this problem will occur if tunneling is used and can be forgotten and discovered later. I think it would be helpful to add this to documentation so people count with it from the beginning.

Jaro


<Prev in Thread] Current Thread [Next in Thread>