On Friday 20 December 2002 03:31, Miguel Figueiredo wrote: > Em Qui, 2002-12-19 ās 10:06, Nestor S A Melo escreveu: > > Nestor, > > First: If my english is poor, you can contact me direct by email in > portuguese since I`m Brazilian too :) > > So, somebody correct me if I`m wrong ( Stef? ): > > 1 - I think you share more bandwidth than you have allocated. That's no problem. Rate of class 1:10 and 1:20 = 26+220=246kbit and rate of parent class is 256kbit. > 2 - In sfq directive, you should write: > #tc qdisc add dev eth0 parent 1:10 handle 10: sfq perturb 10 His command will work too. > 3 - You've marked packets with iptables -t mangle, but you're using u32 > instead fw.I'm not sure if you did the correct u32 configuration too. > > Probably you must use: > > #tc filter add dev eth0 parent 1: protocol ip prio 100 handle 6 fw classid > 1:10 > > The handle is the parameter that says to tc what mark you're using and > fw is the parameter that says to tc that you're using a firewall mark. And it's all in hex. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/