Displaying 1 result from an estimated 1 matches for "interface_2_subnet".
Did you mean:
interface_1_subnet
2005 Jun 22
0
multi-interface problems
...1 table T1
ip route flush table T2
ip rule del from $INTERFACE_2_IP table T2
ip rule del fwmark 2 table T2
# Additional Routing tables
ip route add $INTERFACE_1_SUBNET dev eth0 src $INTERFACE_1_IP table
T1
ip route add default via $INTERFACE_1_GATEWAY table T1
ip route add $INTERFACE_2_SUBNET dev eth1 src $INTERFACE_2_IP table
T2
ip route add default via $INTERFACE_2_GATEWAY table T2
# Main routing table
ip route add $INTERFACE_1_SUBNET dev eth0 src $INTERFACE_1_IP
ip route add $INTERFACE_2_SUBNET dev eth1 src $INTERFACE_2_IP
# Routing rules
ip rule add from $IN...