Hi, currently have a number of ERL-3 connected to a Draytek VDSL modem. The Draytek is in bridge mode so therefore passes the public IP address over pppoe0, configured Edgerouter using one of the wizards (eth0 is Internet).
We also have eth0 set to get a DHCP address so we can log into the modem interface to view line stats etc
However, whenever we get a resync on the broadband line or a system reboot, the ERL will set a static route for all traffic to go over eth0 via the modems local IP, not pppoe0. Therefore we have to visit a site every time and manually add a static route for 0.0.0.0/0 over interface pppoe0. Sometimes the route is already there but the eth0 one is selected instead, but there's no option to disable this eth0 route, either we reboot the ERL until it selects the correct one or spend about 10 minutes waiting for it to delete the already present (but not selected) correct pppoe0 route and then wait another 10 minutes for it to commit re-adding it and automatically swapping it over.
Surely there must be a way to prevent this from happening?