Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Connect to DSL modem over two switches
« previous
next »
Print
Pages: [
1
]
Author
Topic: Connect to DSL modem over two switches (Read 625 times)
chbaer
Newbie
Posts: 5
Karma: 0
Connect to DSL modem over two switches
«
on:
February 12, 2024, 09:22:07 pm »
At the moment I've got a DrayTek Vigor167 directly connected to igc0 on my pfsense box. igc1 is connected to a switch and evrything works as expected.
I'll move to a new house and the modem has to be in another room than my network rack. I would like to connect igc0 on the pfsense box to my switch too and connect the modem to another switch in the other room. Both switches will be directly connected.
I created a new VLAN 10 and defined the ports on the switches as untagged VLAN 10.
Now OPNsense can't establish a pppoe connection.
Is there a way to make things work like this? What am I doing wrong or where should I start debugging?
Best regards
Logged
Maurice
Hero Member
Posts: 1213
Karma: 158
Re: Connect to DSL modem over two switches
«
Reply #1 on:
February 12, 2024, 10:15:01 pm »
The ports interconnecting the two switches need to be configured as trunk ports. Add VLAN 10 as a tagged VLAN there. Configuration details depend on your switches.
Cheers
Maurice
Logged
OPNsense virtual machine images
OPNsense aarch64 firmware repository
Commercial support & engineering available. PM for details (en / de).
chbaer
Newbie
Posts: 5
Karma: 0
Re: Connect to DSL modem over two switches
«
Reply #2 on:
February 12, 2024, 11:15:33 pm »
Thanks for your reply. To be clear: I don't want to set a VLAN tag on the PPPoE connection. This is handled by the modem. I just want to replace the straight cable from the modem to the router.
The switch connection is trunked. It doesn't even work when I use two ports on the same switch.
If i set the ports to trunk, how does OPNsense and the modem know that they should communicate over VLAN 10?
Logged
Patrick M. Hausen
Hero Member
Posts: 6807
Karma: 572
Re: Connect to DSL modem over two switches
«
Reply #3 on:
February 13, 2024, 07:58:00 am »
In theory PPPoE can work just fine across a switch. It's just Ethernet frames, MTU 1500, even. So try with one switch and of course untagged ports, first.
If it works in practice depends very much on the particular switch model, I guess.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Maurice
Hero Member
Posts: 1213
Karma: 158
Re: Connect to DSL modem over two switches
«
Reply #4 on:
February 13, 2024, 07:07:37 pm »
The switch ports connected to the modem and to the OPNsense WAN need to be configured as untagged access ports for VLAN 10. The ports connecting the two switches need to be trunk ports which allow VLAN 10 (tagged).
If it doesn't even work with the modem and OPNsense connected to the same switch, I'd suspect the switch to block the Ethertypes used by PPPoE. Check its settings for allowing / filtering specific Ethertypes.
Logged
OPNsense virtual machine images
OPNsense aarch64 firmware repository
Commercial support & engineering available. PM for details (en / de).
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Connect to DSL modem over two switches