Displaying 1 result from an estimated 1 matches for "lan_net_serv".
2006 Jul 08
0
routing multiple paths to inet
...Ps.
Heres what I''m trying:
------------------
LAN_IP="10.0.0.1"
LAN_IFACE="eth0"
EXT_IP_1="x.y.246.186"
EXT_IFACE_1="eth1"
EXT_IP_2="x.y.246.187"
EXT_IFACE_2="eth2"
INET_GW="x.y.246.254"
LAN_NET="10.0.0.0/16"
LAN_NET_SERVERS="10.0.0.0/24"
ip route flush table main
ip route flush table servers
ip rule add from $LAN_NET_SERVERS table servers
# First route
ip route add $INET_NET dev $EXT_IFACE_2
ip route add default via $INET_GW dev $EXT_IFACE_2
# Second route, seems similar to the first but doesn’t work...