OPNsense Forum

English Forums => General Discussion => Topic started by: spetrillo on April 30, 2020, 04:35:34 PM

Title: VLANs and OPNsense
Post by: spetrillo on April 30, 2020, 04:35:34 PM
Hello all,

I am about to embark upon using vlans on my home network and figured I would ask how those who have implemented vlans with OPNsense did it. I have a 4 port Protectli device. Do ppl aggregate the LAN ports into one group, for purposes of VLANs, or do you keep the NICs as separate domains?

Thanks,
Steve
Title: Re: VLANs and OPNsense
Post by: weust on April 30, 2020, 05:05:16 PM
That really depends on how many physical NICs you have.
If you have enough you could do with one VLAN per NIC, but if not you can trunk VLANs on one port on the switch.
Title: Re: VLANs and OPNsense
Post by: bartjsmit on April 30, 2020, 06:01:55 PM
I would trunk all VLAN's through a single LAG since it provides better resilience and allows a VLAN to consume more than the throughput of a single interface.

Bart...
Title: Re: VLANs and OPNsense
Post by: spetrillo on April 30, 2020, 08:31:46 PM
I think I am going to create a LAG of two of the NICs, keeping one last NIC for my management VLAN.