Hi,

I have experience successfully creating an LXC container in many system
configurations except for when it is inside of a Virtual Machine (Oracle
VirtualBox).

More specifically, I have problems with networking.

Here is my config:

lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = br0
lxc.network.ipv4 = 0.0.0.0/24


My problem is, that if the container is inside a virtual machine which has
its network interface bridged to its hosts network bridge, then when I'm
inside the LXC container I cannot ping any computer on the internet or
local network EXCEPT for the virtual machines IP.

So I have a Computer hosting a Virtual Machine hosting a LXC Container. The
LXC container can only access the Virtual Machine.

If I change the Virtual Machine to use NAT instead of Bridge for its
network adapter, then the container can access the internet no problem.

Any ideas?

-- 
Open source radio in the cloud. Get yours now! ---> http://airtime.pro

Martin Konecny
Software Developer, Sourcefabric
martin.kone...@sourcefabric.org

720 Bathurst St. Suite 203
M5S 2R4, Toronto, ON, Canada
+1 (416) 892-8420 (Cell)
Skype: martin.konecny15

http://www.sourcefabric.org
http://www.twitter.com/Sourcefabric
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to