Hi!
I have configured my mikrotik HAP like this:
eth1 → WAN1 (dedicated 40mb connection) 188.XX.XXX.26/30
eth2 → WAN2 (PPPoE 500mb connection)
Eth4 → IP 192.168.10.1/24
ETH1, ETH2 has 1-1 masq firewall rule.
ETH1-> has a route 0.0.0.0 188.XX.XXX.25
ETH2-> default route with pppoe
on our pfsense firewall, I am using the 192.168.10.1 as a gateway, so our traffic goes into the ETH4 port and than I prefer the Master ETH2 (WAN2) to connect to the internet.
I have added the ETH1 dedicated WAN to the config.
But if anything goes wrong with the ETH2, it should be use the ETH1, if ETH2 is back again, than it should use it again.
At this time it detects only port failure, so If I unplug the WAN1 / WAN2 it detects it and after 3 timeout I have agein connection… But how can I validate the connection?
I need some kind of script to detect the port has internet connection or not? Maybe ping 8.8.8.8? And than how can I set which connection is the master and which is the slave?
Or how should I make this? I have read many threads about, but it wasnt that helpfull.
Thanks.