From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Thu, 13 Feb 2003 22:33:33 +0000 Subject: Re: [LARTC] cbq and htb working together... Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Thursday 13 February 2003 22:55, Michal Kustosik wrote: > Is it possible to use cbq and htb together on one dev? > > something like this: > > [...] > $TC qdisc add dev eth0 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000 > > $TC class add dev eth0 parent 1:0 classid 1:10 cbq bandwidth 100Mbit \ > rate 100Mbit weight 10Mbit prio 8 allot 1514 cell 8 maxburst 5 avpkt > 1000 bounded $TC qdisc add dev eth0 parent 1:10 htb default 100 > > $TC class add dev eth0 parent 1:10 classid 1:100 htb rate 128kbit ceil > 128kbit prio 3 $TC class add dev eth0 parent 1:10 classid 1:200 htb rate > 128kbit ceil 128kbit prio 2 $TC class add dev eth0 parent 1:10 classid > 1:300 htb rate 128kbit ceil 128kbit prio 1 [...] > > but it does't work :( What's not working? And why the hell would you try that ? :) Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/