From: "Martin A. Brown" <mabrown-lartc@securepipe.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Traffic control + NAT + HTB
Date: Wed, 28 May 2003 22:43:21 +0000 [thread overview]
Message-ID: <marc-lartc-105416184631760@msgid-missing> (raw)
In-Reply-To: <marc-lartc-105411564511346@msgid-missing>
Hi again, Ruslan,
No problem at all--that's what mailing lists are for....
: Can you tell me how to make so that i will have three htb classes
: ('local' - 60Mbit, 'internet' - 512Kbit, 'outgoing inet' - 128Kbit)
: under root qdisc,
If you trawl back through the archive some, you'll find plenty of
examples.
I'd recommend looking at the wondershaper, too....but here's the brief
answer:
classes
cap (100Mbit?)
1:1 -----+----------- 1:2 (sfq qdisc) rate = ceil = 60Mbit
|
+----------- 1:3 (sfq qdisc) rate = ceil = 128kbit
|
+----------- 1:4 (sfq qdisc) rate = ceil = 512kbit
You might consider making 1:2 the default class.
: so that they won't borrow each other?
HTB classes never borrow from each other. They only (optionally) borrow
up to ceil from their parent.
-Martin
--
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
prev parent reply other threads:[~2003-05-28 22:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-28 9:54 [LARTC] Traffic control + NAT + HTB Ruslan Spivak
2003-05-28 13:27 ` Martin A. Brown
2003-05-28 22:39 ` Ruslan Spivak
2003-05-28 22:43 ` Martin A. Brown [this message]
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-105416184631760@msgid-missing \
--to=mabrown-lartc@securepipe.com \
--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.