Hi All,

I've been testing LXC and seemed to have run into one final snag that is not 
allowing them to run smoothly for me.

l was hoping maybe someone might be able to point out a gotcha that is causing 
this that I might be missing.


I've set up a Bridge on the Host with a static IP address.

All containers are setup with their own static IP addresses.


All test containers will boot up with no problems ( I used the ubuntu template )

All containers can ping any other local LAN point just fine.


But none of the containers can make contact outside the local LAN.

Until I issue   route add default gw 192.168.0.1

Now the container can make connect outside the local LAN


For what ever reason it appears that none of the containers are seeing the 
gateway config call.

I've tried all kind of tweaks to the config files.


As well as adding a post-up route add default gw 192.168.0.1  or   up route add 
default gw 192.168.0.1 to the container's /etc/network/interfaces config file

But this still is not getting the gateway included.



I've looked at ip route, brctl show, and ifconfig both on the host and 
containers and all appear to be working correctly



Is anybody else had an issue with container gateways like this?

If so how did they solve calling ad adding a    route add default gw 
192.168.0.1 once the container was running?


I could ssh in and run a python script to do it.

But it seems like I am missing one final config setting that is not allowing 
the LXC to run correct.


I am running under  LXC Candidate: 0.7.5-3ubuntu67 + Ubuntu 12.04.2 LTS



Any thoughts or ideas?

Thanks
-Kevin
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to