I think i have read a lot of posts about failovers, multiwans,… but have not found any relating my issue.
I have 2 ISPs , first (ISP1) is through dsl , there is modem tplink that is pingable from internet, he has local IP-A , and running dhcp server. Mikrotik has dhcp client, requests IP and everything is fine, route 0.0.0.0 has priority 0
However ISP2 needs to set Public IP-B directly on mikrotik. So Ether3 has this IP with prioroty 1. In case of failure of ISP1 , mikrotik switches to ISP2 and traffic goes on. When ISP1 is back online, mikrotik switches back to this provider.
My problem is that Public IP-B is not pingable from internet, until priority is lower than DHCP Client (switch script from netwatch will increase priority of dhcp client default route if ip address that it monitors becomes unavailable through ISP1)
Is there any workaround for this ? I think its bug, if I set an IP on eth i want it to be pingable regardless of the priority of the other ethernet ports and their ip addresses.
You will need to configure correct mangle for multi-wan, to use a correct route for correct packets.
Here is a presentation that should tell you how. You can ignore the load-balancing part. http://tiktube.com/video/DofH3iFnjDJomGEoIDFqnrquKlEoLqHq=
great example, and on another mikrotik with 2 and more static “wan” ip addresses on diff ethernets it works (this is mine for example (eth2_to_wlan1 is bridge which is bridging internal network with wifi) :
I have read the presentation and dont see the difference in my example and presentation
but the question still stays, why (slightly modified rules (ip addressed only)) do not work on connection where wan1 is private dhcp client address , and wan2 is static public address.
edit:
This is the setup that is not working (for example) i think there is everything set up right (of course there are few “disabled” things so dont mind them)