From: Abraham van der Merwe <abz@frogfoot.net>
To: lartc@vger.kernel.org
Subject: [LARTC] shaping on PC with more than 3 interfaces
Date: Fri, 22 Nov 2002 16:22:32 +0000 [thread overview]
Message-ID: <marc-lartc-103798222313995@msgid-missing> (raw)
[-- Attachment #1: Type: text/plain, Size: 1008 bytes --]
Hi!
I have a machine
ISP
|
| eth0
+-------+
| Linux | eth2
| QoS |------ DMZ
| box |
+-------+
| eth1
|
WAN
I want to shaping incoming bandwidth and outgoing bandwidth where incoming
means all packets entering eth0 and outgoing means all packets entering eth1
_or_ eth2.
How do I do that?
Outgoing traffic is easy since I can do shaping on eth0, but incoming is not
so simple since I want to do shaping on eth1+eth2. Can I just use the IMQ
device and do this:
iptables -t mangle -A PREROUTING -i eth1 -j IMQ
iptables -t mangle -A PREROUTING -i eth2 -j IMQ
and then use imq0 as the interface on which I do my incoming shaping?
--
Regards
Abraham
The Marines:
The few, the proud, the not very bright.
___________________________________________________
Abraham vd Merwe [ZR1BBQ] - Frogfoot Networks
P.O. Box 3472, Matieland, Stellenbosch, 7602
Cell: +27 82 565 4451 Http: http://www.frogfoot.net
Email: abz@frogfoot.net
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
reply other threads:[~2002-11-22 16:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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-103798222313995@msgid-missing \
--to=abz@frogfoot.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.