Re: [squid-users] delay_class 3 ???

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 03 Aug 2011 10:11:50 +1200

 On Tue, 2 Aug 2011 13:34:52 -0400, Carlos Manuel Trepeu Pupo wrote:
> Hi everyone, thanks again for all the help !
>
> I have many subnets:
>
> 10.10.1.0/24
> 10.10.2.0/24
> 10.10.3.0/24
> 10.10.4.0/24
> .
> .
> .
> 10.10.200.0/24
>
> and I want to control the bandwidth of each one. I think this could
> be:
>
> acl clients src "/etc/squid3/net" # In this file I have all
> the subnets

 No need to split them into /24 blocks here, delay pools will do that
 internally.

 If you want you can just:
   acl clients src 10.10.1.0-10.10.200.0/24

>
> delay_pools 1
> delay_class 1 3
> delay_parameters 1 491520/491520 16384/16384 -1/-1
> delay_access 1 allow clients
>
> Here I just want to restrict the /24 subnet, I don't care the
> individual host, and restrict each one at 16 Kbps, not all to 16
> Kbps.
> With this conf I make this ?

 The config above limits the entire /16 network to ~491KBps.

 The text you wrote describes this:
   delay_parameters 1 -1/-1 16384/16384 -1/-1

 Amos
Received on Tue Aug 02 2011 - 22:11:53 MDT

This archive was generated by hypermail 2.2.0 : Wed Aug 03 2011 - 12:00:02 MDT