LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   shaping scripts - htb.init ... confusion ? :( (https://www.linuxquestions.org/questions/linux-networking-3/shaping-scripts-htb-init-confusion-147088/)

mikero 02-17-2004 05:05 AM

shaping scripts - htb.init ... confusion ? :(
 
I've configured htb.init on a server. I have several IP classes on one interface.

My question it's if I could use more RULES on a htb class for the script, like here:


RATE=40Kbit
CEIL=50Kbit
BURST=15k
LEAF=sfq
RULE=192.168.15.0/24
RULE=192.168.16.0/24
RULE=192.168.17.0/24
...

... i mean if every IP class would have 40 Kbit allocated.

So, I need a htb class for every IP class ?


I'm confused bcs of this:
"## Filtering parameters
#
# RULE=[[saddr[/prefix]][:port[/mask]],][daddr[/prefix]][:port[/mask]]
#
#These parameters make up "u32" filter rules that select traffic for
#each of the classes. You can use multiple RULE fields per config."
.. That means every rule would have the band alocated same bandwith, or they will share the bandwith allocated to the class ?

10x all.


All times are GMT -5. The time now is 09:04 PM.