Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Hardware and Performance
»
Separate LAN's or use VLANs?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Separate LAN's or use VLANs? (Read 2842 times)
N0_Klu3
Jr. Member
Posts: 93
Karma: 2
Separate LAN's or use VLANs?
«
on:
March 17, 2021, 11:56:05 am »
So here is my setup:
Router with 4x 1gbe LAN ports split like:
1x WAN
1x LAN
1x IoT
1x Guest
Now my Shield TV and other bits are on IoT, and my server is on LAN.
Which works well, but I see a lot of traffic especially when playing 4k passing between IoT and LAN networks...
I have fully managed Unifi switches so can setup VLAN's better.
I'm wondering if it would be better to keep then physically separate ie each VLAN has its own physical NIC or to use LAGG and do like 2x NIC's to Switch.
My internet is atm only 45mb down, so I dont need LAGG from Router to Switch.
I do hope to get 1gb up/down in the next 6 months.
I'm just curious to all those proper network people if my setup is good or not.
Physically separate networks or to utilise VLANs better?
If its better to make use of VLANs, is it worth setting up LAGG and say 2x NICs to Switch?
Or just stick with 1x WAN and 1x LAN/IOT/Guest?
EDIT: I also want to point out that I set it up like this as it was simple.
I didnt have much setup to do it just kinda works.
On the Unifi switch I set 3 ports to their specific networks. So it matches the 3x LAN/IoT/Guest networks I have.
«
Last Edit: March 17, 2021, 11:59:14 am by N0_Klu3
»
Logged
bartjsmit
Hero Member
Posts: 1999
Karma: 193
Re: Separate LAN's or use VLANs?
«
Reply #1 on:
March 18, 2021, 07:43:57 am »
Just considering the router-switch connection, I would use two cables with a LAGG and VLAN's because:
- your resilience is higher (neither port failure nor cable failure will cause an outage)
- you halve the number of cables
- the Unifi switch gains two free ports
- you can add more VLAN's without adding cables (e.g. keep your TV and IoT separate)
Bart...
Logged
N0_Klu3
Jr. Member
Posts: 93
Karma: 2
Re: Separate LAN's or use VLANs?
«
Reply #2 on:
March 19, 2021, 07:11:58 pm »
Hey Bart,
Thanks for the reply.
I was leaning to the same thing. I got VLANS setup, albeit right now via a single cable.
Will do LAGG later on.
Logged
bartjsmit
Hero Member
Posts: 1999
Karma: 193
Re: Separate LAN's or use VLANs?
«
Reply #3 on:
March 20, 2021, 09:40:56 am »
To be honest, from a system perspective the LAGG may be icing on the cake
Even with gigabit WAN you're unlikely to saturate a single link and unless you set up a UPS, CARP, stacked switches and dual WAN, you'll always have SPOF somewhere.
Bart...
Logged
N0_Klu3
Jr. Member
Posts: 93
Karma: 2
Re: Separate LAN's or use VLANs?
«
Reply #4 on:
March 20, 2021, 07:35:36 pm »
Yeah its always a eek our a bit extra here or there and testing and tuning each little aspect of it.
Best part to be honest
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Hardware and Performance
»
Separate LAN's or use VLANs?