search for: mc_ip

Displaying 1 result from an estimated 1 matches for "mc_ip".

Did you mean: dc_ip
2007 Feb 16
0
problem with two default routes
...g default gw. It works fine for connections originating locally on the gw machine. Then I added two iptables rules on the nat table: iptables -t nat -A POSTROUTING -s 192.168.4.0/24 -o $TI_IF -j SNAT --to-source $TI_IP iptables -t nat -A POSTROUTING -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 de...