LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Final routing problem

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Final routing problem
From: Horms <horms@xxxxxxxxxxxx>
Date: Thu, 23 Oct 2003 21:17:53 +0900
On Thu, Oct 23, 2003 at 10:56:22AM +0200, Francois JEANMOUGIN wrote:

[snip]

That looks good. I assume that you have set up the real servers
to accept traffic for the VIP somehow, alias on the loopback interface,
funky policy routing, whatever.

> I set up RR LVS-DR and it works well. That is, the packets are clearly
> routed on each node for each request. On a realserver (testing with
> ssh for improbable bad reasons) I can see the arrival of the packets :

> /usr/sbin/tcpdump -n  ip host VIP -i eth2
> tcpdump: listening on eth2
> 09:58:53.787114 CIP.50756 > VIP.ssh: S 4061535981:4061535981(0) win 5840 <mss 
> 1460,sackOK,timestamp 48523545 0,nop,wscale 0> (DF) [tos 0x10]
> 09:59:41.789624 CIP.50756 > VIP.ssh: S 4061535981:4061535981(0) win 5840 <mss 
> 1460,sackOK,timestamp 48528345 0,nop,wscale 0> (DF) [tos 0x10]

Adding the -e option to tcpdump might shed some more light on things
as the destintion MAC address should change to that of the real server
even though the IP header stays the same.

Also, do you see any icmp traffic being sent to the CIP?

> Nothing happen. The ssh server act as if there were nothing and the
> connection goes timeout. Here are the routes on the realserver (tried
> to reformat for mail, but I'm not used to this so-called mail client):

On the real server, does netstat -an show the conection in
any state at all?

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