Mailing List Archive

[lvs-users] Access from Director can not be be forwarded
I had set up a Director with four realserver.

Director :
[root@gluster05 ~]# ipvsadm -Ln
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 10.67.68.230:0 wrr persistent 60
-> 10.67.68.231:0 Route 1 0 0
-> 10.67.68.232:0 Route 1 0 0
-> 10.67.68.233:0 Route 1 4 0
-> 10.67.68.234:0 Route 1 4 0
-> 10.67.68.235:0 Route 1 4 0
-> 10.67.68.236:0 Route 1 4 0
-> 10.67.68.237:0 Route 1 4 0
-> 10.67.68.238:0 Route 1 0 0
-> 10.67.68.239:0 Route 1 4 0

[root@gluster05 ~]# ifconfig eth2:0
eth2:0 Link encap:Ethernet HWaddr 90:E2:BA:5A:71:C4
inet addr:10.67.68.230 Bcast:10.67.68.230 Mask:255.255.255.255
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

[root@gluster05 ~]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
Iface
10.67.68.230 0.0.0.0 255.255.255.255 UH 0 0 0
eth2
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0
eth0
10.67.68.0 0.0.0.0 255.255.255.0 U 0 0 0
eth2
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0
eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0
eth2
0.0.0.0 10.67.68.1 0.0.0.0 UG 0 0 0
eth2
[root@gluster05 ~]#

Realserver :
[root@gluster01 ~]# ifconfig lo:0
lo:0 Link encap:Local Loopback
inet addr:10.67.68.230 Mask:255.255.255.255
UP LOOPBACK RUNNING MTU:16436 Metric:1

[root@gluster01 ~]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
Iface
10.67.68.230 0.0.0.0 255.255.255.255 UH 0 0 0 lo
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0
eth0
10.67.68.0 0.0.0.0 255.255.255.0 U 0 0 0
eth2
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0
eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0
eth2
0.0.0.0 10.67.68.1 0.0.0.0 UG 0 0 0
eth2
[root@gluster01 ~]#


>From client : ipvs can work well
[root@gluster01 ~]# ssh 10.67.68.230
The authenticity of host '10.67.68.230 (10.67.68.230)' can't be established.
RSA key fingerprint is a7:6b:cd:7b:42:2e:17:ff:fc:68:db:17:2d:8a:ad:ba.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.67.68.230' (RSA) to the list of known hosts.
Last login: Wed Mar 12 18:30:41 2014 from pptpclient02.yxsd
[root@gluster01 ~]#

But from Director itself:
[root@gluster05 ~]# ssh 10.67.68.230

The connection will be hung...

Any help is very appreciated.
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users