DGD of upstream routers

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux