Really strange interface behavior

coderman coderman at gmail.com
Mon Feb 5 04:42:48 UTC 2007


On 2/4/07, coderman <coderman at gmail.com> wrote:
> ...
> you can maybe fix via iproute2 and policy based routing (may also need
> netfilter hooks).

for the sake of completeness:
gw1 = 216.9.65.1
gw2 = 216.9.100.1

ip route add default via 216.9.65.1 dev eth0 tab 1
ip route add default via 216.9.100.1 dev eth1 tab 2

ip rule add from 216.9.65.50/32 tab 1 priority 500
ip rule add from 216.9.100.100/32 tab 2 priority 501

ip route flush cache

may do the trick.  (if you've got the same default router IP for both,
then use it instead of two distinct as shown above).

good luck,

#include <std_disclaimer>



More information about the tor-talk mailing list