[Lxc-users] LXC on ESXi (help)
David Touzeau
david at touzeau.eu
Tue May 17 17:27:23 UTC 2011
Le mardi 17 mai 2011 à 17:36 +0200, Ulli Horlacher a écrit :
> On Tue 2011-05-17 (17:18), David Touzeau wrote:
>
> > the host is a Virtual Machine stored on ESXi 4.0
> >
> > The container can ping the host, the host can ping the container.
> > Issue is others computers network. cannot ping the container and the
> > container cannot ping the network.
>
> I have had the same problems.
>
> My solution is: "lxc.network.type = phys"
>
> Every container has its own (pseudo) physical ethernet interface, which
> indeed is a ESX virtual interface, but Linux (LXC) sees a real ethernet
> interface, therefore: lxc.network.type = phys
>
> I have created 10 more ethernet interface via vSphere. This costs
> virtually nothing :-)
>
> root at zoo:/lxc# fpg network *cfg
>
> bunny.cfg:
> lxc.network.type = phys
> lxc.network.link = eth4
> lxc.network.name = eth4
> lxc.network.flags = up
> lxc.network.mtu = 1500
> lxc.network.ipv4 = 129.69.8.7/24
>
> flupp.cfg:
> lxc.network.type = phys
> lxc.network.link = eth1
> lxc.network.name = eth1
> lxc.network.flags = up
> lxc.network.mtu = 1500
> lxc.network.ipv4 = 129.69.1.219/24
>
>
> vmtest1.cfg:
> lxc.network.type = phys
> lxc.network.link = eth2
> lxc.network.name = eth2
> lxc.network.flags = up
> lxc.network.mtu = 1500
> lxc.network.ipv4 = 129.69.1.42/24
>
>
>
Thanks Ulli,
i'm so stupid !!!
this make sense/logical to add unlimited network card directly under the
VMWare Virtual Machine and did not loose time to create a bridge...
More information about the lxc-users
mailing list