TPlink TL-SG1016DE and OPNsense LAGG setup question

Started by jimcease, September 04, 2024, 07:37:37 PM

Previous topic - Next topic
First let me say that I am a first time to creating my own router and network setup.  I am going with a lenovo m720q 8500t 16gm RAM, ASUS AX11000(WAP mode), and tplink tl-sg1016de setup.  I am going to setup a few Vlans as such:
1-default, 10 Server, 20 User, 30 IOT, 40 Guest, 50 IPCam.  My first question is the LAGG protocol.  From my reading of this switch it will only support a static LAGG as it does not support LACP so I would chose loadbalance protocol.  Can someone explain if I am interpreting this correctly and the benefits of doing so.
My next question is that I select tagged port on the switch being 1 UPlink port, the two LAGG ports, the WAP port and untagged port(s) for the specific VLAN. 

I appreciate your response and thanks in advance for the insight.  Forgive my ignorance as I am a NEWB.

September 04, 2024, 10:02:20 PM #1 Last Edit: September 04, 2024, 10:23:57 PM by meyergru
I would not consider a LAGG because it mostly does not what you think it does: All the loadbalancing does is to map specific MAC combinations to a specific link. That approach only works statistically when a lot of clients are being served - since you only have a 16 port switch, I doubt that it would be beneficial at all.

Rather than using a LAGG on a 1 Gbps switch, I would use a 2.5 GBps switch, because many OpnSense boxes and switches already can handle that.

What you could do instead is to distribute your VLANs over two or more switch and OpnSense ports, preferably in a way such that the expected inter-VLAN traffic uses both links (like if your main LAN is on one port and all of the other VLANs are on the other.

Other than that, do not mix untagged and tagged VLANs on the same OpnSense port, use only one or the other.
Intel N100, 4 x I226-V, 16 GByte, 256 GByte NVME, ZTE F6005

1100 down / 800 up, Bufferbloat A+

I was trying to follow this how to from homenetwork guy.
https://homenetworkguy.com/how-to/set-up-a-fully-functioning-home-network-using-opnsense/

I guess got duped in a way.  all my ports are 1GB ports. 

I have a home network with let than 25 devices.  So I bought into this potentially assisting with kind of load balancing traffic.  I am coming from a ASUS GT ax11000 and a unmanaged switch setup to my proposed network in the first post.  SO I guess go with everything except LAGG :)