Displaying 1 result from an estimated 1 matches for "mc_gw".
Did you mean:
mc_fw
2007 Feb 16
0
problem with two default routes
...NG -s 192.168.4.0/24 -o $MC_IF -j SNAT
--to-source $MC_IP
ok, now all local ip can go to the internet but all connections go to
the second route specified in the default, whatever it is.
Here''s the default (as found on the howto):
ip route add default scope global \
nexthop via $MC_GW dev $MC_IF weight 1 \
nexthop via $TI_GW dev $TI_IF weight 1
If I reverse the position of the two nexthop then traffic from
localnet switches to the other dsl line.
Order of the iptables rules doesn''t affect the behaviour.
Am I missing something?
TIA
Francesco