From mboxrd@z Thu Jan 1 00:00:00 1970 From: Corey Hickey Date: Sun, 14 Mar 2004 08:35:23 +0000 Subject: Re: [LARTC] Setting up htb on 2.6.3 Message-Id: <4054194B.50207@fatooh.org> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Kevin Withnall wrote: > I think the kernel is fine. I received some patches and re-compiled > iproute2 on 2.4.20, moved the binaries to 2.6.3 and it works more.. > > Heres what happens now. > > #./qd > + tc qdisc del dev eth0 root > + tc qdisc del dev eth0 ingress > + tc qdisc add dev eth0 root handle 1: htb > + tc class add dev eth1 parent 1: classid 1:1 htb rate 6mbit burst 15k > RTNETLINK answers: No such file or directory > > The qdisc command works but the class one doesn't. Any ideas ? > > Thanks > That's because you switched from eth0 to eth1, in your last command. If you want to assign an htb class to eth1, you have to first assign it an htb qdisc: tc qdisc add dev eth1 root handle 1: htb tc class add dev eth1 parent 1: classid 1:1 htb rate 6mbit burst 15k -Corey _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/