[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I need some help with TC

On Mon, 3 May 1999, Javier Castillo wrote:

> Hi list,
> I've been trying to use the "tc + ds-5", with my own example, but I
> cannot execute it correctly.
> I write you my example, and the output, so you may help me and tell me
> why it does not run.
> Thanks.
> ***********prueba.sh****************
> + tc qdisc add dev eth1 handle 1:0 root tbf limit 256Kbit burst 40Kbit
> rate 256Kbit
> + tc class add dev eth1 parent 1:0 classid 1:1 cbq bandwidth 256Kbit
> rate 128Kbit maxburst 10 avpkt 1000 allot 1514 borrow
> RTNETLINK error: Invalid argument

Your problem is simple. You are trying to attach CBQ as a child of Token
Bucket. You cant do that because TB is not "classfull".  
Please download draft-almesberger-wajhak-diffserv-linux-01.txt
from the website and read it.