Shaping services and users (2nd time)

Linux Advanced Routing and Traffic Control

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

 



Hello,
    I am making a HTB script for a few people and I wanted to ask a question.
 
Now I have a nice script with this hierarchy of classes.
 
root(128/128)
+---WWW(32/128)
+---Default(32/128)
+---P2P(1/64)     #P2P Programs like DC and Kazza
+---....
 
How should I implement limiting the speed of some users (by IP addresses)?
I had an idea, but it looks too compicated. What do you think?
 
Let's say I want IP2 To be limited to have the speed max. 64kbits.
 
Will this idea work?
 
root(128/128)
+IP1(32/128)-----WWW(32/128)
|            +---Default(10/128)
|            +---P2P(1/64)
|            +---...       
|
+IP2(32/64)------WWW(32/64)
|            +---Default(10/64)
|            +---P2P(1/64)
|            +---...
+IP2(32/64)--....
...
 
 
Thanks,
    Phill
 
PS: Sorry if I posted this twice (that was my mistake).

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