From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Tue, 20 May 2003 19:47:03 +0000 Subject: Re: [LARTC] Shaping only the interface bandwith Message-Id: 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 On Tuesday 20 May 2003 01:01, Osgaldo Suanzes wrote: > Hi again. > > Sorry for bugging you so much! > But Im unable to add ESFQ to a HTB Class. > > #tc qdisc add dev eth1 root handle 1: htb > #tc class add dev eth1 parent 1: classid 1:1 htb rate 512kbit ceil > 512kbit burst 2k Remove the burst parameter so htb calculates the minimum burst for you. 2k is too low for burst. > #tc qdisc add dev eth1 parent 1:1 handle 10: esfq > > The last line "is" probably completly Wrong!(dont know about the > others) But I cant find an example on the net for this. I think the line is ok. Did you get any errors ? > I maybe need to add a filter, but how? and without matching Ip > addresses. If you want to put all traffic in 1:1 you can add default 1 if you add the htb qdisc. This will redirect all non-classified traffic to clas 1:1. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/