On Sunday 23 October 2005 15:31, Daniel Phlander wrote: > The script is corect ? I don't have any experience with metropolian networks, however the rates you are using in your script are weird. > RATE_INET="256kbit" > RATE_METRO="1024kbit" > CEIL="512kbit" > tc class add dev $IF parent 1:0 classid 1:1 htb rate 240kbit So the root class has 240kbit, meaning it's child classes should not be allowed to use more than 240kbit altogether. > tc class add dev $IF parent 1:1 classid 1:10 htb rate $RATE_METRO ceil > $CEIL prio 2 This child class has 1024kbit rate, but only 512kbit ceil (which means it should not be allowed to use more than 512kbit ever), and the parent has only 240kbit, so what rate is it using now? > tc class add dev $IF parent 1:1 classid 1:20 htb rate > $RATE_INET ceil $CEIL prio 1 This child class hase 256kbit rate, 512kbit ceil. That would be okay, if the parent could offer that much rate, which it doesn't. HTH Andreas Klauer _______________________________________________ LARTC mailing list LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc