[Lxc-users] LXC Container inside of a Virtual Machine + problem networking

Ulli Horlacher framstag at rus.uni-stuttgart.de
Wed Feb 22 07:32:34 UTC 2012


On Tue 2012-02-21 (17:52), Martin Kone?ný wrote:

> 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

I have had problems with LXC and veth inside a vmware ESX VM. Routing was
not possible. I solved this problem by configuring

lxc.network.type = phys
lxc.network.link  = eth3
lxc.network.name  = eth3

Where eth3 is a virtual ESX interface.
I am not using VirtualBox, but perhaps you can create there also more
virtual ethernet devices,

-- 
Ullrich Horlacher              Server- und Arbeitsplatzsysteme
Rechenzentrum                  E-Mail: horlacher at rus.uni-stuttgart.de
Universitaet Stuttgart         Tel:    ++49-711-685-65868
Allmandring 30                 Fax:    ++49-711-682357
70550 Stuttgart (Germany)      WWW:    http://www.rus.uni-stuttgart.de/
REF: <CAN_UGsA_1KJw7f8VUEH7_X0z6OBMe4G3zhzJkVxhvf90cdVZnA at mail.gmail.com>




More information about the lxc-users mailing list