Skip to contentSkip to conversation

How classes/filters work .. hmm.

LARTC zytek 1 participant 1 message Sep 11, 2004

lore
Share & tools
lore

zytek

author
#0 lore raw

What I need to do:

shape every user on my LAN to 256Kbit
-- class for web trafiic with rate X ceil 256Kbit -- class for other(p2p) traffic with rate 1Kbit ceil 200Kbit

This is good because even if they have p2p programs running they will always have fast web surfing.

I can do it with bash scripts - one class per ip with 2 children.

But I wonder if something like this would work:

# class with rate 1Mbit (thats my DSL for web traffic) which will gain all web 
traffic (RULE=*:80,) and then make a child class for this with RULE=client_ip

will a client get 1Mbit or will he get 256Kbit ????

I don't know if you understand me.. I just wonder if when I make a class with RULE=something will this be shaped to it's RATE or will kernel search for child classes to find out extra parameters matching a connection (like RULE=client_ip)

And sorry for my lack of english knowledge ;)

Signature · 7 lines
.: Jakub G³azik (zytek)
.: email: [email protected]
.: JID: [email protected]
.: http://www.misiaj.sie.pl [obsolete]
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/