Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
With 3 VLANs on the same NIC where do I connect the cable on the switch?
« previous
next »
Print
Pages: [
1
]
Author
Topic: With 3 VLANs on the same NIC where do I connect the cable on the switch? (Read 992 times)
WhiteTiger
Jr. Member
Posts: 73
Karma: 1
With 3 VLANs on the same NIC where do I connect the cable on the switch?
«
on:
November 12, 2023, 05:28:37 pm »
Sorry for the newbie question, but I'm getting lost in using VLAN.
In the switch I would like to create 4 VLAN zones: LAN (10), DMZ (20), Home (30) and Guests (40).
On the firewall there are 3 NICs: one is connected to the router and one is connected to the first port of VLAN 10.
Now if I configure the third NIC with the other 3 VLANs, where do I connect the cable?
Logged
Patrick M. Hausen
Hero Member
Posts: 6807
Karma: 572
Re: With 3 VLANs on the same NIC where do I connect the cable on the switch?
«
Reply #1 on:
November 12, 2023, 05:38:07 pm »
To a switch port that is configured to carry three VLANs tagged - in Cisco speech called a "trunk" port. You need a manageable switch for that.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
WhiteTiger
Jr. Member
Posts: 73
Karma: 1
Re: With 3 VLANs on the same NIC where do I connect the cable on the switch?
«
Reply #2 on:
November 13, 2023, 08:42:56 am »
But if I have a port tagged for Guest, Home and DMZ, doesn't it create a security problem?
A guest is in the same DMZ port.
Logged
Patrick M. Hausen
Hero Member
Posts: 6807
Karma: 572
Re: With 3 VLANs on the same NIC where do I connect the cable on the switch?
«
Reply #3 on:
November 13, 2023, 08:47:02 am »
No, because that port connects to OPNsense which will process the tags and treat all VLANs seperately. You connect your devices to other untagged ports assigned to only one VLAN.
You might want to read up about how VLANs work.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
With 3 VLANs on the same NIC where do I connect the cable on the switch?