OPNsense Forum

English Forums => Hardware and Performance => Topic started by: spetrillo on June 15, 2020, 03:20:16 AM

Title: LAG Question with Three Subnets
Post by: spetrillo on June 15, 2020, 03:20:16 AM
Right now I currently have 3 NICs dedicated to three separate subnets. Could I just LAG the three NICs together and then just setup three VLANs for the separate subnets and make the three VLANs accessible across the LAG? Does that make sense?
Title: Re: LAG Question with Three Subnets
Post by: spetrillo on June 15, 2020, 03:55:17 AM
If that indeed makes sense then do I really need to set an IP for the LAG?
Title: Re: LAG Question with Three Subnets
Post by: bartjsmit on June 15, 2020, 07:23:07 AM
Yes, this is a common use case to allocate bandwidth across a trunk. E.g. one VLAN can use 1.5 Gbps, leaving 1.5 for the rest.

Quote from: spetrillo on June 15, 2020, 03:55:17 AM
If that indeed makes sense then do I really need to set an IP for the LAG?

A LAG is not a layer-3 device and does not need an IP address any more than a single cable.

Bart...
Title: Re: LAG Question with Three Subnets
Post by: spetrillo on June 16, 2020, 06:26:23 PM
OK new question...

I have the LAG setup on OPNsense and its protocol is Load Balance. It is connected to a Netgear switch that has its trunk ports set for LACP. When I change the protocol on OPNsens to LACP I lose the LAG completely. It does not seem to like LACP. Has anyone had this kind of issue and is it incompatibility between OPNsense and my switch?