Default LAN Interface Config Question

Started by spetrillo, December 31, 2020, 04:37:50 AM

Previous topic - Next topic
My LAN interface is 192.168.1.0/24. Can I also configure it for a vlan on another subnet? Is this doable?

Another subnet, i don't know, but Vlan yes. This in interface section

Interfaces - Other Types - VLAN: create VLAN
Interfaces - Assignments: assign VLAN interface
Interfaces - [VLAN NAME]: set up subnet etc

You will also need to create required firewall rules to allow traffic in/out

Google "OPNsense VLANs", plenty of guides out there

Quote from: Matriciel on December 31, 2020, 07:06:26 AM
Another subnet, i don't know, but Vlan yes. This in interface section

Yes I am trying to determine if I can have a vlan on the same default LAN interface, but on a different subnet. For example:

Default LAN Interface(IGB1): configured for 192.168.1.0/24
VLAN 1(IGB1): configured for 192.168.0.0/24

I dont want to make any changes until someone can confirm this will work or will not work.

Yes you could use multiple VLANs on one interface with multiple subnets. That is what VLANs are for.

You will need a VLAN capabal switch or hardware to make us of it.
Twitter: banym
Mastodon: banym@bsd.network
Blog: https://www.banym.de