[lxc-users] Network space visibility in containers

John Lewis oflameo2 at gmail.com
Wed Jul 6 16:51:34 UTC 2016


Try defining lxc.network.name and see if it fixes it.

On 07/06/2016 12:04 PM, steve at linuxsuite.org wrote:
>> How are these containers networked together? Are you using a Bridges on
>> the host or are you just bringing up new interfaces on the host?
>           I have  a bridge for each interface.  No interfaces on the host
> have
> IP's except br1. Use veth in config
>
> lxc.network.type = veth
> lxc.network.flags = up
> lxc.network.link = br1
> #lxc.network.hwaddr = fe:41:31:7f:5c:d6
> lxc.network.veth.pair = admn101-1
> lxc.network.ipv4 = 10.2.3.101/16
> lxc.network.ipv4.gateway = 10.2.1.2
>
> lxc.network.type = veth
> lxc.network.flags = up
> lxc.network.link = br4
> #lxc.network.hwaddr = fe:41:31:7f:5c:d6
> lxc.network.veth.pair = admn101-4
> lxc.network.ipv4 = 10.5.3.101/16
>
> [root at lxc100 ~]$ brctl show
> bridge name	bridge id		STP   enabled	interfaces
> br1		8000.0024e85d25ea	no		      admn101-1
> 							                      em1
> 							                      mfs101-1
> br2		8000.0024e85d25ec	no		      em2
> 							                      mfs101-2
> br3		8000.0024e85d25ee	no		      em3
> 							                      mfs101-3
> br4		8000.0024e85d25f0	no		      admn101-4
> 							                      em4
> 							                      mfs101-4
> br5		8000.00151778923c	no		     admn101-5
> 							                     em5
>
>



More information about the lxc-users mailing list