My MT L2TP server has tho different ip addresses from different ISP
How can the second ip address be used as failover from MT L2TP client ?
My MT L2TP server has tho different ip addresses from different ISP
How can the second ip address be used as failover from MT L2TP client ?
These addresses are in different subnets or in same?
Completely different subnets.
However, I found a simple workaround:
Since recent Ros versions, hostnames are allowed as L2TP client target, I’ve set an arbitrary domain name pointing to both addresses :
/ip dns static
add address=<ISP1_public_address> name=myl2tpserver.fail
add address=<ISP2_public_address> name=myl2tpserver.fail
/interface l2tp-client
connect-to=myl2tpserver.fail .............
It seems working correctly
A problem could be switching back to ISP1 once connectivity has been restored, not a great problem for my needs however…
Any other suggestion or lack in this ?
We have the same thing here at work and it works OK. But we just a DNS server on internet (hostname under our domain).
It then automatically distributes the load over 2 lines and when one of them is down, the users all move to the remaining working address.
Make sure your DNS offers “rotation” i.e. when you query the same name a couple of times you get the 2 addresses “swapped”. Most DNS services do this OK.