From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?=D8ystein_L=F8k=E5s=3B_NTNU=3B_H01?= Date: Thu, 06 Dec 2001 08:23:39 +0000 Subject: Re: [LARTC] HTB and diff.serv Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org On Thu, 6 Dec 2001, =D8ystein L=F8k=E5s wrote: >=20 > > But I ran into problems when I tried to implement the AF classes. To do > > this, I map each AF class to one HTB class. Now I need to attach a GRED > > queue to each of the HTB classes to implement the drop preferences. But > > GRED needs the skb->tcindex field from the dsmark qdisc to select the > > correct virtual queue. So I configured dsmark as the root qdisc, and HT= B inside this. But now I can't > > use filters inside the HTB qdisc, because it is an internal qdisc. >=20 > There is nothing which should you prevent from using filters > with internal (non root) qdisc .. >=20 > What problem are you experiencing ? >=20 > devik >=20 Hmm.. maybe I'm wrong. I tried this yesterday afternoon, and got a RTNETLINK error message. I think it was "no such file or directory". Then I thought I remembered reading in your documentation that filters couldn't be attached to internal htb qdisc, so I tried to use the same setup with CBQ classes, and that worked.=20 But if you say it can be done, I will take another good look at my code and try again. I would certainly like to be able to use HTB for this purpose, because it has given me great results with link-sharing so far. Thanks for a good and easy to use qdisc..;-) =D8ystein L=F8k=E5s _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Rout= ing/