OPNsense Forum

Archive => 22.1 Legacy Series => Topic started by: csk4l3 on July 17, 2022, 01:01:21 AM

Title: PPPOeE interface does not get created
Post by: csk4l3 on July 17, 2022, 01:01:21 AM
Hi everyone,

I am attempting to create a PPPoE connection as follows:

I have a DSL modem connected to port igb0. The modem is running in bridge mode. Interface igb0 has a static IPv4 address for modem management.

I created a VLAN (VLAN 7) on interface igb0 since the ISP (Deutsche Telekom) tags the traffic on their DSL services. I then created a pppoe0 interface with my credentials using vlan0 but when I finally try to assign my pppoe0 configuration to an interface I always get the following error message:

"The interface "pppoe0" does not exist. Make sure to apply its configuration first."

Has anyone seen this before? Or better yet does anyone know how to fix this?
Title: Re: PPPOeE interface does not get created
Post by: netnut on July 17, 2022, 01:44:14 AM
Quote from: csk4l3 on July 17, 2022, 01:01:21 AM
I created a VLAN (VLAN 7) on interface igb0 since the ISP (Deutsche Telekom) tags the traffic on their DSL services.

Stop here ;-)

QuoteI then created a pppoe0 interface with my credentials using vlan0 but when I finally try to assign my pppoe0 configuration to an interface I always get the following error message:

Don't create this interface (pppoe) by hand, instead go to your VLAN interface (VLAN 7), select "PPPoE" @  "IPv4 Configuration Type" and finish the "PPPoE configuration" options that appear, OPNSense will do the rest...
Title: Re: PPPOeE interface does not get created
Post by: csk4l3 on July 17, 2022, 02:42:06 AM
Hey netnut,

thx for your reply. Unfortunately I'm not sure what option you are referring to. I took a screenshot of the VLAN configuration options ... I do not see a way to configure any PPPoE settings from the VLAN configuration dialog.
Could you maybe be more specific?

Maybe for further clarification ... I'm trying to implement the solution described here:
https://www.du-consult.de/opnsense-so-konfiguriert-man-eine-deutschlandlan-pppoe-einwahl/ (https://www.du-consult.de/opnsense-so-konfiguriert-man-eine-deutschlandlan-pppoe-einwahl/)

Unfortunately at step 4 I run into the error:
"The interface "pppoe0" does not exist. Make sure to apply its configuration first."
as described in my previous post.

Sorry that all the instructions are in German ^^
Title: Re: PPPOeE interface does not get created
Post by: netnut on July 17, 2022, 04:20:26 AM
You started with igb0 (WAN, or whatever you named the device), after that you've created VLAN7 attached to the WAN (igb0) interface (your screenshot). Now go to the menu "Interfaces -> Assignments", select your VLAN7 interface at the bottom of the page and name it WAN_INTERNET or whatever you like.

You now have at least two interfaces in the menu "Interfaces", WAN (igb0) and WAN_INTERNET (igb0 with VLAN7). Select the WAN_INTERNET interface from the Interfaces menu and configure PPPoE from there following my previous post.

The same goes for IPTV if you like, create the VLAN interface (VLAN8), assign and name it, like WAN_IPTV and configure it. Probably DHCP not PPPoE, for this interface consult your ISP for IPTV settings.

Here some step-by-step screenshots, the only difference are the VLAN numbers for Internet and IPTV, if DeutschlandLAN supports RFC4638 you can modify the MTU settings too, otherwise leave them out.
https://forum.opnsense.org/index.php?topic=21207.msg99402#msg99402
Title: Re: PPPOeE interface does not get created
Post by: csk4l3 on July 17, 2022, 04:57:23 AM
I think I got it.

Thx a lot netnut ;)