From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Unterkircher Date: Sun, 22 May 2005 11:42:00 +0000 Subject: Re: [LARTC] Change HTB "final qdisc" of the default walk-throught Message-Id: <42907008.1080604@netshadow.at> List-Id: References: <20050522111913.GE24989@polar.elf12.net> In-Reply-To: <20050522111913.GE24989@polar.elf12.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org I think you can add a default class to your htb root-qdisc. As example # tc qdisc add dev eth0 root handle 99: htb default 30 # tc class add dev eth0 parent 1:1 classid 1:10 htb rate 5mbit burst 15k # tc class add dev eth0 parent 1:1 classid 1:20 htb rate 3mbit ceil 6mbit burst 15k # tc class add dev eth0 parent 1:1 classid 1:30 htb rate 1kbit ceil 6mbit burst 15k If the traffic isn't matched by any filter it will get to 1:30 Andreas Robert Siemer wrote: >Hello everybody! > >With a HTB qdisc: ># tc qdisc add dev eth0 root handle 99: htb > >How can I change the "final qdisc" of the default walk-throught class? ># tc qdisc add dev eth0 parent 99:0 handle 88: sfq >results in: "RTNETLINK answers: Invalid argument" > >CBQ automatically creates a xx:0 root class where I can attach final >qdiscs... - If there is a root class in htb, how is it named? > > >This is a check of my understanding. - I don't need a solution of the >problem (e.g. with a leaf default class). - I need an answer to my >question and if it is not possible, the answer is: it's not possible... >(-: > > >Thanks, > Robert >_______________________________________________ >LARTC mailing list >LARTC@mailman.ds9a.nl >http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc > > > _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc