On Tue, Oct 7, 2014 at 5:48 PM, Kike <[email protected]> wrote: > Hello, I'm new with this issue and I'm having problems with containers using > lxc technology. > > I'm trying to set a communication between containers but isolating them from > host network. I think is more or less the same than a previous user's > intention but I couldn't make it right. > > The point is that I've set a new empty bridge but when I'm starting the > container, it fails!! I should have done something wrong but I haven't found > out it. > > Could someone help me? > > Commands to set the empty bridge in host: > - sudo brctl addbr lxcbr1 > - sudo ip link set lxcbr1 up > - sudo brctl show > > > Network configuration on any container: > lxc.network.type = macvlan > lxc.network.macvlan.mode = bridge > lxc.network.flags = up > lxc.network.link = lxcbr1
Did you read the answers on this thread? " You can't do macvlan on a bridge. It has to be done on an real physical nic. " Read the rest of this thread for recommended solution (short version:lxc.network.type = veth) . -- Fajar > lxc.network.hwaddr = 00:16:3e:3e:f8:7d > > Error reported is: failed to move 'lxcbr1' to the container: Invalid argument > > Setting as a bridge the real one (lxcbr0) doesn't work as well. > Any suggestion? > > > > > thanks in advance > > > _______________________________________________ > lxc-users mailing list > [email protected] > http://lists.linuxcontainers.org/listinfo/lxc-users _______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
