
Thanks rsohan and the rest for your quick contributions. --- On Thu, 4/29/10, rsohan@gmail.com <rsohan@gmail.com> wrote: From: rsohan@gmail.com <rsohan@gmail.com> Subject: Re: [Skunkworks] Linux Failover To: "Skunkworks Mailing List" <skunkworks@lists.my.co.ke> Date: Thursday, April 29, 2010, 12:48 AM Pretty straightforward. assuming the linux box is connected to ISPA through eth0 and ISPB through eth1 route add default gw ISPAIPADDR dev eth0route add default gw ISPBIPADDR dev eth1 this will route everything through eth0 until it goes down and then switch to eth1. The time taken for the kernel to declare a route inactive is, by default 300 seconds. You can modify this to , for example 60 seconds by modifying the gc_timeout in the routes subsystem i.e. echo 60 > /proc/sys/net/ipv4/route/gc_timeout On Wed, Apr 28, 2010 at 4:12 PM, i.G <i.georg@yahoo.com> wrote: Skunks/ettes, Good evening. Has any of you implemented failover on linux. The setup is as follows, I have a linux box running a redhat distro..or any other distro, 3 network cards. One network card is the LAN IP say 192.168.1.1, the other 2 connect to the ISP..failover is between the 2 ISP links. How do you track such that you use ISP A and failover to ISP B when A has a problem. Please note I don't want to load balance, Only one link at a time should be used. Looking forward to your responses. Kind regards, George. _______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Server donations spreadsheet http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1f... ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke -----Inline Attachment Follows----- _______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Server donations spreadsheet http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1f... ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke