Hi Everybody, i am running a root Server in Germany (not yet productive ) so i decided to upgrade to Lenny (Debian 5). Everything is running fine, except opnenvz, if i use the new kernel from debian linux-image-openvz-amd64, kernel 2.6.26-1-openvz-amd. All my containers have no more internet-connection, i can´t run apt-get e.g. from within a container and the containers cant´t be reached from without my machine. If i boot the old openvz kernel 2.6.18-12-fza-amd64 they run, i can reach my containers with their ips and they can reach nameservers and so on. So there must be a difference between the kernels, i did not change anything else, config is the same. The root server is provided by hetzner and has its own subnet which i use for the containers... Anybody who has any idea ???? Kind regards, Dirk.
Re: Problem with new Lenny Kernel (2.6.26-1-openvz-amd64)
- Please check your /etc/sysctl.conf settings, IPv4 forward is enabled ? [...] net.ipv4.ip_forward=1 [...] - OpenVZ patch version ? # cat /proc/vz/version - OpenVZ subsystem is running ? # /etc/init.d/vz status - your can ping the containers from the hardwarenode only ? - useing venet(work) or veth(ernet) ? - routing is ok, Hetzner use special routing setting for addidional (sub-)network - something special like iptables enabled rule ?
Hi Curx, thanks a lot ip-forwarding wasn´t enabled But i thought i did not need it due to hetzner - wiki: http://wiki.hetzner.de/index.php/IP-Subnetze I think your from Germany, too But the topic is international, so i will go on writing english, maybe anybody else has the same problem, who is not german... Anyway this is surprising to mee, i just checked it again, the old kernel 2.6.18-12-fza-amd64 does not need the ip-forward section, i commented it out and used a serial console (no ssh) so i could activate the old kernel with grub-menu. No forwarding and it works, now a restart to the new kernel, it does not work, but testing is temporarily with echo "1" > /proc/sys/net/ipv4/ip_forward it works again, so this is the difference. So now i wonder why the old kernel works without forwarding and then new does not ? Now there is another subject surprising me, when i use cat /proc/vz/version it tells me 036test001 ??? Lenny is stable, so i thought the new kernel with openvz is stable, too, not testing ??? The old kernel trying it says: 028stab053.5 When i run apt-get it says me: linux-image-2.6.26-1-openvz-amd64 is already the newest version. So why is it a testing-kernel ? Which one would you use ? I think running lenny dist the new kernel is the better choice ? Kind regards and thanks a lot, Dirk.