failover routing
Hello,
I have a question about failover routing,
I have a leased line with IP eg. 200.15.110.91, I would like to setup a failover connection over ADSL, I have a static IP eg. 61.16.130.97. The, default gateway for leased line is eg. 200.15.110.90, the default gw for ADSL connection is eg. 61.16.130.97.
I know I have to modify proc/sys/net/ipv4/route/gc_timeout and set the value from 300 to smaller value eg. 10 - 15, and add defualt route, but I have a problem, when my primary internet connection is lost, the gateway eg. 200.15.110.90 is still reachable with ping, the problem is that ISP has another router behind this gateway, which stops responding from time to time, so I have to check not if the default gw eg. 200.15.110.90 is down or not reachable. I have to check if the next hope is not accesible or. another IP eg. 217.239.37.62 that is 3 or 4 hops away is not reachable.
Can somebody help mi how to solve this problem
Thanks for you answer
Last edited by firsttux; 01-24-2006 at 02:53 PM.
|