[Users] jumbo frames in veth

Roman Haefeli reduzent at gmail.com
Tue Nov 25 08:08:41 PST 2014


Hi

We need jumbo frames for containers since they need access to an
internal network which has jumbo frames enabled and is used solely for
NFS traffic.

I figured it is not possible to have jumbo frames enabled inside a CT.
Even if the CT internally configures its interface to mtu 9000 and the
host bridge is configured to mtu 9000, after starting the CT everything
falls back to mtu 1500. It seems that bridges in general use the
smallest mtu of all members. It also seems that the CT's host interface
defaults to mtu 1500, no matter what the CT uses internally and no
matter what is used on the bridge.

I found the solution to be a small change in the
skript /usr/sbin/vznetaddbr. The attached patch changes vznetaddr so
that it sets an mtu of 9000 when it configures a host interface. This
works fine for all situations, even for CTs and host bridges that
actually use mtu 1500, since the host interface never creates any
traffic (with possibly wrong mtu) but only transports it. 

Could this change be considered for future versions of vzctl? Or is
there another|better way to get jumbo frames for containers?

Cheers
Roman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vznetaddbr.patch
Type: text/x-patch
Size: 500 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/users/attachments/20141125/3a449b2f/attachment.bin>


More information about the Users mailing list