Re: [squid-users] delay pool help

From: Abu Khaled <khaled.abu@dont-contact.us>
Date: Fri, 27 May 2005 17:13:04 +0300

On 5/27/05, Jigar Raval <ojigar@yahoo.com> wrote:
> Hello,
>
> We have 2MBPS leased line for internet connectivity. I
> would like to configure delay pools to allocate a
> bandwidth to various department. I would like to
> assign BW to two department so that the department
> will get only speed 6Kbps, the other will 8kpbs and
> the rest of
> the network can utilize rest of BW i.e. can download
> with the speed of more than 15Kbps.
>
> How to configure delay pool for the same ?
>
> Thanks in advance..
>
> Jigar
>

ACL is what you need. Can you provide more information. Do you want to
assign for the hole department just 8KB/s or each client in the
Department.Anyways here is an example that I used once.

# these go in the ACL's
# dpeA 10 IP's
ACL depA src 10.0.0.5-10.0.0.14

# depB 10 IP's
ACL depB src 10.0.0.15-10.0.0.24

# restNET 30 IP's
ACL restNET src 10.0.0.25-10.0.0.54
# end of ACL for delay pools

# delay pools are for 3 groups
delay_pools 3

# delay pools for deparetment A 6 KB/s per client
delay_class 1 2
deay_parameters 1 -1/-1 6000/6000
delay_access 1 allow depA
delay_access 1 deny all

# delay pools for deparetment B 8 KB/s per client
delay_class 2 2
deay_parameters 1 -1/-1 8000/8000
delay_access 1 allow depB
delay_access 1 deny all

# delay pools for restNET B 15 KB/s per client
delay_class 3 2
deay_parameters 1 -1/-1 15000/15000
delay_access 1 allow restNET
delay_access 1 deny all
# end

Also this might be usefull if you want for eg. to assign 32KB/s for
depA with each client a maximum 8KB/s and a "burst" of 256KB then you
need to modify delay_parameters.
eg. delay_parameters 1 32000/32000 8000/256000

Check the FAQ for more
http://www.squid-cache.org/Doc/FAQ/FAQ-19.html#ss19.8
Please excuse my english and if you need more help/examples I well
gladly provide it ( if my boss would allow me to surf the web that is
)

-- 
Kind regards
Abu Khaled
Received on Fri May 27 2005 - 08:13:06 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Jun 01 2005 - 12:00:03 MDT