Let suppose i have 2 ISPs(2 AS) for fail-over connection. i have one web server in DMZ. that web server using public IP from ISP1. i am worry if ISP1 is down. that public IP putting for my web server can not route through ISP2. However, LAN users will can use internet because i use VRRP function on Mikrotik for fail-over internet connection.
Two possible options that I can think of, off the top of my head:
First,
You can write a script that will check for gateway activity on MT1 / ISP1, and have it update the public address to ChangeIP or something of the kind.
Should the gateway fail, MT2 / ISP2 can be forced to update THEIR public address to the same ChangeIP account.
Second,
And Iām not too familiar with the workings, but try registering an FQDN with two DNS entries - one for each of your gateways. Round-robin DNS resolving should crudely load-balance incoming connections across your two WAN links, but Iām not entirely sure what happens in the event of failure by one of the links. More research on that is required on my part.
Iām stating these, assuming that both your Mikrotik routers are able to route incoming Port 80 traffic to your Web Server.