About this list Date view Thread view Subject view Author view Attachment view

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Thu 17 Feb 2005 - 16:15:09 GMT


On Thu, Feb 17, 2005 at 11:48:04AM +0100, Holger.Manthey_at_Bertelsmann.de wrote:
> I found the reason / solution of this problem !
>
> I started the sshd with v_sshd wrapper. The chbind bound the sshd
> and all subprocesses to my ipv4root on eth0, so requests via eth1
> interface fails.

so you actually where _inside_ a vserver chbind ;)

> I configured /etc/ssh/sshd_config to listen only on one address
> and didn't use v_sshd, now everything works fine.

excellent! hopefully others learn from that too ...

thanks,
Herbert

> regards
> Holger
>
> -----Ursprüngliche Nachricht-----
> Von: vserver-bounces_at_list.linux-vserver.org [mailto:vserver-bounces_at_list.linux-vserver.org]
> Gesendet: Freitag, 21. Januar 2005 13:50
> An: vserver_at_list.linux-vserver.org
> Betreff: [Vserver] Routing Problem with VServer Kernel
>
>
> Hi,
>
> i have a strange behavior of Kernel 2.6.10-vs1.9.3.17 on SuSE 9.2.
> The kernel uses the wrong route/interface (see below).
> If i reboot the system with original suse kernel or unpatched
> vanilla 2.6.10 with same configuration, the outgoing request uses
> the right interface eth1.
>
> This is not inside a vserver, the only change i did was applying
> the vserver-patch and enabling CONFIG_VSERVER_HARDCPU=y, there
> are no further iptable or policy routing defines.
>
> thanks in advance
> Holger Manthey
>
>
> My configuration:
>
> The 2 network devices
> eth0 inet addr:x.y.z.10 Bcast:x.y.z.127 Mask:255.255.255.128
> eth1 inet addr:172.25.128.10 Bcast:172.25.128.127
> Mask:255.255.255.128
>
> and this is my routing table
> Destination Gateway Genmask Flags MSS Window irtt
> Iface
> 172.23.152.0 172.25.128.1 255.255.255.192 UG 0 0 0
> eth1
> 172.25.128.0 0.0.0.0 255.255.255.128 U 0 0 0
> eth1
> x.y.z.0 0.0.0.0 255.255.255.128 U 0 0 0
> eth0
> 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0
> eth0
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
> lo
> 0.0.0.0 x.y.z.1 0.0.0.0 UG 0 0 0
> eth0
>
> ping 172.25.128.1
> PING 172.25.128.1 (172.25.128.1) 56(84) bytes of data.
> >From x.y.z.10: icmp_seq=2 Destination Host Unreachable
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 17 Feb 2005 - 16:15:27 GMT by hypermail 2.1.3