additional information:
The command "ipvsadm -Lcn" shows reasonable values:
[root~]# ipvsadm -Lcn
IPVS connection entries
pro expire state source virtual destination
TCP 00:40 SYN_RECV 194.76.232.147:50297 194.76.232.133:80 127.0.0.1:80
TCP 00:13 SYN_RECV 194.76.232.167:19410 194.76.232.133:80 127.0.0.1:80
TCP 00:40 SYN_RECV 194.76.232.147:50281 194.76.232.133:80 127.0.0.1:80
TCP 00:40 SYN_RECV 194.76.232.147:50291 194.76.232.133:80 127.0.0.1:80
but no packet is going to 127.0.0.1:80 as tcpdump shows.
Stephan
>>> "Stephan Hendl" <Stephan.Hendl@xxxxxxxxxxxxxxxxxx> schrieb am 05.03.2007 um
17:25 in Nachricht <45EC5287.4F9C.0016.0@xxxxxxxxxxxxxxxxxx>:
> Hi all,
>
> just I've tested the fallback-directive of the ldirectord but the packets
> aren't sent to the webserver running on localhost.
>
> IP Virtual Server version 1.2.1 (size=4096)
> Prot LocalAddress:Port Scheduler Flags
> -> RemoteAddress:Port Forward Weight ActiveConn InActConn
> TCP VIP:http wlc
> -> localhost:http Local 1 0 0
> -> server1:http Masq 0 0 0
> -> server2:http Masq 0 0 0
> -> server3:http Masq 0 0 0
> -> server4:http Masq 0 0 0
>
> The webserver is running and listening and gives files back:
>
> [root~]# netstat -atp | grep http
> tcp 0 0 localhost:http *:*
> LISTEN 9282/httpd
>
> A telnet like "telnet <VIP> 80" gives "telnet: Unable to connect to remote
> host: Connection refused"
>
> What did I wrong?
>
> Stephan
>
> ps: kernel-2.6.20.1 and netfilter connection tracking support
>
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
|