From: Martin Devera <devik@cdi.cz>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] shaping from ethernets to adsl
Date: Tue, 12 Feb 2002 10:40:57 +0000 [thread overview]
Message-ID: <marc-lartc-101351051621064@msgid-missing> (raw)
In-Reply-To: <marc-lartc-101327339318927@msgid-missing>
> then the packets appear to get enqueued/dequeued via this new virtual
> device imq
yes that is supposed ;)
> So I could create filters on the imq device
>
> So what rate do I specify to htb? 10Mbs?
> Do I create a 10Mbs class & try to use this for eth0-eth1 comms? via
> iptables --set-mark?
> And a 512Mbs class as a wrapper for all ppp->eth0,1 traffic (adsl download)
> And a 256Mbs class for all eth0,1->ppp (adsl upload)
Exactly. The 10Mbit can be even higher (100Mbit to be sure for example).
For htb2 you can all eth->eth traffic assign to 10:0 which is kind of
magic here: it allows all packets to go at full speed. The you don't
need the first of classes above.
> Then within each class subdivide as per my requirements.
>
> Is this the approach to take?
you caught it :) It is the idea. The script you attached seems ok
but I did only fast sweep over it.
devik
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
prev parent reply other threads:[~2002-02-12 10:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-09 16:49 [LARTC] shaping from ethernets to adsl Nigel Jones
2002-02-09 22:45 ` Martin Devera
2002-02-10 2:25 ` Ross Skaliotis
2002-02-10 10:40 ` Martin Devera
2002-02-11 22:22 ` Nigel Jones
2002-02-12 10:40 ` Martin Devera [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-101351051621064@msgid-missing \
--to=devik@cdi.cz \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox