fire-eyes wrote:
> 
> I'm looking for suggestions on software which could do the following 1)
> if our primary gateway goes down, do nothing 2) if it does go down,
> change the default gateway to line B 3) when the primary comes back, set
> the gateway back to B. I have two physical interfaces and one alias.

Hi again

I did something similar on a RedHat system with modems hooked up to
different telcos and ISPs some years ago.  I no longer have the scripts
to hand, but they were similar in consept to the example posted to this
list under the thread 'Load Balancing / Redundant Network ?' today.

I think I just set the default route off of the box, which in my case
brought up the second PPP connection.  I had one script constantly
checking the status of the primary PPP line and one checking the status
of the active line.

The primary monitor would test the line every five minutes and switch
to/from the secondary as necessary.  There were some rules to not switch
every five minutes in case the primary line was having a bout of
intermittent problems.  I think I left the secondary up for at least 30
minutes if ever it was switched to.

The active monitor reported loss of the currently active line and what
it was doing about it, especially if it was the secondard i/f and the
primary was still flagged as failing.

Is that the sort of thing you're looking for or do you need a 'proper'
package?

IanC
-- 
[email protected] mailing list

Reply via email to