From: Andreas Unterkircher <unki@netshadow.at>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Change HTB "final qdisc" of the default walk-throught
Date: Sun, 22 May 2005 11:42:00 +0000 [thread overview]
Message-ID: <42907008.1080604@netshadow.at> (raw)
In-Reply-To: <20050522111913.GE24989@polar.elf12.net>
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
prev parent reply other threads:[~2005-05-22 11:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-22 11:19 [LARTC] Change HTB "final qdisc" of the default walk-throught class Robert Siemer
2005-05-22 11:42 ` Andreas Unterkircher [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42907008.1080604@netshadow.at \
--to=unki@netshadow.at \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox