Hi,
I think I have done what I can to try and get the following to work.
All traffic on port 80 on the Director to be sent to two Real Servers.
I have tried nat, ip tunneling and direct with no success.
The Director server has ip forwarding on.
[root@lb300 lvs]# ./clvs
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 10.20.20.16:80 rr
-> 10.20.20.14:80 Masq 1 0 0
-> 10.20.20.15:80 Masq 1 0 0
--2013-02-27 01:51:18-- http://10.20.20.16/
Connecting to 10.20.20.16:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 86 [text/html]
On the Director I can fetch a file from one of the real servers using
the address 10.20.20.16
` When I try it from another machine and access 10.20.20.16 externally I
used tcpdump to observe that the Director gets the request and doesn't seem to
forward it on.
02:24:17.373145 IP 10.20.20.17.49204 > 10.20.20.16.http: Flags [S], seq
960611594, win 14600, options [mss 1460,sackOK,TS val 4089517587 ecr
0,nop,wscale 7], length 0 02:24:17.373166 IP 10.20.20.17.49204 >
10.20.20.15.http: Flags [S], seq 960611594, win 14600, options [mss
1460,sackOK,TS val 4089517587 ecr 0,nop,wscale 7], length 0 02:24:18.372087 IP
10.20.20.17.49204 > 10.20.20.16.http: Flags [S], seq 960611594, win 14600,
options [mss 1460,sackOK,TS val 4089518587 ecr 0,nop,wscale 7], length 0
02:24:18.372096 IP 10.20.20.17.49204 > 10.20.20.15.http: Flags [S], seq
960611594, win 14600, options [mss 1460,sackOK,TS val 4089518587 ecr
0,nop,wscale 7], length 0 02:24:20.372087 IP 10.20.20.17.49204 >
10.20.20.16.http: Flags [S], seq 960611594, win 14600, options [mss
1460,sackOK,TS val 4089520587 ecr 0,nop,wscale 7], length 0 02:24:20.372094 IP
10.20.20.17.49204 > 10.20.20.15.http: Flags [S], seq 960611594, win 14600,
options [mss 1460,sackOK,TS val 4089520587 ecr 0,nop,wscale 7
], length 0 02:24:24.372089 IP 10.20.20.17.49204 > 10.20.20.16.http: Flags
[S], seq 960611594, win 14600, options [mss 1460,sackOK,TS val 4089524587 ecr
0,nop,wscale 7], length 0 02:24:24.372096 IP 10.20.20.17.49204 >
10.20.20.15.http: Flags [S], seq 960611594, win 14600, options [mss
1460,sackOK,TS val 4089524587 ecr 0,nop,wscale 7], length 0
Rinaldo
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
|