Failover IP router

Steven Buehler steve at ibushost.com
Tue Nov 27 21:15:47 UTC 2007


I have been googleing for this, but can't seem to find the right answer.
What I am trying to do is to create a failover router on a redhat box.
1.  website.com will be on 2 servers
2.  website.com has one IP address
3.  redhat box router will have the 1 IP address for website.com on it.
4.  website.com server1 will be on 192.168.1.10
5.  website.com server2 will be on 192.168.1.11
6.  If website.com server1 fails, website.com server2 will take over.

We are not worried about cookies that have been set on server1 to be moved
to server2.  We are just worried about the second machine taking over.  What
would be better is if it could be a load balancing setup so that it will use
both servers, but if one fails, people will not notice it because the other
server will then be taking all of the requests.

I have googled for "Linux failover iptables router" and a few other
combinations of words, but what I keep finding is failover for the outbound
connections.  Having 3 Nic cards 1 going to one ISP, 1 going to another ISP
and one going to the internal network.  Maybe I am just using the wrong
wording.  Any url links for instructions would be appreciated.

Thank You
Steve




More information about the redhat-list mailing list