Displaying 1 result from an estimated 1 matches for "ext_iface_1".
Did you mean:
ext_iface_2
2006 Jul 08
0
routing multiple paths to inet
...e machines
to use one IP and half to use another IP when using SNAT to reach the
internet. Both IPs are from the same ISP, same account, just different IPs.
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 ro...