From: "Dmytro O. Redchuk" <dor@ldc.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] (yet another) HTB question(s)
Date: Wed, 17 Aug 2005 07:08:08 +0000 [thread overview]
Message-ID: <20050817070808.GA6684@ldc.net> (raw)
In-Reply-To: <20050816193748.49080.qmail@web60922.mail.yahoo.com>
On Tue, Aug 16, 2005 at 12:37:48PM -0700, Gabriel wrote:
> 1) when used on a router for shaping traffic done by
> clients connected to it, shaping is done on the interface
> connected to the cable/dsl modem. If I wanted to create
> classes for every client on the network, I would have to
> use iptables to mark packets (using -j MARK) and not
> filters because, according to
> http://www.docum.org/docum.org/kptd/ the shaping is done
> after the SNAT, so all the clients would have the src
> address rewritten with the public IP. Am I getting this
> right?
This page:
http://mailman.ds9a.nl/pipermail/lartc/2005q1/014656.html
(LARTC archive) contains a lot of useful links, one of them:
http://ebtables.sourceforge.net/br_fw_ia/PacketFlow.png
Note right bottom corner of that picture.
> 4) related to 3), I've tried to use a syntax like this: "tc
> clas add dev $ETH parent 1:0 classid 1:1 htb rate $RATE
> ceil $CEIL", where CEIL > RATE , but the max speed I
> achieved was the RATE speed. After further reading, I found
> out that you can't (well, you can, there's no syntax error,
> but it's useless) specify CEIL for the class attached to
> the root qdisc because it doesn't have a parent to borrow
> from. So is there a way to simulate a variable bandwidth
> link or should I just set RATE to the highest possible
> value the bandwidth can reach?
http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm (6. Priorizing
bandwidth share) answers this question. Use qdisc inside qdisc.
> That's about it for now. :) Thanks
Thank you,
--
_,-=._ /|_/|
`-.} `=._,.-=-._., @ @._,
`._ _,-. ) _,.-'
` G.m-"^m`m' Dmytro O. Redchuk
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next prev parent reply other threads:[~2005-08-17 7:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-16 19:37 [LARTC] (yet another) HTB question(s) Gabriel
2005-08-16 20:43 ` Andreas Klauer
2005-08-17 7:08 ` Dmytro O. Redchuk [this message]
2005-08-17 7:40 ` panca sorin
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=20050817070808.GA6684@ldc.net \
--to=dor@ldc.net \
--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.