* [LARTC] problem: Error: Qdisc "htb" is classless.
@ 2003-04-28 13:51 Ana Carolina Alonso
2003-04-28 19:19 ` Stef Coene
0 siblings, 1 reply; 2+ messages in thread
From: Ana Carolina Alonso @ 2003-04-28 13:51 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 1245 bytes --]
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?.
Thanks in advance.
Ana.
[-- Attachment #2: Type: text/html, Size: 1472 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] problem: Error: Qdisc "htb" is classless.
2003-04-28 13:51 [LARTC] problem: Error: Qdisc "htb" is classless Ana Carolina Alonso
@ 2003-04-28 19:19 ` Stef Coene
0 siblings, 0 replies; 2+ messages in thread
From: Stef Coene @ 2003-04-28 19:19 UTC (permalink / raw)
To: lartc
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-04-28 19:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-28 13:51 [LARTC] problem: Error: Qdisc "htb" is classless Ana Carolina Alonso
2003-04-28 19:19 ` Stef Coene
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.