Greetings all,
I have two dsl links wan links on my routerboard. both dsl modems are configured in Bridge mode and dialing is being done by pppoe-client from RB by pppoe-out1 and pppoe-out2.
I have configured a WAN monitor script which monitor Primary wan link by ping to 8.8.8.8. I have create fixed route in IP / ROUTE for 8.8.8.8 to always go via pppoe-out1, but when as soon as pppoe-out1 dialer disconnects, the ping to 8.8.8.8 works from pppoe-out2. in route I can even see that pppoe-out1 is Unreachable but still ping works probably from out2.
So how i FORCE 8.8.8.8 to always go from pppoe-out1 no matter what, if out1 is not working then it should give TIME out so that my monitor script should work fine.
@ronix
when i run traceroute from mikrotik using both wan links, i see same gateway because Both wan links are from the same ISP thus have same gateway as well. so what to do now?
This will affect client traffic as well, unless you narrow it down with a src-address as well, but it is a way to force that destination to only ever use ppoe-out1. Otherwise what happens is if there is no active routes for ppoe-out1 is the routing lookup falls through to the main routing table.
If I understand what you’re trying to do, maybe you could add a blackhole route for the same destination with a higher distance. When the lower distance one becomes unreachable, the blackhole route will become active. For example: