From: Ruben Porras <ruben.porras@linworks.de>
To: lartc@vger.kernel.org
Subject: [LARTC] Problem attaching htb class to a htb qdisc
Date: Thu, 15 Mar 2007 08:47:16 +0000 [thread overview]
Message-ID: <1173948436.5168.3.camel@localhost> (raw)
I'm trying to build a QoS system that would divide the outgoing traffic
into four categories, each one also subdivided into two more categories.
For that I chose a htb root qdisc subdivided into four classes, each of
these classes contains also a htb qdisc. Until these point everything
goes well, but when I try to attach a new class to the leaf htb qdisc a
problem with the sintaxis arises. Code follows:
tc qdisc add dev $DEV root handle 1: htb default 30
tc class add dev $DEV parent 1: classid 1:1 htb rate
${UPLINK}kbit
tc class add dev $DEV parent 1:1 classid 1:10 htb rate
${UPLINK}kbit
tc class add dev $DEV parent 1:1 classid 1:20 htb rate
${UPLINK}kbit
tc class add dev $DEV parent 1:1 classid 1:30 htb rate
${UPLINK}kbit
tc class add dev $DEV parent 1:1 classid 1:40 htb rate
${UPLINK}kbit
tc qdisc add dev $DEV parent 1:10 handle 10: htb default 12
tc class add dev $DEV parent 10: classid 1:11 htb rate
${UPLINK}kbit
prio 1
RTNETLINK answers: Invalid argument
tc class add dev $DEV parent 10: classid 1:12 htb rate
${UPLINK}kbit
prio 2
RTNETLINK answers: Invalid argument
tc qdisc add dev $DEV parent 1:11 handle 11: sfq perturb 10
tc qdisc add dev $DEV parent 1:12 handle 12: sfq perturb 10
...
If I attach the classes to 1: instead of 10: everything goes well, but I
do not understand why I can't attach a class to 10:
Any help would be appreciated.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next reply other threads:[~2007-03-15 8:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-15 8:47 Ruben Porras [this message]
2007-03-30 0:15 ` [LARTC] Problem attaching htb class to a htb qdisc Andy Furniss
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=1173948436.5168.3.camel@localhost \
--to=ruben.porras@linworks.de \
--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.