From: "Atahualpa Jones" <atahualpa@gmx.at>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] problem with htb rates | small rates question
Date: Tue, 15 Jul 2003 16:54:30 +0000 [thread overview]
Message-ID: <marc-lartc-105828814826533@msgid-missing> (raw)
In-Reply-To: <marc-lartc-105827512408684@msgid-missing>
----- Original Message -----
From: "Arkadiusz Miskiewicz" <misiek@pld.org.pl>
To: "LARTC" <lartc@mailman.ds9a.nl>
Sent: Tuesday, July 15, 2003 5:17 PM
Subject: [LARTC] problem with htb rates | small rates question
> Hi,
>
> I'm using 2.4.20 kernel with htb updated to match htb from 2.4.21 +
> patches on devik's page.
>
> My setup is simple:
> 192.168.0.134(LAN machine)--eth0-linuxRT-ppp0 (adsl, pppoe involved)
> 192.168.0.234(LAN machine)+
>
> tc qdisc add dev eth0 root handle 1:0 htb default 22 r2q 1
> tc class add dev eth0 parent 1:1 classid 1:2 htb rate 506kbit ceil 506kbit
quantum 10000
> tc class add dev eth0 parent 1:1 classid 1:3 htb rate 98494kbit ceil
98494kbit prio 9
> tc qdisc add dev eth0 parent 1:3 sfq perturb 10
Its just a guess but are you sure this works? parent 1:1? where is the class
with classid 1:1? What are these classes children of?
try it with this setting, it should do the same:
tc qdisc add dev eth0 handle 1:0 root htb default 11
tc class add dev eth0 parent 1:0 classid 1:1 rate 512kbit ceil 512kbit #
128+384 = 512
tc class add dev eth0 parent 1:1 classid 1:10 rate 128kbit ceil 512kbit
tc qdisc add dev eth0 handle 2:0 parent 1:10 sfq perturb 10
tc class add dev eth0 parent 1:1 classid 1:11 rate 384kbit ceil 512kbit
tc qdisc add dev eth0 handle 3:0 parent 1:11 sfq perturb 10
tc filter add dev eth0 protocol ip parent 1:0 u32 match ip dst 192.168.0.134
flowid 1:10
In your config it shows you have two root classes (in your output). I dont
know if this affects anything, but I do not think this is desired. Let me
know if the setting above worked.
Andreas
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2003-07-15 16:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-15 13:18 [LARTC] problem with htb rates | small rates question Arkadiusz Miskiewicz
2003-07-15 16:54 ` Atahualpa Jones [this message]
2003-07-16 19:06 ` Arkadiusz Miskiewicz
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-105828814826533@msgid-missing \
--to=atahualpa@gmx.at \
--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.