Skip to contentSkip to conversation

Spoof protection with redundant routes

DISCUSSION Claus Fischer 1 participant 1 message Apr 8, 2002

lore
Share & tools
lore
#0 lore raw

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

Signature · 2 lines
Claus Fischer <[email protected]>
http://www.clausfischer.com/