From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] problem: Error: Qdisc "htb" is classless.
Date: Mon, 28 Apr 2003 19:19:31 +0000 [thread overview]
Message-ID: <marc-lartc-105155764712155@msgid-missing> (raw)
In-Reply-To: <marc-lartc-105153796817746@msgid-missing>
On Monday 28 April 2003 15:51, Ana Carolina Alonso wrote:
> Hello, I have a problem, I want to configure the htb qdisc, my
> configuration scripts loke like:
>
> tc qdisc add dev eth0 root handle 1: htb
>
> tc class add dev eth0 parent 1: classid 1:1 htb rate 6mbit burst 15k
> 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 burst 15k
> tc class add dev eth0 parent 1:1 classid 1:30 htb rate 1kbit burst 15k
>
> tc qdisc add dev eth0 parent 1:10 handle 10: sfq perturb 10
> tc qdisc add dev eth0 parent 1:20 handle 20: sfq perturb 10
> tc qdisc add dev eth0 parent 1:30 handle 30: sfq perturb 10
>
> tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip sport 80
> 0xffff flowid 1:10
> tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip sport 25
> 0xffff flowid 1:20
>
> When I execute my script I get:
>
> RTNETLINK answers: Invalid argument
> Error: Qdisc "htb" is classless.
> Error: Qdisc "htb" is classless.
> Error: Qdisc "htb" is classless.
> Error: Qdisc "htb" is classless.
> RTNETLINK answers: No such file or directory
> RTNETLINK answers: No such file or directory
> RTNETLINK answers: No such file or directory
> RTNETLINK answers: Invalid argument
> RTNETLINK answers: Invalid argument
>
> What is wrong?.
Do you have htb support in the kernel and a tc binary with htb support ?
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/
prev parent reply other threads:[~2003-04-28 19:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-28 13:51 [LARTC] problem: Error: Qdisc "htb" is classless Ana Carolina Alonso
2003-04-28 19:19 ` Stef Coene [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=marc-lartc-105155764712155@msgid-missing \
--to=stef.coene@docum.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.