Hi,<div><br></div><div>I have experience successfully creating an LXC container in many system configurations except for when it is inside of a Virtual Machine (Oracle VirtualBox).</div><div><br></div><div>More specifically, I have problems with networking.</div>

<div><br></div><div>Here is my config:</div><div><br></div><div><div>lxc.network.type = veth</div><div>lxc.network.flags = up</div><div>lxc.network.link = br0</div><div>lxc.network.ipv4 = <a href="http://0.0.0.0/24" target="_blank">0.0.0.0/24</a></div>

<div><br></div><div><br></div><div>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.</div>

<div><br></div><div>So I have a Computer hosting a Virtual Machine hosting a LXC Container. The LXC container can only access the Virtual Machine.</div><div><br></div><div>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.</div>
<div><br></div><div>Any ideas?</div><div><br></div>-- <br><span style="border-collapse:collapse"><div><span style="border-collapse:collapse"><span style="border-collapse:separate"><div style="margin-top:0px;margin-bottom:0px">

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;background-color:transparent;font-family:'Times New Roman'"><span>Open source radio in the cloud. Get yours now!</span><span> ---> </span><a href="http://airtime.pro/" target="_blank">http://airtime.pro</a></div>

<div style="margin-right:0px;background-color:transparent;margin-left:0px;margin-bottom:0px;font-family:'Times New Roman';margin-top:0px"><span style="vertical-align:baseline;font-style:normal;white-space:pre-wrap;background-color:transparent;text-decoration:none;font-family:Verdana;font-weight:normal"><br>

</span></div><div style="margin-right:0px;background-color:transparent;margin-left:0px;margin-bottom:0px;font-family:'Times New Roman';margin-top:0px"><span style="vertical-align:baseline;font-style:normal;white-space:pre-wrap;background-color:transparent;text-decoration:none;font-family:Verdana;font-weight:normal">Martin Konecny</span><br>

<span style="vertical-align:baseline;font-style:normal;white-space:pre-wrap;background-color:transparent;text-decoration:none;font-family:Verdana;font-weight:normal">Software Developer, Sourcefabric</span><br>
<span style="vertical-align:baseline;font-style:normal;white-space:pre-wrap;background-color:transparent;text-decoration:none;font-family:Verdana;font-weight:normal"><a href="mailto:martin.konecny@sourcefabric.org" target="_blank">martin.konecny@sourcefabric.org</a></span><br>

<span style="vertical-align:baseline;font-style:normal;background-color:transparent;white-space:pre-wrap;text-decoration:none;font-family:Verdana;font-weight:normal"></span><br><span style="vertical-align:baseline;font-style:normal;white-space:pre-wrap;background-color:transparent;text-decoration:none;font-family:Arial;font-weight:normal">720 Bathurst St. Suite 203</span><br>

<span style="vertical-align:baseline;font-style:normal;white-space:pre-wrap;background-color:transparent;text-decoration:none;font-family:Arial;font-weight:normal">M5S 2R4, Toronto, ON, Canada</span><span style="vertical-align:baseline;font-style:normal;background-color:transparent;white-space:pre-wrap;text-decoration:none;font-family:Verdana;font-weight:normal"></span><br>

<span style="vertical-align:baseline;font-style:normal;white-space:pre-wrap;background-color:transparent;text-decoration:none;font-family:Arial;font-weight:normal"><a href="tel:%2B1%20%28416%29%20892-8420" value="+14168928420" target="_blank">+1 (416) 892-8420</a> (Cell)</span><br>
<span style="vertical-align:baseline;font-style:normal;white-space:pre-wrap;background-color:transparent;text-decoration:none;font-family:Arial;font-weight:normal">Skype: martin.konecny15</span><br>
<span style="vertical-align:baseline;font-style:normal;background-color:transparent;white-space:pre-wrap;text-decoration:none;font-family:Arial;font-weight:normal"></span><br><a href="http://www.sourcefabric.org/" target="_blank"><span style="font-family:Verdana;color:rgb(0,0,153);background-color:transparent;font-weight:normal;font-style:normal;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap">http://www.sourcefabric.org</span></a><br>

<a href="http://www.twitter.com/Sourcefabric" target="_blank"><span style="vertical-align:baseline;color:rgb(0,0,153);font-style:normal;white-space:pre-wrap;text-decoration:underline;font-family:Verdana;font-weight:normal">http://www.twitter.com/Sourcefabric</span></a></div>

</div></span></span></div></span><br>
</div>