From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sandro Dentella Date: Mon, 02 Aug 2004 11:12:00 +0000 Subject: Re: [LARTC] Route policy preference value Message-Id: <20040802111200.GB2441@bluff> List-Id: References: <038701c4786f$293971b0$0100a8c0@newlife> In-Reply-To: <038701c4786f$293971b0$0100a8c0@newlife> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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@e-den.it http://www.tksql.org TkSQL Home page - My GPL work _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/