Dear Mikrotik Geeks; Hi! I have a question that maybe many of you know about its answer, but i really could not find it. so i go here for asking it:
Consider we have 2 WAN and 1 LAN Interface in our Mikrotik as the bellow:
Int name Mikrotik IP Address Modem IP
-----------------------------------------------------------------------------------------------------------
WAN#1 (To-ISP 1): 192.168.1.1/24 -------> 192.168.1.254/24 (Modem PPOE) ISP#1 *(Public IP also Automatically Assigned by DHCP From ISP1)
WAN#2 (To-ISP 2): 192.168.2.1/24 -------> 192.168.2.254/24 (Modem PPOE) ISP#2 *(Public IP also Automatically Assigned by DHCP From ISP2)
LAN :192.168.10.1/24
what we want is to prepare a method for routing through main and backup ISP interface as act Fail-Over Automatically base on specific condition.
For example: Set Default route to ISP#1, Check ping "www.yahoo.com", IF it is not reachable through ISP#1, Then switch default route through the next (ISP#2).
I also read Mikrotik simple fail-over article but it seems that this is not useful much in this case in fact. because check-gateway using ping in this method always answer successfully but maybe without any internet access. also it seems that's because of all of our IP is internal and we didn't put any public IP directly in our interface. (if we put public IP, the solution is completely OK)
Thanks for your attention.