Modem dial-up when route goes down (failover)

2003-02-28 Thread Stephen Corey
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

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

2003-02-28 Thread Jonathan Bartlett
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.