All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sandro Dentella <sandro@e-den.it>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Route policy preference value
Date: Mon, 02 Aug 2004 11:12:00 +0000	[thread overview]
Message-ID: <20040802111200.GB2441@bluff> (raw)
In-Reply-To: <038701c4786f$293971b0$0100a8c0@newlife>

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/

  reply	other threads:[~2004-08-02 11:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-02  9:00 [LARTC] Route policy preference value Ming-Ching Tiew
2004-08-02 11:12 ` Sandro Dentella [this message]
2004-08-02 13:21 ` Martin A. Brown
2004-08-03  4:52 ` Ming-Ching Tiew
2004-08-03  5:41 ` Martin A. Brown
2004-08-03  5:49 ` Ming-Ching Tiew

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040802111200.GB2441@bluff \
    --to=sandro@e-den.it \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.