Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
WAN and LAN on single physical interface
« previous
next »
Print
Pages: [
1
]
Author
Topic: WAN and LAN on single physical interface (Read 1643 times)
Sbbh
Newbie
Posts: 4
Karma: 0
WAN and LAN on single physical interface
«
on:
October 23, 2023, 12:53:37 am »
Hi all,
I currently have OPNsense working as seen in the image below on the left.
Due to the layout of my apartment, I'm going to have to move my servers and OPNsense box to another room from where my modem is. Therefore, there is only one physical link between the OPNsense box and the modem/AP/devices.
In the diagram on the right, is it possible to have the WAN connection going straight from the modem to the OPNsense box, and have the Wifi AP and other devices on the first switch use OPNsense as the router with VLANs?
Logged
bartjsmit
Hero Member
Posts: 2017
Karma: 194
Re: WAN and LAN on single physical interface
«
Reply #1 on:
October 23, 2023, 07:45:31 am »
Yes, create a VLAN 5 for the WAN, create an access (untagged) VLAN 5 port for the modem on the switch and a trunk (multiple tags) for OPNsens with VLAN 1, 2 and 5.
Similarly, on the innermost switch, create a trunk for VLAN 1 and 2 to OPNsense.
In the GUI, add the same VLAN interfaces under the two physical interfaces.
Bart...
Logged
Sbbh
Newbie
Posts: 4
Karma: 0
Re: WAN and LAN on single physical interface
«
Reply #2 on:
October 23, 2023, 09:44:11 pm »
Great, thanks. I'll give that a try.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
WAN and LAN on single physical interface