LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LVS/Tun is not working

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: LVS/Tun is not working
From: "jarol1@xxxxxxxxx" <J.Libak@xxxxxxxxxx>
Date: Wed, 13 Dec 2006 09:04:48 +0100
Kalpin Erlangga Silaen wrote:
Try to access Load Balancer from outside and check connection at load balancer:
[root@balancer ha.d]# ipvsadm -l -n --connection
IPVS connection entries
pro expire state       source             virtual            destination
TCP 00:59 SYN_RECV 202.87.24.5:33354 202.34.196.212:80 202.34.196.213:80

But I always get time out from outside. Checked with tcpdump at load balancer:

10:10:08.966109 IP 202.87.24.5.33363 > 202.34.196.212.http: S 3615203299:3615203299(0) win 5840 <mss 1460,sackOK,timestamp 7710594 0,nop,wscale 2> 10:10:11.964080 IP 202.87.24.5.33363 > 202.34.196.212.http: S 3615203299:3615203299(0) win 5840 <mss 1460,sackOK,timestamp 7713594 0,nop,wscale 2> 10:10:17.963790 IP 202.87.24.5.33363 > 202.34.196.212.http: S 3615203299:3615203299(0) win 5840 <mss 1460,sackOK,timestamp 7719594 0,nop,wscale 2>

From the tcp dump we can see that traffic comes into director but doesn't leave it. Try to reconfigure the virtual service with ipvsadm and use gatewaying to see if anything will leave director. The ip addresses of real servers don't need to exist on your network for this test.
_______________________________________________
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



<Prev in Thread] Current Thread [Next in Thread>