Link aggregation/bonding on managed switch powered by OpenWRT

Hi everyone, I go through the forum and get a lot of informations but still being confuse.

Basically I have a OPNsense router and I want a managed switch for some extra ports. I want it to do vlan, also LAG/Bonding for redundancy and extra bandwidth.
I know if I want to do LAG/bonding I having to configure myself through CLI.

Here's my confuse point:

  1. switch like GS1900/DGS-1210/GS308T/etc that has Realtek chip(RTL83XX and others) has bad support on LAG/bonding, is it?

  2. OpenWRT itself also have no official support on LAG/bonding, is it?

Thank you!

LAG hardware offloading is not implemented for rtl838x/ rtl839x/ rtl93xx so far, and without the hardware acceleration it's too slow to be useful.

I don't think luci has a means to set up LAGs either, but on most devices other than realtek this isn't much of an issue (4+1 ports on almost all devices, LAGs don't help you there).

The drivers actually contain a broken LAG implementation, so the current state is even worse than just being slow.

It is supported with the package luci-proto-bonding. Unfortunately, it allows only configuration as an interface which needs to have an IP address and thus can't be part of a bridge. This is not just a limitation of LuCI. To be actually useful, netifd would have to be changed to support configuration as a device instead. There is an open issue about this (which seems to be associated with the wrong repository).

1 Like

Are there ongoing work to have integrate OpenMPTCProuter into OpenWrt?