On Mon 2011-04-04 (19:35), Ulli Horlacher wrote:
> My first Ubuntu 10.04 container is up and running on a Ubuntu 10.04 host,
> but the container can only connect to the host (and vice versa), but not
> to the world outside.
>
> I saw a lot of configurations for NAT, but I want native routing for my
> containers.
>
>
> My setup is:
>
> host zoo 129.69.1.39
> container LXC 129.69.1.219
> router 129.69.1.254
>
> In LXC.conf is:
>
> lxc.utsname = LXC
> lxc.network.type = veth
> lxc.network.link = br0
> lxc.network.flags = up
> lxc.network.name = eth0
> lxc.network.mtu = 1500
> lxc.network.ipv4 = 129.69.1.219/24
Same configuration on another host ("vms2", with another ip) works as
expected!
zoo runs on virtual hardware (VMware ESXi), where vms2 runs on real
hardware. I assume now, lxc bridge networking is not compatible with ESXi!
--
Ullrich Horlacher Server- und Arbeitsplatzsysteme
Rechenzentrum E-Mail: [email protected]
Universitaet Stuttgart Tel: ++49-711-685-65868
Allmandring 30 Fax: ++49-711-682357
70550 Stuttgart (Germany) WWW: http://www.rus.uni-stuttgart.de/
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Lxc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-users