How classes/filters work .. hmm.

Linux Advanced Routing and Traffic Control

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

 



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 ;)



-- 
.: Jakub Głazik (zytek)
.: email: zytek@xxxxxxxxxxxxxxx
.: JID: zytek@xxxxxxxxxxxxxxxxxxxxxx
.: http://www.misiaj.sie.pl [obsolete]
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


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