Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Default LAN Interface Config Question
« previous
next »
Print
Pages: [
1
]
Author
Topic: Default LAN Interface Config Question (Read 1834 times)
spetrillo
Hero Member
Posts: 721
Karma: 8
Default LAN Interface Config Question
«
on:
December 31, 2020, 04:37:50 am »
My LAN interface is 192.168.1.0/24. Can I also configure it for a vlan on another subnet? Is this doable?
Logged
Matriciel
Newbie
Posts: 37
Karma: 1
Re: Default LAN Interface Config Question
«
Reply #1 on:
December 31, 2020, 07:06:26 am »
Another subnet, i don't know, but Vlan yes. This in interface section
Logged
Greelan
Hero Member
Posts: 1028
Karma: 72
Default LAN Interface Config Question
«
Reply #2 on:
December 31, 2020, 01:12:12 pm »
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
Logged
spetrillo
Hero Member
Posts: 721
Karma: 8
Re: Default LAN Interface Config Question
«
Reply #3 on:
January 01, 2021, 06:02:20 pm »
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.
Logged
banym
Sr. Member
Posts: 468
Karma: 31
Free Human Being, FreeBSD, Linux and Mac nerd
Re: Default LAN Interface Config Question
«
Reply #4 on:
January 01, 2021, 06:50:29 pm »
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.
Logged
Twitter: banym
Mastodon: banym@bsd.network
Blog:
https://www.banym.de
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Default LAN Interface Config Question