Recommendation for switch with link aggregation

Hi there,

I’m looking for a switch that will do link aggregration and is supported by OpenWRT. It doesn’t look like such information is contained in the ToH so I can’t search. I’ve searched this forum and the web for recommendations but haven’t found any.

I was looking at using a Netgear GS108T but apparently link aggregation is problematic on Realtek switches.

Can anyone recommend a switch that will do link aggregation under OpenWRT?

Thanks,

rah

Check competing switch linux https://sonic-net.github.io/SONiC/Supported-Devices-and-Platforms.html

In general filogic or x86/64 PC can rush through absent switch asic support for gige/2.5gbe LACP.

Hi, I'm not clear what you're saying here. What is this? It looks like a list of supported devices for a different operating system. I'm looking for switches that support link aggregation under OpenWRT.

kinda i answered that too

ie caveat is that you need a lot of CPU on OpenWrt to force through lacp’s balancing-hashing in software.

I don't understand this sentence.

Perhaps it wasn't clear from my post but I'm avoiding devices (like the Netgear GS108T and other Realtek switches) that can't do link aggregation in the switch hardware under OpenWRT.

Then the choice is x86 or filogic. ie not a switching-specific hardware.

Again, I don't really follow what you've said. What do you mean by "switching-specific hardware" exactly? Do you mean devices with switching done in hardware, like with DSA? Do you mean just devices which are listed in the "Switch" category on some web shop? Or do you mean something else?

Are you saying there are no devices which can do link aggregation in hardware under OpenWRT?

dsa is in its early days. There is no accurate capturing lacp ethertype to the soc cpu, even less programming tx hash mode into switch hardware.

Powerful platforms can do all this on cpu (or realtek at 100mbps or less)

AGAIN, I DON'T REALLY UNDERSTAND WHAT YOU'RE SAYING. Could you possibly make a slight effort to be a tiny little bit clearer in your writing? We're barely communicating.

What SoC CPU?

What switch hardware? Any at all? I asked a question: "Are you saying there are no devices which can do link aggregation in hardware under OpenWRT?" Are you saying the answer to that question is "yes", there are no devices which can do link aggregation in hardware under OpenWRT?

You float around the terms. LACP <> Link aggregtion.

LACP is not properly implemented/able in any openwrt supported device without heavy cpu involvement.

switch asic (“hardware”) might be capable of LACP at least partially, but it still means NO.

I only used the term LACP in the title. The rest of the post uses only "link aggregation".

Edit: I've removed "LACP" from the post title to prevent confusion.

My concern is with the hardware offloading of link aggregation, as described in the post I linked to:

This is what concerns me. I'm looking for a device which will do "LAG hardware offloading" under OpenWRT.

"No" to what? Are you trying to answer my question of whether there are no devices which can do link aggregation in hardware under OpenWRT?

If you're trying to answer that question and your answer is "no" then that means there are devices which can do link aggregation in hardware under OpenWRT. Is that what you meant?

There are two( or three)components LACP.

First is forwarding LACP control messages based on ethertype to host CPU,

Second is programming bond0 as interface on the host and switch balancing packets according to IP header hash

Third - program that on the switch so that traffic from other switch ports get the balancing.

First kind of works, but last 2 are not implemented for hardware, so they have to be handled in software and you need very fast SoC CPU+RAM to do it at wire speed.

SonicOS kind of does last two on datacenter (500-50k bucks a pop) switches. I give it as an example that it is possible to have hardware-offloaded LACP under linux with massive programming effort.

I am not implying it is apt for home use with 95dB screech and X kW power draw

I'm a bit confused. My question is about link aggregation, not just LACP. For some reason it seems like you've seen the acronym "LACP" and have just focused solely on that.

Not implemented by what exactly? What hardware? I don't understand you. You're not communicating with me.

Why? I'm asking for recommendations for a switch that can do link aggregation hardware offloading under OpenWRT. You're not helping.

It does not exist. End of story.

Thank you. That's helpful.

Sonic ist the network os from Microsoft for data centers. It's like cumulus Linux.

Cumulus was brought by Nvidia.

Anyhow, with the supported device page from Sonic and cumulus you get an idea what switch Asics are supported by Linux. You can then just compile that driver for OpenWrt and use switchdev to configure it. DSA should support these devices too because of switchdev if I'm not mistaken.

A friend of mine installed plain Ubuntu with the switchdev driver on a Melanox 100 gigabit switch just for the lulz while we unpacked these boxes. This was 2017.

Anyhow you will find lots of cheap 1 or 10 gigabit switches on the second market.