Re: [lxc-users] macvlan networking

2014-09-15 Thread Adam Gold
> No, it shouldn't be the same. > > br0 -> bridge (on host) > bond0 -> bond interface, which has eth0 as slave (on host) > vethXXX -> veth interface for the container (on host) > eth0 (on container) -> the pair of vethXXX on host > > Unless I misunderstood something? This is correct except a min

Re: [lxc-users] macvlan networking

2014-09-15 Thread Fajar A. Nugraha
On Mon, Sep 15, 2014 at 4:19 PM, Adam Gold wrote: >> The "official" networking guide for lxc on Ubuntu : >> https://help.ubuntu.com/14.04/serverguide/lxc.html#lxc-network >> >> At first glance your config looks correct, but the most obvious >> possible source of problem would be "-i eth0". You sai

Re: [lxc-users] macvlan networking

2014-09-15 Thread Adam Gold
> The "official" networking guide for lxc on Ubuntu : > https://help.ubuntu.com/14.04/serverguide/lxc.html#lxc-network > > At first glance your config looks correct, but the most obvious > possible source of problem would be "-i eth0". You said that your > public IP is now on br0. I'd try to remov

Re: [lxc-users] macvlan networking

2014-09-15 Thread Fajar A. Nugraha
On Mon, Sep 15, 2014 at 3:34 PM, Adam Gold wrote: >> Just a wild guess, I'm assuming macvlan has problems with bridge interface. >> >> Have you tried using a physical interface (e.g. eth0) as >> lxc.network.link? Or better yet, since you already create a bridge, >> use lxc.network.type = veth? >>

Re: [lxc-users] macvlan networking

2014-09-15 Thread Adam Gold
> Just a wild guess, I'm assuming macvlan has problems with bridge interface. > > Have you tried using a physical interface (e.g. eth0) as > lxc.network.link? Or better yet, since you already create a bridge, > use lxc.network.type = veth? > I should give just a little bit more context. I'm try

Re: [lxc-users] macvlan networking

2014-09-14 Thread Fajar A. Nugraha
On Mon, Sep 15, 2014 at 7:58 AM, Adam Gold wrote: > Hello. I'm just starting to learn about containers so apologies for the > basic question (I couldn't find an exact answer from my non-exhaustive > review of the archives). > > I'm trying to create a private container network using macvlan > inte

[lxc-users] macvlan networking

2014-09-14 Thread Adam Gold
Hello. I'm just starting to learn about containers so apologies for the basic question (I couldn't find an exact answer from my non-exhaustive review of the archives). I'm trying to create a private container network using macvlan interfaces. I'm running ubuntu 14.04 on the host and on the conta