Need Help on PPPoE Over Trunk

Hello everyone, I’m a beginner with MikroTik, and this question may seem very stupid, but it has been troubling me for quite some time. I still wanted to post it here, hoping to receive some professional guidance from all of you.

Below is the topology of my home lab network I want to achieve. I have a RB5009 (7GE + 12.5GbE + 1*10Gb SFP+), Since there is only one 10Gb port on the router and my switch in the topology is a 2.5Gb+10Gb switch, I want to be able to take full advantage of these resources. My design is to connect my PC on the 2.5G port of the router, using VLAN1, with a trunk interconnect between the switch and the router, and allow all VLANs to pass through, such as vlan1, vlan41, and vlan254, with some servers with high speed interfaces for vlan1 and vlan254 connected to the switch, and an ONU, this ONU has vlan41 used for pppoe dialup and has other VLANs dedicated for IPTV.

I have made some attempts so far,
1). if I take over the sfp interface using bridge and set the vlan in bridge, the pppoe virtual interface will not be able to be selected because this vlan is not a separate interface,
2). at this point if I create a vlan interface on the sfp physical interface, although the pppoe will be able to select this vlan interface, it will not be able to do the pppoe dialing, (from my understanding it is because the physical interface is already managed by bridge, so the virtual interface will not work, i don’t know if my understanding is right or not).
3). If I disconnect the sfp interface from the bridge under this condition, then pppoe on the vlan virtual interface of that physical interface will work fine, but the vlan1 connection from the PC to the server will be disabled again, since it seems vlan cannot communicate between bridges and physical ports.

I’ve tried googling solutions to this problem, most of them suggest setting up pppoe on the physical interface instead of using it on the bridge, and there are a few options I tried that didn’t work. Please forgive me for my poor search skills and English, and please help me to see if my needs can be realized.

Thank you very much!
topo.jpg

Assuming that ISP device (modem? GPON ONT?) is working as untagged … you’ll have to create something like this:

  • switch port, connecting to ISP, needs to be configured as untagged/access port with PVID / native VLAN set to 41
  • switch port, connecting to router, has to be configured as tagged/trunk and (among other) member of VLAN 41
  • router port, connecting to switch, has to be member of VLAN-enabled bridge, cobfigured as tagged/trunk and (among other) member of VLAN 41
  • bridge CPU-facing port has to be tagged memver of VLAN 41
  • VLAN interface, anchored to bridge interface, with vlan-id=41
  • PPPoE client, bound to VLAN interface from previous bullet

Just a side note: when I tried to use hAP ac2 as switch, connected to ISP gadget, and wanted to configure VLANs on switch chip, it turned out that switch chip had a bug and failed to properly tag/untag PADI and/or PADT … so PPPoE sesion could not be established. I worked around this by using a 3rd party switch connecting to ISP gadget, in very similar fashion you’re after. My point being: if things don’t start to work, it could be due to a bug in hardware/firmware as well.

To achieve this setup, configure a trunk link between the router and the switch, allowing all VLANs (1, 41, 254) to pass through. After this connect your PC to the router’s 2.5Gb port on VLAN1. Ensure the ONU is connected on VLAN41 for PPPoE and IPTV traffic.