All of lore.kernel.org
 help / color / mirror / Atom feed
From: krst@linuxpl.org
To: lartc@vger.kernel.org
Subject: [LARTC] Bandwidth limiting on HTB.
Date: Mon, 03 Mar 2003 20:41:26 +0000	[thread overview]
Message-ID: <marc-lartc-104673371524538@msgid-missing> (raw)


Hi, I've got a problem with HTB bandwidth limiting. I've read many docs
and manuals and I still don't know what is wrong. I've got an internet
connection on ppp0. I'm trying to set some limits on it, but it doesn't
work. Now, I'm trying to set almost the easiest configuration I can
imagine:

tc qdisc add dev ppp0 root handle 1: htb default 10 r2q 1

tc class add dev ppp0 parent 1: classid 1:1 htb rate 10kbps ceil 10kbps
tc class add dev ppp0 parent 1:1 classid 1:10 htb prio 3 rate 5kbps ceil
5kbps
tc class add dev ppp0 parent 1:1 classid 1:20 htb prio 3 rate 5kbps ceil
5kbps

tc qdisc add dev ppp0 parent 1:10 handle 110: sfq perturb 10
tc qdisc add dev ppp0 parent 1:20 handle 120: sfq perturb 10

(I didn't attach filters and ingress qdisc)

I just want to divide my 10kbps bandwidth into two groups each 5kbps. In
fact it doesn't work - when I use wget I download with 10kbps and I can't
see my download in `tc -s -d qdisc` nor in `tc -s -d class ls dev
ppp0`. The counters don't count like they should - in fact only ingress
counts correctly. What can be wrong? I compiled kernel 2.4.20 with all QoS
options (modules where possible) and I downloaded htb3.6-020525.tgz from
Martin Devera's site.

Thanks in advance,
Krzysztof Urbanski

-- 
Krzysztof Urbanski
krst@linuxpl.org
krst@krst.eu.org





_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

             reply	other threads:[~2003-03-03 20:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-03 20:41 krst [this message]
2003-03-08 20:23 ` [LARTC] Bandwidth limiting on HTB Stef Coene

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-104673371524538@msgid-missing \
    --to=krst@linuxpl.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.