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 replied to. The network never lies ;)
Mdf
On Feb 21, 2012, at 5:52 PM, Martin Konečný <martin.kone...@sourcefabric.org>
wrote:
> 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
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users