Hello Gurus,
I have a physical server that has on it 2 NIC an 2 static IPs from 2 different ISPs.
suppose ISP1_IP and ISP2_IP
On that server I installed mdaemon server and it has an internet connectivity.
I also configured my Juniper Firewall to have a fail_safe internet on the Server and a load balancing too.
So normally if ISP1 goes down, I still have internet connectivity on the server using ISP2 ...
and vice versa.
I asked ISP1 to resolve
http://ISP1_IP to
http://mail.mycompany.com and using my Juniper I use port forwarding to get to port 3000 (WorldClient of mDaemon).
Now my problem is that if ISP1 goes down, and even though I still have internet on the server using ISP2 ...
I can not log in to Worldclient using
http://mail.mycompany.com since it is resolving to ISP1_IP.
I can of course use something else like
http://ISP2_IP:3000 to access my WorldClient ( and I tried it and it works).
But what I need is a kind of "routing" between ISP1_IP and ISP2_IP automatically.
or else the user will have always to try ...and if it doesn't work ..then he has to try the second one...
Then I came across something called BGP and it seems that this is what it does !
Can someone please explain to me the mechanism and how I should do it ?
or it is my ISP thing to do ? I called but they both said that this is not feasible !!!!
Thanks Gurus !
If you have equivalent bandwidth on both WAN1 and WAN2, then you might consider DNS round-robin. Not elegant, but it would alternate IP addresses whenever somebody hit that host name.
Otherwise, make mail1.company.tld point to WAN1, & make mail2.company.tld point to WAN2 and tell users to use 'mail2' if 'mail1' is not working.