From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Thu, 12 Jun 2003 20:54:13 +0000 Subject: Re: [LARTC] htb problem 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 Thursday 12 June 2003 21:46, Esteban wrote: > Stef! please explain me this: > When i use traffic shaper, i apply the root to the innterface i want to > controll the packets that are leaving right? Yes. > The sum of classes "should" > not be greater than the root one. > Supossing i have 2 nics. One for internal (eth1) and other for internet > (eth0). i can mangle packets: > -t mangle -I PREROUTING -i eth1 -j MARK --set-mark 1 > > and then filter them all on the eth0 device with: > tc filter add dev $DEV protocol ip parent 1:0 prio 1 handle 0x1 fw flowid > 1:20 is this okay? Yes. > Cause for me, is not working. > jeje..i see packets accounting on the right class, but they dont go to the > speed i want (i see that in that class are much packets "lended")..that > might be that that class is asking for BW to greater classes? if you can > would be a great help to clear out this doubts! So your filters are working. The lended packets are not important. For your htb setup, have you read the docs I collected on www.docum.org ? 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/