[plug] Routing question
Matt Kemner
zombie at wasp.net.au
Fri Nov 3 09:30:42 WST 2000
On Thu, 2 Nov 2000, Paul Day wrote:
> Is there an easy fix to this? ie, something along the lines of: "If an
> incoming connection is amde on ppp0, reply via ppp0 even if we have a
> route with a better metric out ppp1."
Yes, policy routing will do what you want.
ip rule add from $ppp0_IP table 1
ip route add 0/0 table 1 dev gre1
replace $ppp0_IP with the IP address on ppp0
- Matt
More information about the plug
mailing list