netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* source route ignored in favor of local interface
@ 2011-03-01 14:57 Joe Buehler
  2011-03-01 19:05 ` Chris Friesen
  0 siblings, 1 reply; 5+ messages in thread
From: Joe Buehler @ 2011-03-01 14:57 UTC (permalink / raw)
  To: netdev

I have a LINUX box talking on many different networks at the same time.  Since
IP addresses on the networks can overlap (they are completely different
networks) we use source routing and NAT to get packets going in and out of the
right interfaces.

Everything works great, with one exception.  If I try to talk to a remote host
that happens to have the same IP address as one of my interfaces, the kernel
routes the packet to the local interface.

It looks to me as though the problem is that the source routes are lower
priority than the local interfaces.  As soon as the kernel sees a destination
address that matches a local interface it routes to the local interface and pays
no attention to the source route.

I consider this a bug.  Is there any way to change this behavior?

The kernel involved is 2.6.27.7, with patches from Cavium for support of their
hardware.

Joe Buehler



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-06-09 16:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2011-03-02 18:55     ` Ben Greear
2011-06-09 16:27       ` Joe Buehler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).