Mailing List Archive

connection slow / timeout (NAT)
Hi,
I use RH7 kernel 2.2.16-22 with ipvsadm 0.9.14 & NAT
Real server are win2000 & RH6.2(kernel 2.2.17)
The director IP is 202.51.194.22 and real server network is 192.168.0.0/24

The problem is connection is very slow / large timeout (test from my own
network),...I don't know why..:-(

I've setup default route on each real server go to director IP (192.168.0.101)
and set ipchains with
# ipchains -A forward -j MASQ -s 192.168.0.0/24 -d 0.0.0.0/0

Is this because Masquerade timeout problem ,..as I read in LVS howto ? Do I
have to set someting like ipchains -M -S 300 60 300 ?

I believe the default is 900 120 300,..but how to check it ?

Thanks
Re: connection slow / timeout (NAT) [ In reply to ]
On Thu, Dec 07, 2000 at 09:59:47AM +0700, Daniel K wrote:
> Hi,
> I use RH7 kernel 2.2.16-22 with ipvsadm 0.9.14 & NAT
> Real server are win2000 & RH6.2(kernel 2.2.17)
> The director IP is 202.51.194.22 and real server network is 192.168.0.0/24
>
> The problem is connection is very slow / large timeout (test from my own
> network),...I don't know why..:-(

Timeout for what?

>
> I've setup default route on each real server go to director IP (192.168.0.101)
> and set ipchains with
> # ipchains -A forward -j MASQ -s 192.168.0.0/24 -d 0.0.0.0/0
>
> Is this because Masquerade timeout problem ,..as I read in LVS howto ? Do I
> have to set someting like ipchains -M -S 300 60 300 ?
>
> I believe the default is 900 120 300,..but how to check it ?
>
> Thanks
>
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
> Send requests to lvs-users-request@LinuxVirtualServer.org
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users

--
Horms
Re: connection slow / timeout (NAT) [ In reply to ]
On Tue, 12 Dec 2000, you wrote:
> On Thu, Dec 07, 2000 at 09:59:47AM +0700, Daniel K wrote:
> > Hi,
> > I use RH7 kernel 2.2.16-22 with ipvsadm 0.9.14 & NAT
> > Real server are win2000 & RH6.2(kernel 2.2.17)
> > The director IP is 202.51.194.22 and real server network is 192.168.0.0/24
> >
> > The problem is connection is very slow / large timeout (test from my own
> > network),...I don't know why..:-(
>
> Timeout for what?

For 1 page complete ,..try with your browser http://202.51.194.22 and compare
with http://202.51.194.25:8000
Re: connection slow / timeout (NAT) [ In reply to ]
On Thu, 7 Dec 2000, Daniel K wrote:

> Hi,
> I use RH7 kernel 2.2.16-22 with ipvsadm 0.9.14 & NAT
> Real server are win2000 & RH6.2(kernel 2.2.17)
> The director IP is 202.51.194.22 and real server network is 192.168.0.0/24
>
> The problem is connection is very slow / large timeout (test from my own
> network),...I don't know why..:-(

what service are you LVS'ing? Is is sitting inside identd or tcpwrappers?
If so, turn them off.

Joe

--
Joseph Mack mack@ncifcrf.gov