From: Stef Coene Date: Sun, 08 Feb 2004 20:57:24 +0000 Subject: Re: [LARTC] HTB - got mesage "invalid parent ID" is wrong: 1:1 Message-Id: <200402082157.24089.stef.coene@docum.org> List-Id: References: <402604E4.6040702@brn.czn.cz> In-Reply-To: <402604E4.6040702@brn.czn.cz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org On Sunday 08 February 2004 10:44, Patrick Spousta wrote: > Hi, > I have more ethernet cards. Egress shaping with HTB over eth0 works > fine, ingress shaping with HTB over IMQ works also fine, but in both of > cases I use only one class of traffic. > > Now I want to divide traffic to 3 classes on other interface (egress to > ineternal network). I try this command sequense > > tc qdisc add dev eth1 root handle 1: htb default 12 > tc class add dev eth1 parent 1: classid 1:1 htb rate 2200kbit ceil 2200kb= it > tc class add dev eth1 parent 1:1: classid 1:10 htb rate 1816kbit ceil > 2200kbit You have a 1:1: as parent, it should be 1:1. Stef --=20 stef.coene@docum.org =A0"Using Linux as bandwidth manager" =A0 =A0 =A0http://www.docum.org/ =A0 =A0 =A0#lartc @ irc.openprojects.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/