public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Spoof protection with redundant routes
@ 2002-04-08 20:02 Claus Fischer
  0 siblings, 0 replies; 2+ messages in thread
From: Claus Fischer @ 2002-04-08 20:02 UTC (permalink / raw)
  To: linux-kernel


I have a box with two redundant CIPE tunnels to a
remote network 10.36.x.x.


Routing table:

Destination  Gateway      Genmask           ...      Iface
...	     		  		    
10.36.1.12   0.0.0.0      255.255.255.255   UH 0 0 0 cipcb3
10.36.1.11   0.0.0.0      255.255.255.255   UH 0 0 0 cipcb1
10.36.0.0    10.36.1.12   255.255.0.0       UG 0 0 0 cipcb3
10.36.0.0    10.36.1.11   255.255.0.0       UG 0 0 0 cipcb1
...


Now when a packet comes in from 10.36.2.2 on cipcb1, the
spoof protection kills it, since the outgoing packet would
take the route via cipcb3 which is first. I didn't quite
expect that initially.

- Is that known and by design?
- Is that the desired behaviour?
- Is there some possibility to change that?
- Do I have a choice other than to turn off rp_filter?

Claus

-- 
Claus Fischer <claus.fischer@clausfischer.com>
http://www.clausfischer.com/

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

* Re: Spoof protection with redundant routes
       [not found] <20020408220215.A1987@clausfischer.com.suse.lists.linux.kernel>
@ 2002-04-08 20:23 ` Andi Kleen
  0 siblings, 0 replies; 2+ messages in thread
From: Andi Kleen @ 2002-04-08 20:23 UTC (permalink / raw)
  To: Claus Fischer; +Cc: linux-kernel

Claus Fischer <claus.fischer@clausfischer.com> writes:

> - Is that known and by design?

Yes.

> - Is that the desired behaviour?

Yes.

> - Is there some possibility to change that?

You could define a multipath route with multiple nexthops (needs iproute2)

-Andi

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

end of thread, other threads:[~2002-04-08 20:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-08 20:02 Spoof protection with redundant routes Claus Fischer
     [not found] <20020408220215.A1987@clausfischer.com.suse.lists.linux.kernel>
2002-04-08 20:23 ` Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox