Displaying 1 result from an estimated 1 matches for "ext_ip_1".
Did you mean:
ext_ip1
2006 Jul 08
0
routing multiple paths to inet
...y for a small lan, I want half the 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_N...