Networking Forums

Networking Forums > Computer Networking > Linux Networking > Failover router ?

Reply
Thread Tools Display Modes

Failover router ?

 
 
robert
Guest
Posts: n/a

 
      08-29-2006, 12:54 PM
Hi all,

This may be OT but I am open to the idea of building a custom linux
router if need be ... We have an application that during 8am-5pm it
cannot fail. We want to use redundancy (not a cluster) should the main
machine fail, and on failure route everything to a backup perhaps on
another subnet. The big question is would we manually have to change
the routing rules? Or can a router detect the failure and re-route
automagically? I'm googling alot for routers and what I see is for
detecting internet failure, not so much just one machine on a subnet
failure.

Any ideas?
Robert

 
Reply With Quote
 
 
 
 
Joe Beanfish
Guest
Posts: n/a

 
      08-29-2006, 05:31 PM
robert wrote:
> Hi all,
>
> This may be OT but I am open to the idea of building a custom linux
> router if need be ... We have an application that during 8am-5pm it
> cannot fail. We want to use redundancy (not a cluster) should the main
> machine fail, and on failure route everything to a backup perhaps on
> another subnet. The big question is would we manually have to change
> the routing rules? Or can a router detect the failure and re-route
> automagically? I'm googling alot for routers and what I see is for
> detecting internet failure, not so much just one machine on a subnet
> failure.


To reroute everything to a different box upon failure would require
that every client monitor the router and know how to change. What you
need to do is have the backup router monitor the main. If the main
stops responding the backup needs to take over the master's IP etc.
 
Reply With Quote
 
mathieu.geli@gmail.com
Guest
Posts: n/a

 
      08-29-2006, 07:12 PM
Hi,


> We have an application that during 8am-5pm it
> cannot fail. We want to use redundancy (not a cluster) should the main
> machine fail


you are looking for an IP failover solution.

> and on failure route everything to a backup perhaps on
> another subnet. The big question is would we manually have to change
> the routing rules? Or can a router detect the failure and re-route
> automagically?


you don't need changing routes as soon as the (virtual) gw IP will
still be seen up when one of your two routers will die...

Look at VRRP for more info.
carp/ucarp are some free userspace implementations of the latest.

--
Mathieu

 
Reply With Quote
 
ed
Guest
Posts: n/a

 
      08-30-2006, 05:27 PM
On 29 Aug 2006 05:54:37 -0700
"robert" <(E-Mail Removed)> wrote:

> This may be OT but I am open to the idea of building a custom linux
> router if need be ... We have an application that during 8am-5pm it
> cannot fail. We want to use redundancy (not a cluster) should the main
> machine fail, and on failure route everything to a backup perhaps on
> another subnet. The big question is would we manually have to change
> the routing rules? Or can a router detect the failure and re-route
> automagically? I'm googling alot for routers and what I see is for
> detecting internet failure, not so much just one machine on a subnet
> failure.


1. make two routers that are identical routing/firewall tables
2. set the internal/external ips are IPVS (IP virtual server)

If I remember the IPVS (kernel module) should be a balancing protocol
that handles failover. If not, use Linux-HA to detect the failure and
shoot the other node in the head (STONITH).

Personally I use OpenBSD/carp to do the above, it just works easier for
me, but there's no reason why one cannot do the above with the above
methods, or similar.

--
Regards, Ed :: http://www.linuxwarez.co.uk
proud unix hacker
Upon Realizing how many lives it would take to defeat the Japanese in
WWII, Gerneral McArthur sent Mr.T and Chuck Noris plane tickets to a
Anime convention in Hiroshima. I think we all know what happened
next.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Failover JC Putter Windows Networking 2 11-09-2006 05:25 AM
Broadband router with failover facility - recommendations? usenet@isbd.co.uk Home Networking 0 09-30-2004 01:31 PM
Virtual IP failover. kh teoh Linux Networking 2 04-02-2004 01:01 AM
Ethernet Failover Sadik Aral Bozkirli Linux Networking 1 10-06-2003 01:14 PM
Firewall/Router Loadbalancing/Failover Cluster - how? alex Linux Networking 0 08-11-2003 10:35 PM



1 2 3 4 5 6 7 8 9 10 11