Skip to contentSkip to conversation

DNAT for two external NIC

DISCUSSION Mikhail 1 participant 1 message Sep 1, 2006

lore
Share & tools
lore

Mikhail

author
#0 lore raw
Quoted 4 lines · Pascal Hambourg

Maybe you need to disable rp_filter (reverse path filtering) on the interface that has not the default route.

sysctl -w net/ipv4/conf/eth2/rp_filter=0

You're absolutely right; it requires that non- default interface had it set to 0 if I want to do source-based routing. It is working like a charm now, thank you.

Mikhail.