[squid-users] delay_pools and multiple subnets

From: Peter Arnold <[email protected]>
Date: Mon, 10 Dec 2001 21:28:51 +1000

Hi,
I'm trying to impliment delay_pools on a network that has multiple
subnets
like 172.16.96.0 to 172.16.103.255, 172.21.0.0 to 172.21.7.255,
172.19.4.0
to 172.19.7.0 etc

These can't all be covered by a class 3 (or 16 bit) network.

My aim is to limit the WHOLE network (ie all subnets) to a strict limit
but
I'm not sure how to do it. Do I need to create a class 2 delay pool for
each 8 bit network and a class 3 for each 16 bit network? I'm not sure
this
would have the desired affect as it would probably accumulate all the
strict limits for each pool.

I've tried combining all the subnets into one acl and allowing that
through
one class 3 delay_pool with a strict limit however this strict limit
seems
to be regularly exceeded according to our MRTG graphs.

acl ourhosts src ...lots of subnets like above...

My confi for this goes somthing like this:
delay_pools 1
delay_class 1 3 # pool 1 is a class 3 pool
delay_access 1 allow ourhosts
delay_access 1 deny all
delay_parameters 1 30000/30000 -1/-1 4000/24000

By my maths this should be a theoretical max of 240Kbits/s or 30Kbytes/s
but our graphs hit 252Kbits/s from time to time on a 256Kbits/s link.
The above delay pool config HAS limited our trafic but there is no
obvious
240K line.

Any help or comments appreciated.

Peter Arnold

-- 
Peter Arnold
+-----------------------------------+-----------------+
| mailto:arnoldpj@optushome.com.au  | To err is human |
| Brisbane, Qld, Australia          | To moo bovine.  |
+-----------------------------------+-----------------+
Received on Mon Dec 10 2001 - 04:22:51 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:05:17 MST