basically our setup is as follows:
Code:
internet
|
|
LinuxRouter
|
|
__________|__________
Subnet 192.168.1.0/24 | |
Router1 Router2
| |
| |
|_____________________|
|
|
Workstation Subnet 192.168.2.0/24
Router 1 and 2 route from the workstation subnet out to the LinuxRouter fine, and all the traffic comes back via router1, as thats the default gateway for the linuxrouter interface on that subnet.
There are 2 different gateways set on the LinuxRouter, router1(192.168.1.100, metric 1) and router2(192.168.1.102, metric 2). When router1 (The default) goes down, the LinuxRouter is no longer able to route packets to the workstation subnet. Is there a way to detect that either of the gateways has gone down, to switch to the other? Via a script/program of somesorts?
Joel