From: zytek Date: Sat, 11 Sep 2004 14:03:15 +0000 Subject: [LARTC] How classes/filters work .. hmm. Message-Id: <200409111603.15485.zytek-lists@ostrow-wlkp.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org 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 alway= s=20 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=20 traffic (RULE=3D*:80,) and then make a child class for this with RULE=3Dcli= ent_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 wi= th=20 RULE=3Dsomething will this be shaped to it's RATE or will kernel search for= =20 child classes to find out extra parameters matching a connection (like=20 RULE=3Dclient_ip)=20 And sorry for my lack of english knowledge ;) --=20 .: Jakub G=B3azik (zytek) .: email: zytek@ostrow-wlkp.net .: JID: zytek@azazel.ostrow-wlkp.net .: http://www.misiaj.sie.pl [obsolete] _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/