Search squid archive

Re: delay_class 3 ???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux