[lxc-users] Containers have network issues when their host uses a bonded interface

Andrey Repin anrdaemon at yandex.ru
Mon Sep 7 20:10:14 UTC 2015


Greetings, Peter Steele!

> We're having issues with networking connections in our containers when 
> the host is configured with bonded interfaces. When we configure these 
> same servers to run with VMs, everything works fine, but when we swap 
> out the VMs for equivalently configured containers, we get all kinds of 
> network connection failures between containers. The network issues go 
> away when we reduce the bond to have a single member. More specifically, 
> we configure our server with a host bridge (br0), where the host bridge 
> links to the host's bonded interface (bond0). We've been using this 
> model for years with VMs. Something isn't working quite right with 
> containers though.

> Is there something we need to set in our containers' config files when 
> the host is setup with bonding?

Can you try macvlan bridged mode instead of VEPA/bridge? It is a lighter and
cheaper alternative to brctl, which may induce issues of its own in
environment similar to yours.


-- 
With best regards,
Andrey Repin
Monday, September 7, 2015 22:58:43

Sorry for my terrible english...



More information about the lxc-users mailing list