On Tue, 12 Jun 2001, Kenneth Hadley wrote:

> Is there a program that alows floating default gateways for NIC's under
> Linux
> Example
> NIC 1 goes to ISP1
> NIC 2 goes to ISP2
> ISP1 is the default gateway
> ISP1 gateway goes down
> system automatically switches to ISP2 gateway
> ISP1 gateway works again
> system automatically switches back to ISP1 gateway

I've attached a quick-n-dirty(sm) script that's close to what you
want.  Just add the necessary commands to the _up and _down functions.
BTW, I wrote this against the ping output from my RH6.2 box and forgot to
verify that against my LRP box.

John

ptst.sh

Reply via email to