LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

having problems getting lvs-dr to work

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: having problems getting lvs-dr to work
From: "Justin Albstmeijer" <justin@xxxxxxxxx>
Date: Mon, 3 Nov 2003 14:31:56 +0100 (CET)
Hi,

I'am trying to get the simpel telnet lvs-dr example to work.
I'm seeing traffic on the director's VIP and on the RIP.
But I get no packets on the VIP of the realserver.
Telnetting form the realserver to de VIP of the realserver works.


any idea?

using:

kernel 2.4.22
hidden-2.4.20pre10-1.diff
linux-2.4.21-ipvs-1.0.10.patch
configure-lvs_0.9.4

---------- lvs_dr.conf.one_NIC_one_network ---------------------
LVSCONF_FORMAT=1.1
LVS_TYPE=VS_DR
INITIAL_STATE=on
CLEAR_IPVS_TABLES=yes
VIP=eth0:240 192.168.4.240 255.255.255.255 192.168.4.240
DIP=eth0:250 192.168.4.250 192.168.4.0 255.255.255.0 192.168.4.255
SERVICE=t telnet rr 192.168.4.211
SERVER_VIP_DEVICE=lo:240
SERVER_NET_DEVICE=eth0
SERVER_GW=192.168.4.1
------------------------------------------------------------------

------------ output ipvadmin -------------------------------------
-> RemoteAddress:Port           Forward Weight ActiveConn InActConn TCP 
192.168.4.240:telnet rr
-> 192.168.4.211:telnet Route   1      0   0
-------------------------------------------------------------------

------------- output "tcpdump port telnet" on director ------------

14:36:24.995190 192.168.4.26.39869 > 192.168.4.240.telnet: S
62483327:62483327(0) win 5840 <mss 1460,sackOK,timestamp 1695086
0,nop,wscale 0> (DF) [tos 0x10]
14:36:24.995249 192.168.4.26.39869 > 192.168.4.240.telnet: S
62483327:62483327(0) win 5840 <mss 1460,sackOK,timestamp 1695086
0,nop,wscale 0> (DF) [tos 0x10]
14:36:27.987094 192.168.4.26.39869 > 192.168.4.240.telnet: S
62483327:62483327(0) win 5840 <mss 1460,sackOK,timestamp 1695386
0,nop,wscale 0> (DF) [tos 0x10]
14:36:27.987130 192.168.4.26.39869 > 192.168.4.240.telnet: S
62483327:62483327(0) win 5840 <mss 1460,sackOK,timestamp 1695386
0,nop,wscale 0> (DF) [tos 0x10]

--------------------------------------------------------------------

------------- output "tcpdump port telnet" on realserver ------------

14:36:04.912780 192.168.4.240.telnet > 192.168.4.26.39850: S
302538427:302538427(0) ack 29286997 win 5792 <mss 1460,sackOK,timestamp
285308 1690859,nop,wscale 0> (DF)
14:36:22.312775 192.168.4.240.telnet > 192.168.4.26.39827: S
249846123:249846123(0) ack 4268058110 win 5792 <mss 1460,sackOK,timestamp
287048 1685359,nop,wscale 0> (DF)
14:36:24.974431 192.168.4.26.39869 > 192.168.4.240.telnet: S
62483327:62483327(0) win 5840 <mss 1460,sackOK,timestamp 1695086
0,nop,wscale 0> (DF) [tos 0x10]
14:36:24.974484 192.168.4.240.telnet > 192.168.4.26.39869: S
353746179:353746179(0) ack 62483328 win 5792 <mss 1460,sackOK,timestamp
287314 1695086,nop,wscale 0> (DF)
14:36:27.966314 192.168.4.26.39869 > 192.168.4.240.telnet: S
62483327:62483327(0) win 5840 <mss 1460,sackOK,timestamp 1695386
0,nop,wscale 0> (DF) [tos 0x10]
14:36:27.966353 192.168.4.240.telnet > 192.168.4.26.39869: S
353746179:353746179(0) ack 62483328 win 5792 <mss 1460,sackOK,timestamp
287613 1695086,nop,wscale 0> (DF)
14:36:28.712762 192.168.4.240.telnet > 192.168.4.26.39869: S
353746179:353746179(0) ack 62483328 win 5792 <mss 1460,sackOK,timestamp
287688 1695086,nop,wscale 0> (DF)
14:36:28.912762 192.168.4.240.telnet > 192.168.4.26.39850: S
302538427:302538427(0) ack 29286997 win 5792 <mss 1460,sackOK,timestamp
287708 1690859,nop,wscale 0> (DF)
----------------------------------------------------------------------
<Prev in Thread] Current Thread [Next in Thread>