From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Gazeley Date: Mon, 30 Jul 2007 13:58:00 +0000 Subject: [LARTC] Re: tc n00b Message-Id: <46ADEE68.70501@bristol.ac.uk> List-Id: References: <20070730121432.GB30519@toroid.org> In-Reply-To: <20070730121432.GB30519@toroid.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org As far as I'm concerned, it doesn't matter what I use, so long as I get the result - I just need to have each user alloted a certain upload and download speed. Nothing too fancy. I tried switching to HTB. I amended my commands but I don't know if my kernel supports it. I've got CentOS 5.0 with kernel 2.6.18 but I now get errors like these: 137.222.235.125 RTNETLINK answers: No such file or directory RTNETLINK answers: Invalid argument We have an error talking to the kernel RTNETLINK answers: No such file or directory RTNETLINK answers: Invalid argument We have an error talking to the kernel Any clues? (Sorry to ask so many favours, and thanks for your time) Jonathan Abhijit Menon-Sen wrote: > At 2007-07-30 14:36:03 +0100, jonathan.gazeley@bristol.ac.uk wrote: > >> 137.222.235.125 >> Error: Qdisc "tbf" is classless. >> Error: Qdisc "tbf" is classless. >> > > One of these is from the $LAN line, and one from the $WAN one, right? > > >> Any ideas what's broken? I'm not so hot on classful queueing >> disciplines! >> > > It's not really clear to me what you want, but I'm guessing you want to > add a CBQ (not TBF) class, and then add a TBF qdisc (with tc qdisc add) > under that class. But I don't know why you would want to do that. > > (I'd recommend using HTB instead of CBQ, and attaching a prio qdisc to > each HTB class.) > > -- ams > -- ------------------------ Jonathan Gazeley Wireless & VPN Team Information Systems & Computing University of Bristol ------------------------ _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc