OPNsense Forum

English Forums => General Discussion => Topic started by: Subnet_Masked on January 18, 2025, 08:11:00 PM

Title: 2x1GbE LACP LAGG stuck at 1GB
Post by: Subnet_Masked on January 18, 2025, 08:11:00 PM
Preface:
We have fiber-optic internet at home, we are paying for and can confirm via speedtest-cli that we are getting that at the router with the 2.5gbE interface towards the ONT.

I have a switch connected to the router via an LACP LAGG with two 1gbE connections. According to opnsense, the LAGG has a 2gb line speed. That seems all well and good.

To test, I am using two different PCs at a time connected to two different ports on the switch so that I am guaranteed to have at least two separate streams. Doing a speed test though on both at once to different servers results in exactly 1.2gb/s every time and for the life of me I cannot figure out why.

Attached is a screenshot of my LAGG config in OPNSense and on the switch.

There's a good chance I am just misunderstanding something here, I have not used LACP let along LAGGs much.

Any help would be appreciated. Thank you.
Title: Re: 2x1GbE LACP LAGG stuck at 1GB
Post by: pfry on January 19, 2025, 01:02:05 AM
How do the individual interface counters look? Does the switch have port counters? You can look at netstat on OPNsense ("Interfaces: Diagnostics: Netstat" or CLI); you can't get the individual interfaces in "Reporting: Traffic" without assigning them, which is likely inconvenient, so I can't think of a source for a pretty graph offhand. The point: Do they share as you expect? A MAC-based hash won't do much if your test traffic runs though a single gateway interface.