Re: u32 filter question

Linux Advanced Routing and Traffic Control

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

 



On Friday 20 September 2002 19:23,  Tobias Geiger wrote:
> Hi,
>
> try to give the more specific filter a higher prio. if i understood "tc
> filter" right, the filters with higher prio are checked first.
But that's only for filters with the same parent.  So it will work in this 
case.  Or you enter the filters in the order they have to be checked :

tc filter add dev eth1 protocol ip parent 1:0 prio 1 u32 match ip src 
yyy.yyy.yyy.yyy/yy match ip dst xxx.xxx.xxx.xxx/xx flowid 1:40 

tc filter add dev eth1 protocol ip parent 1:0 prio 1 u32 match ip dst 
xxx.xxx.xxx.xxx.xx flowid 1:21 

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/


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