[Lxc-users] Container inside an ESX VM
Serge Hallyn
serge.hallyn at canonical.com
Fri Apr 15 13:20:34 UTC 2011
Quoting Mauras Olivier (oliver.mauras at gmail.com):
> Hello,
>
> I'm struggling for two days now with some completely weird network
> behaviours.
> My host is a virtual machine hosted on an ESX farm. I planned to deploy
> several containers on it to achieve various tasks.
>
> Host is running Scientific Linux 6 with default kernel (2.6.32), and my
> container is an Oracle Linux 6. I discovered that i had to change ESX
> vswitch settings to allow promiscuous mode in order to make the host bridge
> correctly behave, but it still gives me weird results.
> Most of the time after having started the container, network inside the
> container is erratic. I can ping or ssh from the host to the container, but
> nothing gets out of the container or in the container from the LAN. While
> the container is still running, if i issue a network restart on the host,
> the container start behaving correctly and network works again as expected.
> The problem is that it's not reliable at all. If i stop/restart the
> container several times, it starts losing network again that i can only get
> back by issuing the network restart on the host...
Just a thought, advised by previous libvirt troubles.
Can you look at the mac addresses on the VMWare guest? Check that the
eth0 on the vmware guest (i.e. container host) is always lower than
that of the veths in the guests.
-serge
More information about the lxc-users
mailing list