[LARTC] DGD of upstream routers

Chris Picton chrisp at tangent.co.za
Thu Mar 8 17:48:39 CET 2007


Hi

I have read various info, and mailing list archives, but have not found 
an answer to the following.

I have a few servers with configurations similar to the following:

They each have multiple uplinks to the Internet, and a sample config is 
as follows:

eth1 is 192.168.0.1, connected to 192.168.0.2
eth2 is 192.168.1.1, connected to 192.168.1.2

My default route looks like:
ip route add scope global equalize nexthop via 192.168.0.2 dev eth1 \ 
weight 1 nexthop via 192.168.1.2 dev eth2 weight 1

If one line goes down, I would like the second to be used exclusively 
until the first comes back up

However, the IPs 192.168.0.2 and 192.168.1.2 are always available and 
reachable.   It is the connection past those devices which may drop.

Do any of the available options or patches take this into account, or do 
I have to write custom ping scripts to try reach remote hosts via each 
gateway, and modify the routes if a line appears to be down.




More information about the LARTC mailing list