[Lxc-users] native (non-NAT) routing?
Ulli Horlacher
framstag at rus.uni-stuttgart.de
Mon Apr 11 13:23:26 UTC 2011
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: 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/
More information about the lxc-users
mailing list