<html><head></head><body bgcolor="#FFFFFF"><div>Use tcpdump (or wireshark if necessary) on all interfaces to see where the packets/frames are being dropped. Look at the Ethernet source addresses and for ARPs that are not being <span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); ">replied to. </span><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); ">The network never lies ;)</span></div><div><br></div><div>Mdf</div><div><br>On Feb 21, 2012, at 5:52 PM, Martin Konečný <<a href="mailto:martin.konecny@sourcefabric.org">martin.konecny@sourcefabric.org</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>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>
</div></blockquote><blockquote type="cite"><div><span>------------------------------------------------------------------------------</span><br><span>Keep Your Developer Skills Current with LearnDevNow!</span><br><span>The most comprehensive online learning library for Microsoft developers</span><br><span>is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,</span><br><span>Metro Style Apps, more. Free future releases when you subscribe now!</span><br><span><a href="http://p.sf.net/sfu/learndevnow-d2d">http://p.sf.net/sfu/learndevnow-d2d</a></span></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Lxc-users mailing list</span><br><span><a href="mailto:Lxc-users@lists.sourceforge.net">Lxc-users@lists.sourceforge.net</a></span><br><span><a href="https://lists.sourceforge.net/lists/listinfo/lxc-users">https://lists.sourceforge.net/lists/listinfo/lxc-users</a></span><br></div></blockquote></body></html>