We recently added another ISP, so our system has two potential
routes to the internet. I've set up Routed and have configured
/etc/gateways using
net 0.0.0.0 gateway xx.xx.xx.1 metric 1 passive
net 0.0.0.0 gateway xx.xx.xx.1 metric 2 passive
During testing both default routes to the internet work properly from
the server; that is, if I pull the plug on one ISP pipe, I can reach the
internet through the other and vice versa.
However IP masquerading using ipchains doesn't work if the default
gateway for masquerading goes down. When that gateway is taken
down the internet is no longer reachable from workstations.
I've configured /etc/rc.d/rc.ipchains is configured using
ipchains -b -A forward -j MASQ -p all -s 10.0.0.0/8 -d 0.0.0.0/0
ipchains -A forward -j ACCEPT -p all -s xx.xx.xx.64/27 -d 0.0.0.0/0
which works until plug is pulled on one of our two default internet
gateways.
Is there an automated way to have ip masquerading change to a
new default internet gateway if one goes down?
Jerry R. Keene
Senior Systems Analyst
SCS ENGINEERS
Partners With EPA Through The Landfill Methane Outreach Program
Phone: 703.471.6150
Fax: 703.471.6676
http://www.scsengineers.com
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.