Unless I’ve overlooked an existing feature, I wanted to ask whether there are any plans to implement L2TP peer redundancy or failover support in MPD5?
For example, my use case involves configuring multiple L2TP peers (e.g., a primary and secondary) within a single L2TP template. The idea would be that, should the primary peer become unreachable (detected via lack of hello packets or similar mechanism), the system automatically attempts to establish a connection with the backup peer.
This kind of failover functionality would greatly improve reliability in scenarios where high availability is important, and would be especially useful for providers or systems that rely on redundant L2TP gateways.
If such a feature is not currently planned, I’d be happy to provide more details on the use case or contribute in any way I can.
Thank you for all your work on MPD5 – it's a fantastic tool.
Cheers.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Such implementation is not planned at the moment. However, you can get it with some scripting and mpd5's telnet console: use "set iface down-script" for primary peer to issue "open" command for secondary peer over telnet.
Last edit: Eugene Grosbein 2025-04-03
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I should have mentioned that I am running the complete_lac mode, apologies. Any way you could provide some insight on how / what the script would manipulate when the primary peer goes down?
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there,
Unless I’ve overlooked an existing feature, I wanted to ask whether there are any plans to implement L2TP peer redundancy or failover support in MPD5?
For example, my use case involves configuring multiple L2TP peers (e.g., a primary and secondary) within a single L2TP template. The idea would be that, should the primary peer become unreachable (detected via lack of hello packets or similar mechanism), the system automatically attempts to establish a connection with the backup peer.
This kind of failover functionality would greatly improve reliability in scenarios where high availability is important, and would be especially useful for providers or systems that rely on redundant L2TP gateways.
If such a feature is not currently planned, I’d be happy to provide more details on the use case or contribute in any way I can.
Thank you for all your work on MPD5 – it's a fantastic tool.
Cheers.
Such implementation is not planned at the moment. However, you can get it with some scripting and mpd5's telnet console: use "set iface down-script" for primary peer to issue "open" command for secondary peer over telnet.
Last edit: Eugene Grosbein 2025-04-03
Hi Eugene,
Thanks for the response. But, I am not following you 100%.
The below is dummy config just to create some context:
I should have mentioned that I am running the complete_lac mode, apologies. Any way you could provide some insight on how / what the script would manipulate when the primary peer goes down?
Thanks.