Re: Too stupid to figure out shaping

Linux Advanced Routing and Traffic Control

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

 



On Thursday 28 April 2005 00:19, you wrote:
> #      Syntax:  <user>@<down_ceil>[|<up_ceil>]
> How do I include multiple lines of USERS= here.

Maybe the example is bad. USERS does not have lines.

> Also, what does the 183 (184,185 in my example) signify?

The same as 20, 21, 22, etc. in your example. That's one user. You'll have 
to specify ceil rates for all users you want to be limited that way. Also 
notice that it's | instead of /.

For example, 20@512kbit|256kbit translates to: 
User 20 will be ceiled at 512kbit download and 256kbit upload.

The number 20 will be expanded to the IP of that user in your subnet, so if 
your subnet is 192.168.100.x, the IP will be 192.168.100.20. You can also 
group multiple IPs together, so 20:21:22@256kbit|256kbit would be similar 
to your old setup, throwing traffic of all IPs together in the same class 
and let them battle it out.

So if I interpret your example right, it should look like this:

USERS="11@256kbit|256kbit 12@256kbit|256kbit 13@256kbit|256kbit 
       14@256kbit|256kbit 15@256kbit|256kbit 16@386kbit|386kbit 
       17@386kbit|386kbit 18@386kbit|386kbit 19@386kbit|386kbit 
       20@256kbit|256kbit 21@256kbit|256kbit 22@256kbit|256kbit 
       23@256kbit|256kbit 24@256kbit|256kbit 25@256kbit|256kbit
       26@256kbit|256kbit 27@256kbit|256kbit 28@256kbit|256kbit
       29@256kbit|256kbit 30@256kbit|256kbit"

Yeah, it's very ugly. That's because when I started you didn't even have 
the possibility to specify ceil rates like this (the original idea was to 
give every flatmate an equal sized piece of the cake). USERS="1 2 3 4 5" 
is all you need for that...

HTH
Andreas
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux