[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Modem dial-up when route goes down (failover)



I would write a bash script that would ping the gateway, and if it fails 3
times in a row (check the return code of ping), ifdown the main interface
and ifup the ppp interface.  You would have to manually fail it back over,
however, so you probably want it to email you after the ifup is complete.

Jon

On Fri, 28 Feb 2003, Stephen Corey wrote:

>
> I want to setup my RH 7.3 box so if my main route to the Internet goes down, the system will dial the Internet with a modem and use that as the primary route. How would I do that? I've heard someone say they've done that with using OSPF, but I don't have all the details. I basically need it to dial when I'm unable to contact my default gateway (which would usually mean the WAN link is down). Thanks!
>
> Stephen Corey
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, and more





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]