From: fourcentsshy Date: Tue, 19 Sep 2006 18:47:27 +0000 Subject: Re: [LARTC] tc is giving an error: RTNETLINK answers: File exists Message-Id: <1158691647.7707.18.camel@glyph.velotech.net> List-Id: References: <1158272090.7705.25.camel@glyph.velotech.net> In-Reply-To: <1158272090.7705.25.camel@glyph.velotech.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org I've solved the problem. It turns out tc didn't like the sequence the commands were in. The script was set up to create a qdisc for each customer and attach a rate limiting class to it. It looked like this: 1: root qdisk | 1:1 child class /|\ / | \ / | \ / | \ 1:76 1:77 1:78... customer qdiscs | | | 76: 77: 78: rate limiting classes /|\ ... / | \ / | \ / | \ 76:1 76:2 76:3 child classes to handle load balancing My bad. It should have looked like this: 1: root qdisk | 1:1 child class /|\ / | \ / | \ / | \ 1:76 1:77 1:78... customer rate limiting classes | | | 76: 77: 78: customer qdiscs /|\ ... / | \ / | \ / | \ 76:1 76:2 76:3 child classes to handle load balancing I had rewritten the script to use HTBs, yet the same error occured. That's when I noticed the problem with the handles. switching the 2 commands fixed it. _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc