Project

General

Profile

Actions

Feature #1489

closed

Can't configure PPPoE over VLAN

Added by Malte Stretz almost 13 years ago. Updated almost 8 years ago.

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

0%

Estimated time:
Plus Target Version:
Release Notes:

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.

Actions #1

Updated by Ermal Luçi almost 13 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.

Actions #2

Updated by Malte Stretz almost 13 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.

Actions #3

Updated by Scott Ullrich almost 13 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.

Actions #4

Updated by Marcus Brown almost 13 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.

Actions #5

Updated by Jim Pingle almost 11 years ago

  • Status changed from New to Closed

Fixed on 2.1, see #1767 and 7807664d

Actions #6

Updated by Chris Buechler almost 8 years ago

  • Target version deleted (Future)
Actions

Also available in: Atom PDF