Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] Change HTB "final qdisc" of the default walk-throught class
@ 2005-05-22 11:19 Robert Siemer
  2005-05-22 11:42 ` [LARTC] Change HTB "final qdisc" of the default walk-throught Andreas Unterkircher
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Siemer @ 2005-05-22 11:19 UTC (permalink / raw)
  To: lartc

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] Change HTB "final qdisc" of the default walk-throught
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Unterkircher @ 2005-05-22 11:42 UTC (permalink / raw)
  To: lartc

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-22 11:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-22 11:19 [LARTC] Change HTB "final qdisc" of the default walk-throught class Robert Siemer
2005-05-22 11:42 ` [LARTC] Change HTB "final qdisc" of the default walk-throught Andreas Unterkircher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox