From mboxrd@z Thu Jan 1 00:00:00 1970 From: Abraham van der Merwe Date: Tue, 04 Mar 2003 13:06:20 +0000 Subject: Re: [LARTC] QoS on bridge device MIME-Version: 1 Content-Type: multipart/mixed; boundary="zhXaljGHf11kAtnf" Message-Id: List-Id: References: In-Reply-To: To: lartc@vger.kernel.org --zhXaljGHf11kAtnf Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Bogdan! Thanks. One more question: If I match packets for shaping (instead of tc filters), which chain should I match packets on? Usually I use FORWARD in the mangle table, but if I look at the following diagram: http://www.sparkle-cc.co.uk/firewall/firewall.html it seems that packets won't go through FORWARD anymore (if it goes through the bridge) so I guess I should match packets on OUTPUT in the mangle table - is this assumption correct? > The shaping is done on eth0 and eth1. There is also a patch that allows > you to match packets that are passing the bridge with iptables. Br0 is > used only for trafic that is for the bridge. Eg. a machine has a route > through the ip of br0. >=20 > Bogdan Coman >=20 > On Tue, 2003-03-04 at 10:58, Abraham van der Merwe wrote: > > Hi! > >=20 > > Usually if you have a machine and traffic passes through it: > >=20 > > +-----+ > > eth0| QoS | > > -------------| box |------------- > > | |eth1 > > +-----+ > >=20 > > You can shape outgoing traffic on eth0 and eth1 effectively shaping both > > incoming/outgoing traffic. > >=20 > > With bridging and above setup you only have a single device br0 - my > > question is whether you can shape both incoming/outgoing traffic on this > > device (i would presume it is not possible) or do you need to redirect > > traffic passing through br0 to imq0 and do shaping on outgoing traffic = on > > both br0 and imq0? >=20 >=20 > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ --=20 Regards Abraham I'm not sure whether that's actually useful... -- Larry Wall in <199710011704.KAA21395@wall.org> ___________________________________________________ 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 --zhXaljGHf11kAtnf 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 iD8DBQE+ZKTM0jJV70h31dERAgg9AJ40hiLmiwuMAR+ztYpHn/Dpt56dSwCgkfwU 5GGFK3NEMSUcgZH/vjGyX9A= =80T8 -----END PGP SIGNATURE----- --zhXaljGHf11kAtnf-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/