LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

2.2 help please

To: linux-virtualserver@xxxxxxxxxxxx
Subject: 2.2 help please
From: James CE Johnson <jjohnson@xxxxxxxxxx>
Date: Thu, 27 May 1999 15:56:37 +0000
Hi,

I've read through the list archive & tried to apply what I learned there
but I'm still doing something wrong.

What I'm trying to do is simple:
Host A.B.C.D (my desktop) should forward telnet (port 23) to another
host (A.B.C.E)

This is what I've done:
echo 1 > /proc/sys/net/ipv4/ip_forward
ipchains -A forward -j MASQ -s A.B.C.0/24 -d 0.0.0.0/0
ipvsadm -A -t A.B.C.D:23 -s rr
ipvsadm -a -t A.B.C.D:23 -r A.B.C.E:23 -m

On system A.B.C.F, I telnet to A.B.C.D and it just hangs with no
response.  I'm sure it's something I've bungled with ipchains, feel free
to ridicule :-)

I'm using ipvs-0.2 against kernel 2.2.9.  IP_MASQ is enabled in the
kernel configuration.  If somebody who has been successful with this
combination could post a step-by-step of what they did, I'm sure that
would get me going.

Thanks,
J



<Prev in Thread] Current Thread [Next in Thread>
  • 2.2 help please, James CE Johnson <=