From mboxrd@z Thu Jan 1 00:00:00 1970 From: Abraham van der Merwe Date: Fri, 22 Nov 2002 16:22:32 +0000 Subject: [LARTC] shaping on PC with more than 3 interfaces MIME-Version: 1 Content-Type: multipart/mixed; boundary="CE+1k2dSO48ffgeK" Message-Id: List-Id: To: lartc@vger.kernel.org --CE+1k2dSO48ffgeK Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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? --=20 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 --CE+1k2dSO48ffgeK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.5 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE93lnI0jJV70h31dERAqEYAJ9Z+dl3KOJlhi6bzBdWRn3zV0cSbQCfc+6g qaNHs6NiYaSGueb1NOPoVOQ= =i/wy -----END PGP SIGNATURE----- --CE+1k2dSO48ffgeK-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/