Feature #1489
closed
Can't configure PPPoE over VLAN
Added by Malte Stretz almost 15 years ago.
Updated over 9 years ago.
Description
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.
- Status changed from New to Closed
Its the way it works for now.
So please assign your vlan and choose the assigned interface as parent.
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.
- Status changed from Closed to New
- Priority changed from Normal to Very Low
- Target version changed from 2.0 to Future
Marking item as future as this is a legitimate problem.
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.
Cheers.
- Status changed from New to Closed
Fixed on 2.1, see #1767 and commit:7807664d
- Target version deleted (
Future)
Also available in: Atom
PDF