Re: [Lxc-users] native (non-NAT) routing?

2011-04-12 Thread Toens Bueker
Ulli Horlacher frams...@rus.uni-stuttgart.de wrote: host zoo 129.69.1.39 container LXC 129.69.1.219 router129.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

Re: [Lxc-users] native (non-NAT) routing?

2011-04-12 Thread Ulli Horlacher
On Tue 2011-04-12 (09:28), Toens Bueker wrote: zoo runs on virtual hardware (VMware ESXi), where vms2 runs on real hardware. I assume now, lxc bridge networking is not compatible with ESXi! What is configured on ESXi? A virtual switch for this VLAN. I have tested it with and without

Re: [Lxc-users] native (non-NAT) routing?

2011-04-11 Thread Ulli Horlacher
On Sat 2011-04-09 (18:30), Brian K. White wrote: He's asking you to run ip addr on the host and post the result here. Sorry for my lameness :-) root@zoo:/lxc# ip addr 1: lo: LOOPBACK,UP,LOWER_UP mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

Re: [Lxc-users] native (non-NAT) routing?

2011-04-11 Thread Ulli Horlacher
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

Re: [Lxc-users] native (non-NAT) routing?

2011-04-09 Thread Ulli Horlacher
On Wed 2011-04-06 (12:31), Daniel Lezcano wrote: root@zoo:/lxc# brctl show bridge name bridge id STP enabled interfaces br0 8000.0050568e0003 no eth0 is your container up when you show the bridge information ? Yes: root@zoo:/lxc#

Re: [Lxc-users] native (non-NAT) routing?

2011-04-09 Thread Brian K. White
On 4/9/2011 3:00 AM, Ulli Horlacher wrote: On Wed 2011-04-06 (12:31), Daniel Lezcano wrote: root@zoo:/lxc# brctl show bridge name bridge id STP enabled interfaces br0 8000.0050568e0003 no eth0 is your container up when you show the bridge

Re: [Lxc-users] native (non-NAT) routing?

2011-04-06 Thread Daniel Lezcano
On 04/05/2011 02:56 PM, Ulli Horlacher wrote: On Tue 2011-04-05 (14:53), Daniel Lezcano wrote: Can you give the bridge setup ? (brctl show) root@zoo:/lxc# brctl show bridge name bridge id STP enabled interfaces br0 8000.0050568e0003 no

Re: [Lxc-users] native (non-NAT) routing?

2011-04-05 Thread Ulli Horlacher
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 found a workaround: I have added an extra ethernet card dedicated to the

Re: [Lxc-users] native (non-NAT) routing?

2011-04-05 Thread Tanhuanpää Antti
On Mon, 4 Apr 2011, 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

Re: [Lxc-users] native (non-NAT) routing?

2011-04-05 Thread Daniel Lezcano
On 04/04/2011 07:35 PM, 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

Re: [Lxc-users] native (non-NAT) routing?

2011-04-05 Thread Serge Hallyn
Quoting Ulli Horlacher (frams...@rus.uni-stuttgart.de): 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 found a

Re: [Lxc-users] native (non-NAT) routing?

2011-04-05 Thread Ulli Horlacher
On Tue 2011-04-05 (14:53), Daniel Lezcano wrote: Can you give the bridge setup ? (brctl show) root@zoo:/lxc# brctl show bridge name bridge id STP enabled interfaces br0 8000.0050568e0003 no eth0 -- Ullrich Horlacher Server-

Re: [Lxc-users] native (non-NAT) routing?

2011-04-05 Thread John Soros
Hi Ulli, I have managed to set up routed networking with lxc, it isn't very different from xen or qemu. I've created a webpage explaining how I did it: http://j.9souldier.org/trunk/lxc/ Comments are welcome. John ps. I think your setup is wrong in that you need to route through the host and not