Dial-on-demand PPPoE

Further to my prior L2TP exploration (see L2TP Client for LTE failover/etc ), I’ve added a wee PPPoE BRAS to my network to receive a PPPoE connection and relay it to the L2TP server from my ISP.

This mostly works, and the bits that don’t work are my fault, not Alta’s!

However: when the PPPoE/L2TP connection is active, my ISP preferentially routes return packets down the L2TP tunnel making the assumption that I’ve failed over to L2TP.

I would like a config option where I can dial-on-demand the PPPoE connection on a “lesser” WAN when my primary WAN is failing to ping / is otherwise unhappy.

(Once this all works as expected I’ll take some pretty pictures and do a writeup!)