We have LVS director configured to distrube ssh connections to ssh real servers.
Connections from linux machines work great. Ssh connections from either Solaris
machines (even using openssh) or from Windows machines (using either ssh's ssh
client, or putty) are dropped after about 5 minutes.
Any hints or suggestions are welcome.
Thanks,
-Gaylord
We're running Mandrake 9.1 (kernel 2.4.21) with ipvsadm-1.21.
The director's ipvsadm rules are:
-A -t tux.cs.drexel.edu:ssh -s rr
-a -t tux.cs.drexel.edu:ssh -r ws38 -g -w 1
-a -t tux.cs.drexel.edu:ssh -r ws43 -g -w 1
For the real servers:
sysctl parameters are:
net.ipv4.ip_forward = 1
net.ipv4.conf.all.hidden=1
net.ipv4.conf.lo.hidden=1
The real servers have a loop back interface configured with the tux's address:
lo:0 Link encap:Local Loopback
inet addr:129.25.8.226 Mask:255.255.255.255
UP LOOPBACK RUNNING MTU:16436 Metric:1
|