Can't configure PPPoE over VLAN
I currently have to run a PPPoE link over a 802.1Q tagged VLAN (don't ask...). When I go to [[http://10.49.1.1/interfaces_ppps_edit.php?id=0]], I can't choose the previously defined VLAN.
I manually edited the config.xml and changed the value to
rl1_vlan2 and after a reboot it works fine.
Not sure if this is a bug or a feature, but it should be relatively easy to fix.
P.S.: On that page I can select the already configured interfaces (wan, opt1, etc.) though. I can't imagine a valid reason why I should be able to put PPPoE on an already configured interface. Except... maybe I could have set up an unconfigured WAN0 on the VLAN and configured WAN to use that... or better not, that makes my head hurt.
#2 Updated by Malte Stretz about 9 years ago
I'm confused. You write "for now" though close this bug. Does that mean forever? I had a look at the code and with some refactoring eg. of the code in interfaces_assign into a helper function in util.inc it shouldn't be too hard to accomplish this. I could whip up a patch if there is any interest.
#4 Updated by Marcus Brown about 9 years ago
Howdy Mr. Stretz,
It is possible to do what you want without changing code, but it requires an extra step.
You can assign your rl1_vlan2 interface to OPT4 (or whatever number is available), and then, choose OPT4 as the "Link Interface" in the PPP edit screen. It's one level of indirection, but it allows the code to not have to know about every single interface type directly.