OPNsense Forum

English Forums => General Discussion => Topic started by: sse450 on June 22, 2024, 02:58:22 PM

Title: Question on pppoe connection
Post by: sse450 on June 22, 2024, 02:58:22 PM
My ISP installed GPON and a router at home. If I use the router in bridge mode and enter the pppoe credentials in OPNsense, all work fine.

Is there a way to connect GPON directly to the wan interface of opnsense (without the router in bridge mode in between) with the same pppoe credentials in OPNsense? I tried many things to do this. But no way. Cannot get the Internet this way.

Thanks.

Title: Re: Question on pppoe connection
Post by: Patrick M. Hausen on June 22, 2024, 03:13:50 PM
Does your OPNsense have an SFP or SFP+ slot? Because you need an optical module for that.
If that is the case, that's where things get tricky after all I have read, but you need to check this first.

@mimugmail probably can provide some pointers about what to actually configure once you have that optical link.

If you cannot get an optical interface in your OPNsense you need a media converter - which your router in bridge mode very well is  ;)
Title: Re: Question on pppoe connection
Post by: netnut on June 22, 2024, 03:23:44 PM
Quote from: sse450 on June 22, 2024, 02:58:22 PM

Is there a way to connect GPON directly to the wan interface of opnsense (without the router in bridge mode in between) with the same pppoe credentials in OPNsense? I tried many things to do this. But no way. Cannot get the Internet this way.


Yes, you certainly can (with an dedicated optical port or media converter as Patrick suggested).

You need to be aware of three things:

1. Get the right GPON SFP with the wavelengths used by your ISP (ie: 1310nm TX,1490nm RX)
2. Use the right patch cable to your NTU (important!)
3. PPPoE is probably on a VLAN, contact your ISP for the right VLAN (there can be multiple for DATA, VOICE, IPTV)

When you have the right equipment and config info it should be "business as usual" to configure your uplink.

Title: Re: Question on pppoe connection
Post by: sse450 on June 23, 2024, 06:11:48 AM
But, there is RJ45 LAN port already available on GPON. It is connected to WAN port of the ISP supplied router by an ethernet patch cable. So, I don't think SFP is needed.

Here is a photo from ports side of the GPON. It is a small ZTE thing.
Title: Re: Question on pppoe connection
Post by: netnut on June 23, 2024, 07:16:20 PM
Quote from: sse450 on June 23, 2024, 06:11:48 AM
So, I don't think SFP is needed.

Well, you did ask:

QuoteIs there a way to connect GPON directly to the wan interface of opnsense

That green thing is your GPON fiber, the only way to connect fiber to your OPNsense gateway directly (and eliminating the ZTE box) is using a SFP module.

If you want to leave your ZTE device (which also looks like a media converter), you challenge would probably be initiating your PPPoE on the right VLAN which your current router might have configured correctly, because it looks like you're using PPPoE passthrough currently.
Title: Re: Question on pppoe connection
Post by: sse450 on June 24, 2024, 04:14:55 PM
I should have explained better in my first post. Sorry!

GPON ---eth---> Router (in bridge) ---eth---> OPNsense is working with PPPOE credentials enteren in OPNsense.

What I would like to do is:

GPON (ZTE) ---eth---> OPNsense

Tried it. But it doesn't work. Probably, it needs a VLAN configuration as you mentioned. I use VLANs in other settings but no idea about VLAN for this issue.

Do I need input from ISP for configuring VLAN? Or is it something straightforward so that I can do in OPNsense?

Thanks for helping me out.
Title: Re: Question on pppoe connection
Post by: Patrick M. Hausen on June 24, 2024, 04:22:33 PM
If you do not have access to the UI of that ISP router to look up which VLAN tag to use, you need to ask your ISP about that. We can certainly help with configuring PPPoE to use a VLAN tag, but the correct one out of about 4.000 possible ones needs to be known in advance.