Hi,
> On Thu, 1 Dec 2005 jayson@xxxxxxxxxxxxxxxx wrote:
> > Good day!
> > I am trying to configure ipvs-0.4.0(direct routing) on a machine running
> > FreeBSD6.0 to balance the load of our three proxy servers , however,
> > after creating virtual services that will accept connections on port 3128
> > and forward it to either of the three proxy servers, the LVS machine
> > doesn't seem to accept any connection at all. Only the InActConn is
> > incrementing. Running sockstat doesn't seem to show any listening daemon
> > on port 3128.
>
> the director is a router. It forwards connections to the
> realserver - there is nothing listening on 3128 on the
> director.
>
> InActConn incrementing means either
>
> o the packets aren't getting back from the realserver to the
> client
>
> o connections are terminated by the target host (the httpd),
> which happens routinely unless both ends allow http
> persistence.
>
> Have you tested with a simple service first, like telnet?
Already tried telnet, didn't work either. Here are the tcpdump outputs, I'm
not sure what it means, perhaps you do.:
telnetclient(fdir2): 10.10.8.145
telnetserver: 10.10.8.112
ipvsrouter: 10.10.8.144
telnetclient:
----------------
08:57:15.782831 IP (tos 0x10, ttl 64, id 1962, offset 0, flags [DF], proto:
TCP (6), length: 64) fdir2.pregi.net.59540 > 10.10.8.144.telnet: S, cksum
0x7299 (correct), 2232325972:2232325972(0) win 65535 <mss 1460,nop,wscale
1,nop,nop,timestamp 62887525 0,sackOK,eol>
08:57:18.781412 IP (tos 0x10, ttl 64, id 1965, offset 0, flags [DF], proto:
TCP (6), length: 64) fdir2.pregi.net.59540 > 10.10.8.144.telnet: S, cksum
0x66e1 (correct), 2232325972:2232325972(0) win 65535 <mss 1460,nop,wscale
1,nop,nop,timestamp 62890525 0,sackOK,eol>
08:57:21.980918 IP (tos 0x10, ttl 64, id 1967, offset 0, flags [DF], proto:
TCP (6), length: 64) fdir2.pregi.net.59540 > 10.10.8.144.telnet: S, cksum
0x5a61 (correct), 2232325972:2232325972(0) win 65535 <mss 1460,nop,wscale
1,nop,nop,timestamp 62893725 0,sackOK,eol>
08:57:25.180443 IP (tos 0x10, ttl 64, id 1970, offset 0, flags [DF], proto:
TCP (6), length: 48) fdir2.pregi.net.59540 > 10.10.8.144.telnet: S, cksum
0x59dd (correct), 2232325972:2232325972(0) win 65535 <mss 1460,sackOK,eol>
08:57:28.379952 IP (tos 0x10, ttl 64, id 1972, offset 0, flags [DF], proto:
TCP (6), length: 48) fdir2.pregi.net.59540 > 10.10.8.144.telnet: S, cksum
0x59dd (correct), 2232325972:2232325972(0) win 65535 <mss 1460,sackOK,eol>
08:57:31.579465 IP (tos 0x10, ttl 64, id 1975, offset 0, flags [DF], proto:
TCP (6), length: 48) fdir2.pregi.net.59540 > 10.10.8.144.telnet: S, cksum
0x59dd (correct), 2232325972:2232325972(0) win 65535 <mss 1460,sackOK,eol>
08:57:37.778531 IP (tos 0x10, ttl 64, id 1978, offset 0, flags [DF], proto:
TCP (6), length: 48) fdir2.pregi.net.59540 > 10.10.8.144.telnet: S, cksum
0x59dd (correct), 2232325972:2232325972(0) win 65535 <mss 1460,sackOK,eol>
08:57:49.976657 IP (tos 0x10, ttl 64, id 1984, offset 0, flags [DF], proto:
TCP (6), length: 48) fdir2.pregi.net.59540 > 10.10.8.144.telnet: S, cksum
0x59dd (correct), 2232325972:2232325972(0) win 65535 <mss 1460,sackOK,eol>
08:58:14.172979 IP (tos 0x10, ttl 64, id 1998, offset 0, flags [DF], proto:
TCP (6), length: 48) fdir2.pregi.net.59540 > 10.10.8.144.telnet: S, cksum
0x59dd (correct), 2232325972:2232325972(0) win 65535 <mss 1460,sackOK,eol>
ipvsrouter(10.10.8.144):
---------------------------------
08:57:14.095881 IP (tos 0x10, ttl 64, id 1962, offset 0, flags [DF], proto:
TCP (6), length: 64) 10.10.8.145.2(0) win 65535 <mss 1460,nop,wscale
1,nop,nop,timestamp 62887525 0,sackOK,eol>
08:57:14.095913 IP (tos 0x10, ttl 64, id 1962, offset 0, flags [DF], proto:
TCP (6), length: 64) 10.10.8.145.2(0) win 65535 <mss 1460,nop,wscale
1,nop,nop,timestamp 62887525 0,sackOK,eol>
08:57:17.094858 IP (tos 0x10, ttl 64, id 1965, offset 0, flags [DF], proto:
TCP (6), length: 64) 10.10.8.145.2(0) win 65535 <mss 1460,nop,wscale
1,nop,nop,timestamp 62890525 0,sackOK,eol>
08:57:17.094885 IP (tos 0x10, ttl 64, id 1965, offset 0, flags [DF], proto:
TCP (6), length: 64) 10.10.8.145.2(0) win 65535 <mss 1460,nop,wscale
1,nop,nop,timestamp 62890525 0,sackOK,eol>
08:57:20.294788 IP (tos 0x10, ttl 64, id 1967, offset 0, flags [DF], proto:
TCP (6), length: 64) 10.10.8.145.2(0) win 65535 <mss 1460,nop,wscale
1,nop,nop,timestamp 62893725 0,sackOK,eol>
08:57:20.294817 IP (tos 0x10, ttl 64, id 1967, offset 0, flags [DF], proto:
TCP (6), length: 64) 10.10.8.145.2(0) win 65535 <mss 1460,nop,wscale
1,nop,nop,timestamp 62893725 0,sackOK,eol>
08:57:23.494740 IP (tos 0x10, ttl 64, id 1970, offset 0, flags [DF], proto:
TCP (6), length: 48) 10.10.8.145.2(0) win 65535 <mss 1460,sackOK,eol>
08:57:23.494771 IP (tos 0x10, ttl 64, id 1970, offset 0, flags [DF], proto:
TCP (6), length: 48) 10.10.8.145.2(0) win 65535 <mss 1460,sackOK,eol>
08:57:26.694660 IP (tos 0x10, ttl 64, id 1972, offset 0, flags [DF], proto:
TCP (6), length: 48) 10.10.8.145.2(0) win 65535 <mss 1460,sackOK,eol>
08:57:26.694691 IP (tos 0x10, ttl 64, id 1972, offset 0, flags [DF], proto:
TCP (6), length: 48) 10.10.8.145.2(0) win 65535 <mss 1460,sackOK,eol>
08:57:29.894586 IP (tos 0x10, ttl 64, id 1975, offset 0, flags [DF], proto:
TCP (6), length: 48) 10.10.8.145.2(0) win 65535 <mss 1460,sackOK,eol>
08:57:29.894614 IP (tos 0x10, ttl 64, id 1975, offset 0, flags [DF], proto:
TCP (6), length: 48) 10.10.8.145.2(0) win 65535 <mss 1460,sackOK,eol>
08:57:36.094471 IP (tos 0x10, ttl 64, id 1978, offset 0, flags [DF], proto:
TCP (6), length: 48) 10.10.8.145.2(0) win 65535 <mss 1460,sackOK,eol>
08:57:36.094502 IP (tos 0x10, ttl 64, id 1978, offset 0, flags [DF], proto:
TCP (6), length: 48) 10.10.8.145.2(0) win 65535 <mss 1460,sackOK,eol>
08:57:48.294199 IP (tos 0x10, ttl 64, id 1984, offset 0, flags [DF], proto:
TCP (6), length: 48) 10.10.8.145.2(0) win 65535 <mss 1460,sackOK,eol>
08:57:48.294231 IP (tos 0x10, ttl 64, id 1984, offset 0, flags [DF], proto:
TCP (6), length: 48) 10.10.8.145.2(0) win 65535 <mss 1460,sackOK,eol>
08:58:12.493677 IP (tos 0x10, ttl 64, id 1998, offset 0, flags [DF], proto:
TCP (6), length: 48) 10.10.8.145.2(0) win 65535 <mss 1460,sackOK,eol>
08:58:12.493714 IP (tos 0x10, ttl 64, id 1998, offset 0, flags [DF], proto:
TCP (6), length: 48) 10.10.8.145.2(0) win 65535 <mss 1460,sackOK,eol>
telnetserver(10.10.8.112):
------------------------------------
09:00:23.914263 IP (tos 0x10, ttl 64, id 1962, offset 0, flags [DF], proto:
TCP (6), length: 64) 10.10.8.145.ol>
09:00:26.912948 IP (tos 0x10, ttl 64, id 1965, offset 0, flags [DF], proto:
TCP (6), length: 64) 10.10.8.145.ol>
09:00:30.112595 IP (tos 0x10, ttl 64, id 1967, offset 0, flags [DF], proto:
TCP (6), length: 64) 10.10.8.145.ol>
09:00:33.312251 IP (tos 0x10, ttl 64, id 1970, offset 0, flags [DF], proto:
TCP (6), length: 48) 10.10.8.145.
09:00:36.511863 IP (tos 0x10, ttl 64, id 1972, offset 0, flags [DF], proto:
TCP (6), length: 48) 10.10.8.145.
09:00:39.711520 IP (tos 0x10, ttl 64, id 1975, offset 0, flags [DF], proto:
TCP (6), length: 48) 10.10.8.145.
09:00:45.910833 IP (tos 0x10, ttl 64, id 1978, offset 0, flags [DF], proto:
TCP (6), length: 48) 10.10.8.145.
09:00:58.109424 IP (tos 0x10, ttl 64, id 1984, offset 0, flags [DF], proto:
TCP (6), length: 48) 10.10.8.145.
09:01:22.306706 IP (tos 0x10, ttl 64, id 1998, offset 0, flags [DF], proto:
TCP (6), length: 48) 10.10.8.145.
Thanks for the time.
>
> Joe
|