Situation:
Balance router 2 WAN ports IN (MikroTik RB951G-2HnD), respectively, 2 interfaces are created to work with each provider, while we have 2 static IPs attached essentially to one device.
At the same time, it is necessary to have a constantly raised pppd tunnel to drain VoIP traffic through it in order to ensure work within corporate telephony in different segments of the (geographically) enterprise.
Question-problem-problem:
If the tunnel is routed through one of the providers (for example, 1), then the tunnel will also “fall” during the “fall” of this provider.
Attention question:
Is it possible to automatically force the router itself, or somehow programmatically determine the tunnel / channel drop (through which the tunnel is thrown) and re-create the tunnel through the active (remaining working) Internet channel (provider 2)?
Thank you if you help / tell me what is essentially.