From: Joe Buehler <aspam@cox.net>
To: Chris Friesen <chris.friesen@genband.com>
Cc: netdev@vger.kernel.org
Subject: Re: source route ignored in favor of local interface
Date: Tue, 01 Mar 2011 14:31:58 -0500 [thread overview]
Message-ID: <4D6D49AE.2030303@cox.net> (raw)
In-Reply-To: <4D6D4370.5040308@genband.com>
> If you really want to modify things, have you looked at your ip rules?
> "ip ru" will dump them. Typically it looks something like
>
> 0: from all lookup local
> 32766: from all lookup main
> 32767: from all lookup default
>
> The last item in each row is the name of the routing table. As you can
> see, the first rule is for local interfaces, and a later rule deals with
> the main and default routing tables.
>
> You could move the local lookup to rule 1 and add in a new rule 0
> specifically dealing with your situation.
We have tried some variations on modifications to ip rules, but the
kernel appears to treat rule 0 specially -- it cannot be deleted, for
example. This results in the enforcing of local interfaces before
source routes -- surely something that should be a policy decision, not
hard-coded.
Let me rephrase and ask: Does anyone know how to replace the priority 0
rule?
Joe Buehler
next prev parent reply other threads:[~2011-03-01 19:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-01 14:57 source route ignored in favor of local interface Joe Buehler
2011-03-01 19:05 ` Chris Friesen
2011-03-01 19:31 ` Joe Buehler [this message]
2011-03-02 18:55 ` Ben Greear
2011-06-09 16:27 ` Joe Buehler
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=4D6D49AE.2030303@cox.net \
--to=aspam@cox.net \
--cc=chris.friesen@genband.com \
--cc=netdev@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.