Re: [squid-users] delay pool help

From: Abu Khaled <khaled.abu@dont-contact.us>
Date: Sat, 28 May 2005 16:23:41 +0300

On 5/28/05, ashkan almaspour <ashkan.almaspour@gmail.com> wrote:
> Hi:
> i have a lan with 22 client.
> my link speed is 1000000 bit per second.
> i want assign to per client 64000 byte per second.
> i write this acl and delay pools is it trure?
> acl all src 0.0.0.0/0.0.0.0
> acl mylan src 172.16.16.30-172.16.16.252/32
> delay pools 1
> delay_class 1 2
> delay_parameters 1 -1/-1 64000/64000
> delay_access 1 allow mylan
> delay_access deny all
>
>
> please help me..

Hello Ashkan.
Is your ip range correct? 172.16.16.30-172.16.16.52 Thats 22 clients.

acl mylan src 172.16.16.30-172.16.16.52

I believe you want to assign for each client 64Kb/s (64 kilo bit per
second) = 8KB/s (8 kilo Byte per second)

delay_parameters 1 -1/-1 8000/8000

you might also want to increase the bucket size ( think of it as a
burst when the client starts to surf/download )

delay_parameters 1 -1/-1 8000/256000

This would allow the client to download with full speed, once 256
KBytes are used the client speed is droped down to 8Kbytes per second
(= 64Kb/s ,same speed as a single ISDN connection)
I hope this answers you question.

-- 
Kind regards
Abu Khaled
Received on Sat May 28 2005 - 07:23:43 MDT

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