From mboxrd@z Thu Jan 1 00:00:00 1970 From: Abraham van der Merwe Date: Thu, 28 Nov 2002 17:59:22 +0000 Subject: Re: [LARTC] various questions about tc & htb MIME-Version: 1 Content-Type: multipart/mixed; boundary="IJpNTDwzlM2Ie8A6" Message-Id: List-Id: References: In-Reply-To: To: lartc@vger.kernel.org --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Stef! > > Hmm, lets say I want to do this: > > > > 1. shape/prioritize some subnets according to some rules > > 2. shape/prioritize some protocols according to some rules > > > > (1) should be evaluated and then the data stream should be passed on to= (2) > > and be evaluated again according to that set of criteria. is this possi= ble? > Yes, buy creating a smart htb setup. Not all of this is possible, classe= s=20 > with different parents can't share the same bandwidth : >=20 > +-- class 1 (rate 64kbit ceil 128kbit) > | +-- class 1.1 (rate 32kbit ceil 256kbit) > | +-- class 1.2 (rate 48kbit ceil 256kbit) > +-- class 2 (rate 64kbit ceil 128kbit) > +-- class 2.1 (rate 32kbit ceil 128kbit) > +-- class 2.2 (rate 32kbit ceil 128kbit) >=20 > You can not say that class 1.2 and 2.2 are sharing the same bandwidth or = they=20 > may use 64kbit together. > There is a work around. You can create multiple imq devices and redirect= the=20 > traffic to it. So you can shape on the imq device and the real device. = But=20 > it will also introduce extra delays because the packets have to travel th= ough > an extra queue. I thought about the imq, but I'm not sure how I can redirect traffic from one device to another, other than creating a bunch of different networks and then routing traffic from one to the other. Is there a better/faster way to do this? Also, isn't there a limit on the number of imq devices which you can use? --=20 Regards Abraham There is always one thing to remember: writers are always selling somebody = out. -- Joan Didion, "Slouching Towards Bethlehem" ___________________________________________________ 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 --IJpNTDwzlM2Ie8A6 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 iD8DBQE95ll50jJV70h31dERAmZZAJwNNVex0hcNgQrEW5eP3FxTdS2JXQCeKTIv TGMiGHc5GrAU1fH6ufAANg8= =8dDy -----END PGP SIGNATURE----- --IJpNTDwzlM2Ie8A6-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/