[lxc-devel] Cloud instance with reduced MTU, container uses 1500, connections stall

Andreas Hasenack andreas at canonical.com
Mon Jun 16 17:56:14 UTC 2014


On Mon, Jun 16, 2014 at 2:11 PM, Serge Hallyn <serge.hallyn at ubuntu.com>
wrote:

>
> Right, the problem is that if lxc was going to try to autoset the veth
> mtu then it should set it to equal the mtu of its bridge, lxcbr0.  So
> if we don't set lxcbr0 to match the host NIC then there's nothing lxc
> could realistically do anyway.
>
> Anyway this still seems ok to me - if we update /etc/init/lxc-net.conf
> to have lxcbr0 mtu match the host nic's mtu, and then have lxc drop
> the veth mtu (if not specified in configuration file) to match
> the veth link's (lxcbr0, br0, whatever is specified in the config).
>
> I'm open to other suggestions.
>
>
>
How do we know which interface to match the lxcbr0 MTU with? In this case
it was eth0, but it could be anything, right?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20140616/8792c6b4/attachment.html>


More information about the lxc-devel mailing list