Project

General

Profile

Feature #1489

Can't configure PPPoE over VLAN

Added by Malte Stretz about 9 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Very Low
Assignee:
-
Category:
-
Target version:
-
Start date:
05/03/2011
Due date:
% Done:

0%

Estimated time:

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.

History

#1 Updated by Ermal Lu├ži about 9 years ago

  • 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.

#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.

#3 Updated by Scott Ullrich about 9 years ago

  • 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.

#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.

Cheers.

#5 Updated by Jim Pingle about 7 years ago

  • Status changed from New to Closed

Fixed on 2.1, see #1767 and 7807664d

#6 Updated by Chris Buechler almost 4 years ago

  • Target version deleted (Future)

Also available in: Atom PDF