First, let me apologize. I have an issue with PPTP static routes and I’m not sure how to phrase it to search for a solution. If the solution exist somewhere else please, by all means, point me to it!
I have a network of stores that all use MT routers running RouterOS v5.14
I have the router at our main office setup as a PPTP server and the routers at the stores connect back as PPTP clients over the ADSL connection.
I have setup static routes in our main store router so that I can access the networks at the stores over the PPTP link. However, when the ADSL connection hiccups the PPTP link drops and a few minutes later comes back up. But by then I’m already suffering form the blight of the “(unknown)” gateway. At that point I have to change the gateway back to the proper pptp connection to once again be able to access the store
/ip route
add disabled=no distance=1 dst-address=10.15.1.0/24 gateway=<pptp-site1> scope=30 target-scope=10
add disabled=no distance=1 dst-address=10.15.3.0/24 gateway=<pptp-site3> scope=30 target-scope=10
add disabled=no distance=1 dst-address=10.15.5.0/24 gateway="(unknown)" scope=30 target-scope=10
What can I do to keep the gateway for these routes from changing to “(unknown)” when the PPTP link drops off?
Thanks in advance!