On Friday 01 July 2005 17:48, William Marques wrote: > tc class add dev eth0 parent 1:0 classid 1:1 htb rate 90mbit > tc class add dev eth0 parent 1:0 classid 1:2 htb rate 768kbit I don't know if it makes any difference, but I only use one root class and have these two as children to that root class. This way, I find it easier to make sure that the total rate never exceeds interface capability. > As you can see, the download speed is 92KBps, the 768kbits in my script. > but why the class 1:10 who haves garanteedrate 89232kbit wasn't used ? > the fw mark is working, I see the traffic going correctly, but the > correct filter is not applyed??! It's just a quick guess, but probably your marking rules overwrite each other in a way you didn't intend them to. Add a log target at the end of the script, and check if packets actually get really marked correctly. HTH Andreas _______________________________________________ LARTC mailing list LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc