Re: [Lxc-users] lxc macvlan bridge problem

2012-09-26 Thread Fajar A. Nugraha
Please keep to/cc to the list On Tue, Sep 25, 2012 at 2:42 PM, 宣铭艺 xuanmin...@gmail.com wrote: hi guys I use veth mode now container-left and container-right can ping each other left ip is 10.0.0.2 right ip is 10.0.0.3 did you use static IP host: br0 10.0.2.15 Did you know that if

Re: [Lxc-users] lxc macvlan bridge problem

2012-09-26 Thread Fajar A. Nugraha
On Wed, Sep 26, 2012 at 7:59 PM, 宣铭艺 xuanmin...@gmail.com wrote: yes I used static ip. I seted the static ip 10.0.0.2 in the config file. It can't ping www.google.com Read my previous response about don't know much about networking or bridge. Today I don't set the static ip?Will that use

Re: [Lxc-users] lxc macvlan bridge problem

2012-09-26 Thread Michael H. Warfield
On Mon, 2012-09-24 at 14:48 +0800, 宣铭艺 wrote: Hi guys I have a host machine and want to create 3 containers on it. Containers should can ping each other,but can't communicate with the host. All containers shoud surf the Internet. Should I use macvlan bridge mode?And how to set the host's and

[Lxc-users] lxc macvlan bridge problem

2012-09-24 Thread 宣铭艺
Hi guys I have a host machine and want to create 3 containers on it. Containers should can ping each other,but can't communicate with the host. All containers shoud surf the Internet. Should I use macvlan bridge mode?And how to set the host's and containers' network environment the goal blow My

Re: [Lxc-users] lxc macvlan bridge problem

2012-09-24 Thread Fajar A. Nugraha
Why not just use veth + bridge, which is the default (at least the default on Ubuntu)? -- Fajar On Mon, Sep 24, 2012 at 1:48 PM, 宣铭艺 xuanmin...@gmail.com wrote: Hi guys I have a host machine and want to create 3 containers on it. Containers should can ping each other,but can't communicate