Hi All,
I have two mikrotiks in this example: Head office and branch office. The branch office establishes a pptp connection to the head office. On the head office router I have a static route stating that to get to 10.5.5.10 (in branch office) use branch office pptp vpn connection. This works fine. Unfortunately when the branch office internet connection is affected/drops out and the pptp vpn connection goes down, the static route in the HQ mikrotik becomes invalid. The gateway becomes unreachable and even when the vpn from branch office to HQ comes up again, the static route in HQ mikrotik doesn't come back, it stays down. I have to go in and re-select the vpn gateway to make that static route work again.
How would you guys deal with this? Have a script that keeps checking the gateway and if it's up keep recreating the static route (in case it went down) or is there a smarter way to handle a flaky connection and maintain this static route to the branch office?
Thanks guys.