Dear all,

I have a server running on Centos 6. My problem is how to enable two public IP such that when one ISP is down, then it automatically picks up the other IP from another ISP,thus resolving same domain name automatically without affecting access.

Regards.

You can't use 2 public IPs like that since the server can only have 1 gateway at a time without some type of failover mechanism or a router with that filover mechanism.

Best bet for HA is to use 2 servers running same code and use a DNS round robin, Dynect, or some other dns load balancer to sene traffic both ways.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.