Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Dealing with VLAN's
« previous
next »
Print
Pages: [
1
]
Author
Topic: Dealing with VLAN's (Read 1394 times)
dsduarte
Newbie
Posts: 20
Karma: 0
Dealing with VLAN's
«
on:
November 06, 2023, 01:28:13 am »
Hello... I'm having trouble for setting up my network with VLAN's and I hope I can get some help from you here!!
I have a 4xPorts 2.5Gbps minipc running OPNSense:
igc0 -> WAN
igc1 -> LAGG
igc2 -> LAGG
igc3 -> just a temp way to manage OPN Sense in case a mess up.
On LAGG there are 3 VLAN's:
- LAN (10)
- Guest (30)
- iot (107)
LAGG is to a 8x1Gbps TP-Link TL-SG108E 1Gbps Managed switch...
VLAN ID VLAN Name Member Ports Tagged Ports Untagged Ports
1 Default 1-8 1-8
10 LAN 1-7 1-2,7 3-6
30 guest 1-7 1-7
107 iot 1-8 1-7 8
Port PVID
Port 1 (LAG1) 10
Port 2 (LAG1) 10
Port 3 10
Port 4 10
Port 5 10
Port 6 10
Port 7 10
Port 8 107
On port 8 there is an unmanaged switch with all iot cable devices... they are working fine
On port 3 there is an unmanaged switch with all LAN cable devices... they are working fine
My problem is on trying to connect another unmanaged switch to another port and on this 3th switch connect both VLAN aware and unaware devices... If I select that port with Untagged VLAN 10, the vlan unarare devices all works but the VLAN aware devices does not work on VLAN 10... If I select that port with Tagged VLAN 10, its the other way around... VLAN 10 works but non vlan aware devices do not work.
Is there a way to configure a managed switch so both cases works on the same port?
Thanks!
Logged
meyergru
Hero Member
Posts: 1684
Karma: 165
IT Aficionado
Re: Dealing with VLAN's
«
Reply #1 on:
November 06, 2023, 01:47:47 am »
In short: no. The best thing you could get was if the unmanaged switch just acted like if all port were trunk ports with the default VLAN as untagged.
In that case, non-VLAN aware clients connected to it would get the default VLAN and VLAN-capable clients could be configured to their respective VLAN. However, doing it that way would kind of defeat VLAN separation in the first place and is messy at best.
Considering how cheap managed switches are these days, I would recommend getting one and interconnect it with the other switch via a trunk port (maybe even a LAGG trunk).
Logged
Intel N100, 4 x I226-V, 16 GByte, 256 GByte NVME, ZTE F6005
1100 down / 440 up
,
Bufferbloat A+
dsduarte
Newbie
Posts: 20
Karma: 0
Re: Dealing with VLAN's
«
Reply #2 on:
November 06, 2023, 02:40:46 am »
I see…. I just didn’t consider your suggestion because that 3rd switch is a 5x2.5Gbps and I wish to use that bandwidth increase between my NAS and a device connected by Wi-Fi to a Wi-Fi6 AP that is 2.5Gbps Ethernet port… I’m not finding any 2.5Gbps managed switches for an affordable price.
Logged
meyergru
Hero Member
Posts: 1684
Karma: 165
IT Aficionado
Re: Dealing with VLAN's
«
Reply #3 on:
November 06, 2023, 11:10:12 am »
Have a look at the ZyXEL XGS1210-12: It has 2x2.5 Gbit/s plus 8x1 GBit/s plus 2xSFP+ and it is dirt cheap.
You could even do LAGG over 2x1 GBit/s to your TP-Link, although that does not help with single connections.
Logged
Intel N100, 4 x I226-V, 16 GByte, 256 GByte NVME, ZTE F6005
1100 down / 440 up
,
Bufferbloat A+
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Dealing with VLAN's