From: Arno <arno@disconnect.de>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] htb and fw problems
Date: Wed, 04 Aug 2004 13:36:03 +0000 [thread overview]
Message-ID: <200408041536.03889.arno@disconnect.de> (raw)
In-Reply-To: <20040804160059.6fe9a596.isianto.istiadi@adirarental.com>
Hello,
On Wednesday 04 August 2004 11:00, Ing Isianto Istiadi wrote:
> I'm using the kernel 2.6.6, iproute2-2.4.7.20020116, iptables v1.2.9, and
> gentoo. I have a leased-line 64 kbps.
> I can see the counter works in iptables, but in the htb, it doesn't go to
> the right class (it always go to the default class).
>
> Any help will be appreciated
>
>
> here's my htb conf
> #!/bin/bash
>
> tc qdisc del dev eth1 root
>
> tc qdisc add dev eth1 root handle 1: htb default 80
> tc class add dev eth1 parent 1: classid 1:1 htb rate 65kbps ceil 65kbps
> tc class add dev eth1 parent 1:1 classid 1:10 htb rate 20kbps ceil 35kbps
> prio 3 tc class add dev eth1 parent 1:1 classid 1:20 htb rate 5kbps ceil
> 10kbps prio 0 tc class add dev eth1 parent 1:1 classid 1:30 htb rate 8kbps
> ceil 11kbps prio 2 tc class add dev eth1 parent 1:1 classid 1:40 htb rate
> 23kbps ceil 40kbps prio 1 tc class add dev eth1 parent 1:1 classid 1:80 htb
> rate 8kbps ceil 10kbps prio 4
Well, it's just a wild guess, but do you really have a 64 k-byte/second leased
line or could it be a 64 k-bit/second line? If it's the latter you should
try:
tc class add dev eth1 parent 1: classid 1:1 htb rate 64kbit ceil 64kbit
and see if that works out.
I'd also highly recommend reading
http://www.docum.org/docum.org/faq/cache/74.html
rgds,
Arno
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2004-08-04 13:36 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-04 9:00 [LARTC] htb and fw problems Ing Isianto Istiadi
2004-08-04 11:41 ` mjoachimiak
2004-08-04 13:11 ` Ing Isianto Istiadi
2004-08-04 13:36 ` Arno [this message]
2004-08-04 13:41 ` Martin A. Brown
2004-08-04 13:43 ` Morten Kramer
2004-08-04 14:15 ` Ing Isianto Istiadi
2004-08-04 14:31 ` zoop
2004-08-04 14:44 ` Ing Isianto Istiadi
2004-08-04 23:40 ` mjoachimiak
2004-08-05 2:27 ` Ing Isianto Istiadi
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=200408041536.03889.arno@disconnect.de \
--to=arno@disconnect.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.