How to configure machines in a public subnet with two gateways?

Posted by Shtééf on Server Fault See other posts from Server Fault or by Shtééf
Published on 2010-06-10T10:03:16Z Indexed on 2010/06/10 10:13 UTC
Read the original article Hit count: 254

Filed under:
|
|
|
|

We have a single public /24 subnet, with a BGP router as the primary gateway. Now I'm interested in configuring a second router for redundancy.

How do I deal with multiple gateways on the servers in our public subnet?

I found some other questions related to multiple gateways that seem to deal with NAT set-ups. In my situation, the servers all have public routed IP-addresses. So from what I can tell, it doesn't really matter which route incoming or outgoing packets take.

But I figure the servers need some way of telling when one of the gateways is down, and route around it? Is this accomplished with protocols such as OSPF? And do I need to deploy this on all my servers?

© Server Fault or respective owner

Related posts about router

Related posts about gateway