I have an Aruba 2930F 48G PoE+ 4SFP+ switch. It has mostly default configurations, therefore all ports act as if it is transparent.
The router is a Belkin RT1800 running OpenWRT 23.05.2.
The internet connection is FTTP through an ONT, and its Ethernet port is connected directly to the Internet WAN port on the router. The router is then connecting via PPPoE to get a WAN address. The router has one of its LAN ports connected to the switch.
All is working as normal, and as expected. All devices connected to the switch get internet access through the router.
I'd like the ONT to be powered through PoE from the Switch, and I'd like the router to be physically located away from the rack. In theory I'd like to be able to connect the ONT to the Switch, and the router's internet port to the Switch, and have the two ports they're connected to act transparently to each other, and logically separated from the LAN.
I figured setting up a VLAN for this may be the way, however the VLAN configuration asks for a gateway which I don't believe I can provide, and it's asking for an IP address which I also can't provide.
The switch supports trunking too, however trunking the two ports together doesn't seem to allow the communication from the router to the ONT to login.
What's the ideal method to make this happen? I'd like to bind two physical ports on the switch together, and have their traffic be transparent to each other, and completely separated from all other ports on the switch.
The response below has not helped at all. The documentation they link to isn't valid for my Switch, and a lot of the stages mentioned don't exist.
I have however attempted the Tagged vs Untagged methods they mentioned, to no avail. Port 1 and Port 48 are the ports I wish to use for this WAN tunnel. Setting these two ports to Tagged doesn't allow communication, as in PPPoE fails to connect. Setting all other ports to Tagged means that my entire LAN cannot reach anything else (including my computing reaching the Switch's WebUI, I had to revert it through serial port).
The reply below mentions not creating a VLAN interface, but to use tagged and untagged ports. This isn't working out as expected. Below are some images of my options from the WebUI.
Image of Aruba Switch WebUI VLAN Page
I do however notice that I do get a gateway address from my router after connection is made. Perhaps this could be used as the gateway to a separate VLAN?
Image of OpenWRT Router Network Upstreams
I'm still at a loss to a solution to this, and I don't believe it's an impossible thing to be able to do. I don't believe this question is a duplicate to the one mentioned above, nor is it answered.