Re: [LARTC] htb problem

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux