LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Help -- confirm correct LVS-NAT packet stream?

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Help -- confirm correct LVS-NAT packet stream?
From: "Michael Brannigan" <goombah@xxxxxxxxx>
Date: Sat, 23 Feb 2002 17:36:43 -0800
Hello,

I'm a linux noob, but decent at networking, and experience with commercial
load balancing techniques (Alteon, BigIP) -- I was able to install it into
the kernel, and load balance http as a test without much fuss.  It runs very
nicely.

I'm trying to balance 2 MSSQL Servers over port 1433 through LVS. I saw a
thread that indicated it could be done, and I wanted to try it.  I can't get
the login handshake to work using isqlw as a client.  Can some of the gurus
here tell me if this tcpdump implies that the packets are at least being
passed correctly?

-----

192.168.0.1 is the CIP
192.168.0.15 is the VIP
10.168.100.1 is the DIP
10.168.100.2 is the RIP

17:22:08.883012 192.168.0.1.4129 > 192.168.0.15.1433: S
1780830537:1780830537(0) win 16384 <mss 1460,nop,nop,sackOK> (DF)
17:22:08.883196 192.168.0.1.4129 > 10.168.100.2.1433: S
1780830537:1780830537(0) win 16384 <mss 1460,nop,nop,sackOK> (DF)
17:22:08.883818 10.168.100.2.1433 > 192.168.0.1.4129: R 0:0(0) ack
1780830538 win 0
17:22:08.883937 192.168.0.15.1433 > 192.168.0.1.4129: R 0:0(0) ack
1780830538 win 0
17:22:09.367591 192.168.0.1.4129 > 192.168.0.15.1433: S
1780830537:1780830537(0) win 16384 <mss 1460,nop,nop,sackOK> (DF)
17:22:09.367692 192.168.0.1.4129 > 10.168.100.2.1433: S
1780830537:1780830537(0) win 16384 <mss 1460,nop,nop,sackOK> (DF)
17:22:09.367874 10.168.100.2.1433 > 192.168.0.1.4129: R 0:0(0) ack 1 win 0
17:22:09.367949 192.168.0.15.1433 > 192.168.0.1.4129: R 0:0(0) ack 1 win 0
17:22:09.914429 192.168.0.1.4129 > 192.168.0.15.1433: S
1780830537:1780830537(0) win 16384 <mss 1460,nop,nop,sackOK> (DF)
17:22:09.914507 192.168.0.1.4129 > 10.168.100.2.1433: S
1780830537:1780830537(0) win 16384 <mss 1460,nop,nop,sackOK> (DF)
17:22:09.914720 10.168.100.2.1433 > 192.168.0.1.4129: R 0:0(0) ack 1 win 0
17:22:09.914789 192.168.0.15.1433 > 192.168.0.1.4129: R 0:0(0) ack 1 win 0

isqlw tries the above sequence 5 times with a different source port before
giving up.

Any help confirming these packets would be greatly appreciated.

Thanks!

 - Mike





_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



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