Re: [Lxc-users] native (non-NAT) routing?
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 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 00:50:56:8e:00:03 brd ff:ff:ff:ff:ff:ff inet6 fe80::250:56ff:fe8e:3/64 scope link valid_lft forever preferred_lft forever 3: eth1: BROADCAST,MULTICAST mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 00:50:56:8e:00:22 brd ff:ff:ff:ff:ff:ff 4: eth2: BROADCAST,MULTICAST mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 00:50:56:8e:00:23 brd ff:ff:ff:ff:ff:ff 5: eth3: BROADCAST,MULTICAST mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 00:50:56:8e:00:24 brd ff:ff:ff:ff:ff:ff 6: eth4: BROADCAST,MULTICAST mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 00:50:56:8e:00:25 brd ff:ff:ff:ff:ff:ff 7: eth5: BROADCAST,MULTICAST mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 00:50:56:8e:00:26 brd ff:ff:ff:ff:ff:ff 8: eth6: BROADCAST,MULTICAST mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 00:50:56:8e:00:27 brd ff:ff:ff:ff:ff:ff 9: eth7: BROADCAST,MULTICAST mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 00:50:56:8e:00:28 brd ff:ff:ff:ff:ff:ff 10: eth8: BROADCAST,MULTICAST mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 00:50:56:8e:00:2e brd ff:ff:ff:ff:ff:ff 11: eth9: BROADCAST,MULTICAST mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 00:50:56:8e:00:2f brd ff:ff:ff:ff:ff:ff 12: br0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc noqueue state UNKNOWN link/ether 00:50:56:8e:00:03 brd ff:ff:ff:ff:ff:ff inet 129.69.1.39/24 brd 129.69.1.255 scope global br0 inet6 fe80::250:56ff:fe8e:3/64 scope link valid_lft forever preferred_lft forever -- Ullrich Horlacher Server- und Arbeitsplatzsysteme Rechenzentrum E-Mail: horlac...@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/ -- 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 Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] native (non-NAT) routing?
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 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 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: horlac...@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/ -- 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 Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
[Lxc-users] Can't execute lxc-execute /bin/bash
Hi! I Compiled procfs from lxc sources, but when i want to lxc-execute –n vm0 /bin/bash I’ve got error. root@debian:~# lxc-execute -n vm0 /bin/bash lxc-execute: No such file or directory - failed to exec /usr/lib/lxc/lxc-init lxc-execute: invalid sequence number 1. expected 2 lxc-execute: failed to spawn 'vm0' root@debian:~# How can i fix that? Other functions works well. Greetings Krzysztof-- Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
[Lxc-users] Can't execute lxc-execute /bin/bash
Hi! I Compiled procfs from lxc sources, but when i want to lxc-execute –n vm0 /bin/bash I’ve got error. root@debian:~# lxc-execute -n vm0 /bin/bash lxc-execute: No such file or directory - failed to exec /usr/lib/lxc/lxc-init lxc-execute: invalid sequence number 1. expected 2 lxc-execute: failed to spawn 'vm0' root@debian:~# How can i fix that? Other functions works well. Greetings Krzysztof-- Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
Re: [Lxc-users] Can't execute lxc-execute /bin/bash
Quoting Krzysztof Karwacki (krzys...@motokirc.pl): Hi! I Compiled procfs from lxc sources, but when i want to lxc-execute –n vm0 /bin/bash I’ve got error. root@debian:~# lxc-execute -n vm0 /bin/bash lxc-execute: No such file or directory - failed to exec /usr/lib/lxc/lxc-init Does /usr/lib/lxc/lxc-init exist on the host? When I've played with custom templates based of the ssh template, I've had similar troubles, and I think I usually ended up trying putting lxc-init onto the guest. -serge -- Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo ___ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users