Re: [squid-users] NET too slow after squid

From: Boskey Chheda <boskey@dont-contact.us>
Date: Tue, 21 Sep 2004 18:24:21 +0530

> Sounds like there is a problem with your router.
>
> Is this router doing NAT or other complex functions? If so it probably
> runs out of connecction entries.
>
> You can try "server_persistent_connections off" in your squid.conf.

Hi Henrik,

Tried to 'server_persistent_connections off' ... no joy.

> Also inspecting the traffic using tcpdump or similar tools to see if there
> is any abnormal activity going on should give further insight in what the
> problem may be.

I ran tcpdump to hope and find some abnormal activity, but to be honest, I
don't know what to look for. :-) .. any tips on what to look for or what
documents / books I can read to help me understand the problem?

Also I noticed something unusual. First let me give you the network
layout/configuration.
The Zyxel Router Model: Prestige 642 R
Router WAN IP: x.x.x.x (not sure)
Router LAN IP: 192.168.1.1 connected to a Linux Box using a cross cable.
Linux IP (eth1): 192.168.1.2 (GW is the router: 192.168.1.1)
Linux IP (eth0): 192.168.0.1 (connected to the office LAN)
150 windows clients with DHCP allocated IP addresses
- Rannge of IP Address 192.168.0.21 to 192.168.0.254
- With Gateway & DNS Server IP as: 192.168.0.1

Linux server running Squid following ip_tables line
/sbin/iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -d 0/0 -j MASQUERADE
The moment this rule is removed, the problem starts up.

So do you guys think this is still a problem related to the Zyxel Router due
to NAT or is it something related to the Linux server running iptables
(NAT/Masq)?

-- 
Regards,
Boskey Chheda
    
Received on Tue Sep 21 2004 - 06:54:45 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Oct 01 2004 - 12:00:02 MDT