Re: Route policy preference value

Linux Advanced Routing and Traffic Control

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

 



On Mon, Aug 02, 2004 at 05:00:30PM +0800, Ming-Ching Tiew wrote:
> 
> Assuming if I have rules matching the same packet,
> the one chosen is the lower preference value or
> the high ?
> 
> For example 
> 
> # ip rule list
> 
> ....
> 100 from  192.168.1.0/24 lookup main
> 200 from all fwmark 5 lookup first
> .....
> 

for what I have understood is the lower, beware as pointed out to me from
Martin Brown that failing a matching *route* from rule 100 it will look for
the route in next matching *rule*. In my case I didn't defined default
route, but packets passed since arrived to get the one defined in main
table.

sandro
*:-)
-- 
Sandro Dentella  *:-)
e-mail: sandro@xxxxxxxx 
http://www.tksql.org                    TkSQL Home page - My GPL work
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
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