Re: CBQ is not limiting bandwidth!!!

From: Lubomír Bulej (pallas@kadan.cz)
Date: Thu Jul 26 2001 - 09:25:11 EST


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/



This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 21:00:27 EST