Re: [Lxc-users] lxc-execute can not access to network

2012-03-20 Thread err404
Le 20/03/2012 14:38, Sam Wang a écrit : > ping does be available.the system says host is unreachable > (...) can you put here your results of: ip a from your container, and your host also? -- This SF email is sponsosred

Re: [Lxc-users] lxc-execute can not access to network

2012-03-20 Thread Sam Wang
ping does be available.the system says host is unreachable 在 2012年3月20日 下午9:28,err404 写道: > Le 15/03/2012 06:53, Sam Wang a écrit : >> First,I add a bridge in my computer,and the bridge IP is 10.0.2.15 >> >> (...) >> >> finally,I use lxc-execute to ping 10.0.2.2 which is the gateway of my >> comp

Re: [Lxc-users] lxc-execute can not access to network

2012-03-20 Thread err404
Le 15/03/2012 06:53, Sam Wang a écrit : > First,I add a bridge in my computer,and the bridge IP is 10.0.2.15 > > (...) > > finally,I use lxc-execute to ping 10.0.2.2 which is the gateway of my > computer,using lxc-execute -n nettest ping 10.0.2.2.but it does not wok > where am I wrong?please help

[Lxc-users] lxc-execute can not access to network

2012-03-20 Thread Sam Wang
First,I add a bridge in my computer,and the bridge IP is 10.0.2.15 Then create a container using lxc-create -n nettest -f nettest.conf the content of nettest.conf is This is my configure file lxc.utsname=netest lxc.network.type=veth lxc.network.flags=up lxc.network.link=br0 lxc.network.hwaddr=4a:4

Re: [Lxc-users] lxc-execute can not access to network

2012-03-15 Thread Fajar A. Nugraha
On Fri, Mar 16, 2012 at 9:58 AM, Sam Wang wrote: > First,I add a bridge in my computer,and the bridge IP is 10.0.2.15 How? > lxc.network.link=br0 Is this the correct brige? > lxc.network.ipv4=10.0.2.16/24 Not sure about this one. Personally I just run a dhcp server on the host (e.g. dnsmasq)

[Lxc-users] lxc-execute can not access to network

2012-03-15 Thread Sam Wang
First,I add a bridge in my computer,and the bridge IP is 10.0.2.15 Then create a container using lxc-create -n nettest -f nettest.conf the content of nettest.conf is This is my configure file lxc.utsname=netest lxc.network.type=veth lxc.network.flags=up lxc.network.link=br0 lxc.network.hwaddr=4a:4