LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: 2.4.17 realserver not answering requests

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: 2.4.17 realserver not answering requests
From: "Abe Schwartz" <sloween@xxxxxxxxxxx>
Date: Wed, 06 Feb 2002 16:19:21 +0000
May be on all hosts for your setup INDEV==OUTDEV==eth0

This is the case.

        The main thing to check: whether the RS generates reply
packets and whether they go through .161

161 is the default gateway for both the director and realserver.

[REALSERVER]---------]-----[192.168.0.161]--> [internet]
[DIRECTOR]-----------]

Here's the tcpdump's you all asked for -

[This is how I'm initiating the connection from the client]

CIP = 10.0.0.211
VIP = 192.168.0.190
RIP = 192.168.0.166

[This is how I'm initiating the connection on 192.168.0.190:80]
client# telnet 192.168.0.190 80
Trying 192.168.0.190...
Connected to 192.168.0.190.
Escape character is '^]'.
get /
^]
telnet> quit
Connection closed.

director# tcpdump -ln -i INDEV host CIP

# tcpdump -ln -i eth0 host 10.0.0.211 and port 80
Kernel filter, protocol ALL, datagram packet socket
tcpdump: listening on eth0
09:44:45.844038 < 10.0.0.211.1457 > 192.168.0.190.www: S 311025072:311025072(0) win 5840 <mss 1460> (DF) 09:44:45.844213 > 10.0.0.211.1457 > 192.168.0.190.www: S 311025072:311025072(0) win 5840 <mss 1460> (DF) 09:44:45.914226 < 10.0.0.211.1457 > 192.168.0.190.www: . 311025073:311025073(0) ack 315258852 win 5840 (DF) 09:44:49.650397 < 10.0.0.211.1457 > 192.168.0.190.www: P 0:7(7) ack 1 win 5840 (DF) 09:44:50.066875 < 10.0.0.211.1457 > 192.168.0.190.www: . 7:7(0) ack 1 win 5840 (DF) 09:44:52.646091 < 10.0.0.211.1457 > 192.168.0.190.www: P 0:7(7) ack 1 win 5840 (DF) 09:44:56.066791 < 10.0.0.211.1457 > 192.168.0.190.www: . 7:7(0) ack 1 win 5840 (DF) 09:44:58.646334 < 10.0.0.211.1457 > 192.168.0.190.www: P 0:7(7) ack 1 win 5840 (DF)

director# tcpdump -ln -i OUTDEV host CIP -vvv

# tcpdump -ln -i eth0 host 10.0.0.211 and port 80 -vvv
Kernel filter, protocol ALL, datagram packet socket
tcpdump: listening on eth0
09:48:05.181565 < 10.0.0.211.1542 > 192.168.0.190.www: S 516842430:516842430(0) win 5840 <mss 1460> (DF) (ttl 46, id 47014) 09:48:05.181741 > 10.0.0.211.1542 > 192.168.0.190.www: S 516842430:516842430(0) win 5840 <mss 1460> (DF) (ttl 46, id 47014) 09:48:05.258397 < 10.0.0.211.1542 > 192.168.0.190.www: . 516842431:516842431(0) ack 531827344 win 5840 (DF) (ttl 46, id 47015) 09:48:06.977440 < 10.0.0.211.1542 > 192.168.0.190.www: P 0:7(7) ack 1 win 5840 (DF) (ttl 46, id 47016) 09:48:09.244809 < 10.0.0.211.1542 > 192.168.0.190.www: . 7:7(0) ack 1 win 5840 (DF) (ttl 46, id 47017) 09:48:09.969252 < 10.0.0.211.1542 > 192.168.0.190.www: P 0:7(7) ack 1 win 5840 (DF) (ttl 46, id 47018) 09:48:15.244609 < 10.0.0.211.1542 > 192.168.0.190.www: . 7:7(0) ack 1 win 5840 (DF) (ttl 46, id 47019) 09:48:15.969477 < 10.0.0.211.1542 > 192.168.0.190.www: P 0:7(7) ack 1 win 5840 (DF) (ttl 46, id 47020) 09:48:20.511071 < 10.0.0.211.1542 > 192.168.0.190.www: F 7:7(0) ack 1 win 5840 (DF) (ttl 46, id 47021)

real server# tcpdump -ln -i INDEV host CIP -vvv

# tcpdump -ln -i eth0 host 10.0.0.211 and port 80 -vvv
Kernel filter, protocol ALL, datagram packet socket
tcpdump: listening on eth0
09:56:36.573320 < 10.0.0.211.1545 > 192.168.0.190.www: S 1082986398:1082986398(0) win 5840 <mss 1460> (DF) (ttl 46, id 37966) 09:56:36.573393 > 192.168.0.190.www > 10.0.0.211.1545: S 1074556742:1074556742(0) ack 1082986399 win 5840 <mss 1460> (DF) (ttl 64, id 0) 09:56:41.070849 > 192.168.0.190.www > 10.0.0.211.1545: S 1074556742:1074556742(0) ack 1082986399 win 5840 <mss 1460> (DF) (ttl 64, id 0) 09:56:43.270881 > 192.168.0.190.www > 10.0.0.211.1544: S 1061518685:1061518685(0) ack 1067851563 win 5840 <mss 1460> (DF) (ttl 64, id 0) 09:56:47.070835 > 192.168.0.190.www > 10.0.0.211.1545: S 1074556742:1074556742(0) ack 1082986399 win 5840 <mss 1460> (DF) (ttl 64, id 0) 09:56:59.070848 > 192.168.0.190.www > 10.0.0.211.1545: S 1074556742:1074556742(0) ack 1082986399 win 5840 <mss 1460> (DF) (ttl 64, id 0) 09:57:07.470843 > 192.168.0.190.www > 10.0.0.211.1544: S 1061518685:1061518685(0) ack 1067851563 win 5840 <mss 1460> (DF) (ttl 64, id 0) 09:57:23.270847 > 192.168.0.190.www > 10.0.0.211.1545: S 1074556742:1074556742(0) ack 1082986399 win 5840 <mss 1460> (DF) (ttl 64, id 0)

real server# tcpdump -ln -i OUTDEV host CIP

# tcpdump -ln -i eth0 host 10.0.0.211 and port 80
Kernel filter, protocol ALL, datagram packet socket
tcpdump: listening on eth0
10:01:07.780859 < 10.0.0.211.1547 > 192.168.0.190.www: S 1350963240:1350963240(0) win 5840 <mss 1460> (DF) 10:01:07.780905 > 192.168.0.190.www > 10.0.0.211.1547: S 1370449787:1370449787(0) ack 1350963241 win 5840 <mss 1460> (DF) 10:01:07.794079 > 192.168.0.190.www > 10.0.0.211.1546: S 1317761695:1317761695(0) ack 1325393398 win 5840 <mss 1460> (DF) 10:01:11.395880 > 192.168.0.190.www > 10.0.0.211.1547: S 1370449787:1370449787(0) ack 1350963241 win 5840 <mss 1460> (DF) 10:01:17.598982 > 192.168.0.190.www > 10.0.0.211.1547: S 1370449787:1370449787(0) ack 1350963241 win 5840 <mss 1460> (DF) 10:01:29.605003 > 192.168.0.190.www > 10.0.0.211.1547: S 1370449787:1370449787(0) ack 1350963241 win 5840 <mss 1460> (DF) 10:01:31.806084 > 192.168.0.190.www > 10.0.0.211.1546: S 1317761695:1317761695(0) ack 1325393398 win 5840 <mss 1460> (DF)

client# tcpdump -ln -i INDEV host VIP -vvv

# tcpdump -ln -i eth0 host 192.168.0.190 and port 80 -vvv
Kernel filter, protocol ALL, datagram packet socket
tcpdump: listening on eth0
10:04:10.005228 > 10.0.0.211.1549 > 192.168.0.190.http: S 1541249326:1541249326(0) win 5840 <mss 1460> (DF) [tos 0x10] (ttl 64, id 54774) 10:04:10.075490 < 192.168.0.190.http > 10.0.0.211.1549: S 1539956551:1539956551(0) ack 1541249327 win 5840 <mss 1460> (DF) (ttl 49, id 0) 10:04:10.075581 > 10.0.0.211.1549 > 192.168.0.190.http: . 1:1(0) ack 1 win 5840 (DF) [tos 0x10] (ttl 64, id 54775) 10:04:12.026613 > 10.0.0.211.1549 > 192.168.0.190.http: P 1:8(7) ack 1 win 5840 (DF) [tos 0x10] (ttl 64, id 54776) 10:04:14.264902 < 192.168.0.190.http > 10.0.0.211.1549: S 1539956551:1539956551(0) ack 1541249327 win 5840 <mss 1460> (DF) (ttl 49, id 0) 10:04:14.264946 > 10.0.0.211.1549 > 192.168.0.190.http: . 8:8(0) ack 1 win 5840 (DF) [tos 0x10] (ttl 64, id 54777) 10:04:15.025672 > 10.0.0.211.1549 > 192.168.0.190.http: P 1:8(7) ack 1 win 5840 (DF) [tos 0x10] (ttl 64, id 54778) 10:04:20.267615 < 192.168.0.190.http > 10.0.0.211.1549: S 1539956551:1539956551(0) ack 1541249327 win 5840 <mss 1460> (DF) (ttl 49, id 0) 10:04:20.267705 > 10.0.0.211.1549 > 192.168.0.190.http: . 8:8(0) ack 1 win 5840 (DF) [tos 0x10] (ttl 64, id 54779) 10:04:21.028680 > 10.0.0.211.1549 > 192.168.0.190.http: P 1:8(7) ack 1 win 5840 (DF) [tos 0x10] (ttl 64, id 54780) 10:04:25.540944 > 10.0.0.211.1547 > 192.168.0.190.http: FP 1350963241:1350963248(7) ack 1370449788 win 5840 (DF) [tos 0x10] (ttl 64, id 5539) 10:04:30.072972 < 192.168.0.190.http > 10.0.0.211.1548: S 1476714703:1476714703(0) ack 1469143528 win 5840 <mss 1460> (DF) (ttl 49, id 0) 10:04:30.073064 > 10.0.0.211.1548 > 192.168.0.190.http: . 9:9(0) ack 1 win 5840 (DF) [tos 0x10] (ttl 64, id 27138) 10:04:32.273294 < 192.168.0.190.http > 10.0.0.211.1549: S 1539956551:1539956551(0) ack 1541249327 win 5840 <mss 1460> (DF) (ttl 49, id 0) 10:04:32.273364 > 10.0.0.211.1549 > 192.168.0.190.http: . 8:8(0) ack 1 win 5840 (DF) [tos 0x10] (ttl 64, id 54781) 10:04:33.034263 > 10.0.0.211.1549 > 192.168.0.190.http: P 1:8(7) ack 1 win 5840 (DF) [tos 0x10] (ttl 64, id 54782) 10:04:37.384273 > 10.0.0.211.1548 > 192.168.0.190.http: FP 1:8(7) ack 1 win 5840 (DF) [tos 0x10] (ttl 64, id 27139) 10:04:41.055361 > 10.0.0.211.1549 > 192.168.0.190.http: F 8:8(0) ack 1 win 5840 (DF) [tos 0x10] (ttl 64, id 54783)

client# tcpdump -ln -i OUTDEV host VIP

# tcpdump -ln -i eth0 host 192.168.0.190 and port 80
Kernel filter, protocol ALL, datagram packet socket
tcpdump: listening on eth0
10:06:17.626728 > 10.0.0.211.1550 > 192.168.0.190.http: S 1674126520:1674126520(0) win 5840 <mss 1460> (DF) [tos 0x10] 10:06:17.696884 < 192.168.0.190.http > 10.0.0.211.1550: S 1693578974:1693578974(0) ack 1674126521 win 5840 <mss 1460> (DF) 10:06:17.696974 > 10.0.0.211.1550 > 192.168.0.190.http: . 1:1(0) ack 1 win 5840 (DF) [tos 0x10] 10:06:19.693450 > 10.0.0.211.1550 > 192.168.0.190.http: P 1:8(7) ack 1 win 5840 (DF) [tos 0x10] 10:06:21.890199 < 192.168.0.190.http > 10.0.0.211.1550: S 1693578974:1693578974(0) ack 1674126521 win 5840 <mss 1460> (DF) 10:06:21.890269 > 10.0.0.211.1550 > 192.168.0.190.http: . 8:8(0) ack 1 win 5840 (DF) [tos 0x10] 10:06:22.684263 > 10.0.0.211.1550 > 192.168.0.190.http: P 1:8(7) ack 1 win 5840 (DF) [tos 0x10] 10:06:27.890061 < 192.168.0.190.http > 10.0.0.211.1550: S 1693578974:1693578974(0) ack 1674126521 win 5840 <mss 1460> (DF) 10:06:27.890137 > 10.0.0.211.1550 > 192.168.0.190.http: . 8:8(0) ack 1 win 5840 (DF) [tos 0x10] 10:06:28.684259 > 10.0.0.211.1550 > 192.168.0.190.http: P 1:8(7) ack 1 win 5840 (DF) [tos 0x10] 10:06:39.889764 < 192.168.0.190.http > 10.0.0.211.1550: S 1693578974:1693578974(0) ack 1674126521 win 5840 <mss 1460> (DF) 10:06:39.889853 > 10.0.0.211.1550 > 192.168.0.190.http: . 8:8(0) ack 1 win 5840 (DF) [tos 0x10] 10:06:40.684261 > 10.0.0.211.1550 > 192.168.0.190.http: P 1:8(7) ack 1 win 5840 (DF) [tos 0x10] 10:07:04.089165 < 192.168.0.190.http > 10.0.0.211.1550: S 1693578974:1693578974(0) ack 1674126521 win 5840 <mss 1460> (DF) 10:07:04.089243 > 10.0.0.211.1550 > 192.168.0.190.http: . 8:8(0) ack 1 win 5840 (DF) [tos 0x10] 10:07:04.684266 > 10.0.0.211.1550 > 192.168.0.190.http: P 1:8(7) ack 1 win 5840 (DF) [tos 0x10] 10:07:08.740403 > 10.0.0.211.1550 > 192.168.0.190.http: F 8:8(0) ack 1 win 5840 (DF) [tos 0x10]


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com



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