unknown qdisc 'htb' ???
Hello,
I'd like to try out HTB for traffic shaping.
I have a test machine with Redhat 7.2 (kernel 2.4.10), I've downloaded kernel 2.4.17, applied the patch from http://luxik.cdi.cz/~devik/qos/htb/,
recompiled the kernel (checked the option to use HTB in make menuconfig), and rebooted with the new kernel.
When I try to add some rules with HTB (f.i. tc qdisc add dev eth0 root handle 1: htb default 1:1 ), I got the following error message:
Unknown qdisc "htb", hence option "default" is unparsable
Obviously, this is not what I want :-)
What is going wrong here?
Regards,
Patrick
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
Quoted 5 lines
I have a test machine with Redhat 7.2 (kernel 2.4.10), I've downloaded kernel 2.4.17, applied the patch from http://luxik.cdi.cz/~devik/qos/htb/,
recompiled the kernel (checked the option to use HTB in make menuconfig), and rebooted with the new kernel.
Quoted 7 lines
When I try to add some rules with HTB (f.i. tc qdisc add dev eth0 root handle 1: htb default 1:1 ), I got the following error message:
Unknown qdisc "htb", hence option "default" is unparsableObviously, this is not what I want :-)
What is going wrong here?
Have you patched and recompiled iproute2 ?
Stef
Signature · 7 lines
[email protected] More QOS info : http://www.docum.org/ Title : "Using Linux as bandwidth manager" _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
Hi.
You are probably using an old version of tc,
try downloading the precompiled binary from the
htb site or get the sources at http://diffserv.sourceforge.net/
Patrick
Quoted 16 lines · Patrick Van Acker
Hello,
I'd like to try out HTB for traffic shaping.
I have a test machine with Redhat 7.2 (kernel 2.4.10), I've downloaded kernel 2.4.17, applied the patch from http://luxik.cdi.cz/~devik/qos/htb/,
recompiled the kernel (checked the option to use HTB in make menuconfig), and rebooted with the new kernel.When I try to add some rules with HTB (f.i. tc qdisc add dev eth0 root handle 1: htb default 1:1 ), I got the following error message:
Unknown qdisc "htb", hence option "default" is unparsableObviously, this is not what I want :-)
Quoted 8 lines
What is going wrong here?
Regards,
Patrick_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
--
Computers are like air conditioners. They stop working when you open Windows.
--
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
Hello,
Could you tell me how did you solve your problem?
I have exactly the same problem but with this configuration:
- linux 2.4.20 kernel, HTB option checked
- iproute2-2.4.7-now-ss010824.tar.gz installed, which is the latest version I found at ftp://ftp.sunet.se/pub/Linux/ip-routing/, except for "try" or "do not use" versions.
I guess I do not need patching iproute2 and I'm not using an old version of tc either.
Or am I wrong somewhere?
Br,
Emmanuel
Quoted 13 lines
Hello,
I'd like to try out HTB for traffic shaping.
I have a test machine with Redhat 7.2 (kernel 2.4.10), I've downloaded
kernel 2.4.17, applied the patch from http://luxik.cdi.cz/~devik/qos/htb/, <http://luxik.cdi.cz/%7Edevik/qos/htb/,>
recompiled the kernel (checked the option to use HTB in make menuconfig),
and rebooted with the new kernel.When I try to add some rules with HTB (f.i. tc qdisc add dev eth0 root handle 1: htb default 1:1 ), I got the following error message:
Unknown qdisc "htb", hence option "default" is unparsable
Quoted 6 lines
Obviously, this is not what I want :-)
What is going wrong here?
Regards,
Patrick
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Tue, 4 Feb 2003 At 16:29 +0200, [email protected] Articulated:
Quoted 7 lines
Could you tell me how did you solve your problem?
Quoted 4 lines
When I try to add some rules with HTB (f.i. tc qdisc add dev eth0 root handle 1: htb default 1:1 ), I got the following error message:
Unknown qdisc "htb", hence option "default" is unparsable
Correct me if I'm wrong but I believe the "default" option requires a class not a parent:class combo. When I create an htb qdisc I use the command:
tc qdisc add dev eth1 root handle 1: htb default 40
but I suppose in your case you could use:
tc qdisc add dev eth1 root handle 1: htb default 1 // I've tried the above command and it returns just fine
peace
Signature · 11 lines
David DeLauro Do not handicap your children by making their lives easy. - Robert Heinlein When the World gains wisdom I will gain peace. - Id When secrecy becomes a certain protection in whose shadow embryonic ideas are born and nurtured then it becomes indeed a sacred silence. For every form of life, from flower to very man himself, requires this fostering period of protected germination. - Rollin Malbone Pease _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 13 lines
Quoted 7 lines
Quoted 7 lines
When I try to add some rules with HTB (f.i. tc qdisc add dev eth0 root handle 1: htb default 1:1 ), I got the following error message:
Unknown qdisc "htb", hence option "default" is unparsableCorrect me if I'm wrong but I believe the "default" option requires a class not a parent:class combo. When I create an htb qdisc I use the command:
Quoted 7 lines
tc qdisc add dev eth1 root handle 1: htb default 40
but I suppose in your case you could use:
tc qdisc add dev eth1 root handle 1: htb default 1 // I've tried the above command and it returns just fine
Well, in fact my exact line is:
tc qdisc add dev eth1 root handle 1: htb default 12 So it's the same than yours (sorry I hadn't noticed the slight difference with Patrick's line) but it doesn't work. Thanks anyway.
Emmanuel
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 9 lines · Emmanuel Guiton
Hello,
Could you tell me how did you solve your problem?
I have exactly the same problem but with this configuration:
- linux 2.4.20 kernel, HTB option checked
- iproute2-2.4.7-now-ss010824.tar.gz installed, which is the latest
version I found at ftp://ftp.sunet.se/pub/Linux/ip-routing/, except for "try" or "do not use" versions. I guess I do not need patching iproute2 and I'm not using an old version of tc either.
You need to patch iproute2 for htb support. The patch can be found on the htb homepage. Or use the binary found on the htb homepage or go to www.docum.org. I have a tc binary on it with htb support on the download page.
Stef
Signature · 8 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/