Re: CBQ is not limiting bandwidth!!!

=?windows-1250?Q?Lubom=EDr_Bulej?= (pallas@kadan.cz)
Thu, 26 Jul 2001 16:25:11 +0200 (CEST)


Hi,

> I am defining only one class at m/c router on interface eth1. The tc
> rules set up for doing so are following.
>
> tc qdisc add dev eth1 root handle 1: cbq bandwidth 10Mbit cell 8 avpkt
> 1000 mpu 64
>
> tc class add dev eth1 parent 1:0 classud 1:1 cbq bandwidth 10Mbit rate
> 1kbit allot 1514 cell 8 weigth 100bit prio 5 maxburst 20 avpkt 1000

Add "bounded" at the end of the command... Otherwise the class borrows
bandwidth from its parent.

Regards,
Lubomir

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/