Vanilla Linux on a 100 Gbit/s router

Summary

At the Chemnitz Linux Days 2026, Benedikt Heine, head of infrastructure at 3Q GmbH, reported how the company uses Mellanox switches with ordinary Linux as routers for 100 Gbit/s. This is made possible by switchdev, with which the Linux kernel offloads the switching logic directly to the switch chip. The result: full Linux support, long software maintenance, no additional network vendor to learn and no licence costs.

How switchdev works

A 100 Gbit/s switch does not forward data packets with the processor but with a specialised chip, an ASIC. Until now this required the manufacturer’s operating system. With switchdev, the switch’s ports appear under Linux as normal network interfaces. If you configure addresses, routes or bridges with the usual commands such as ip, the driver transfers these settings to the chip, which then works at full speed.

This makes it possible to install the familiar distribution on the switch and manage it with the same tools as any server. The team found the courage to do so after Ben Cox and Pim van Pelt had published their experiences with Mellanox switches and switchdev.

Where it gets tricky

The talk did not hide the limits. Not every function can be offloaded to the chip, and where that fails, the traffic ends up on the much slower processor. By the team’s own account, it got its fingers burnt when trying to deploy EVPN. Anyone working without vendor support also has to know what to do when something does not work.

Ideas

  • switchdev presents switch ports as normal Linux interfaces.
  • The kernel offloads routing and bridging to the switch chip.
  • Routers and switches can be managed with the same tools as servers.

Insights

  • Hardware offloading is powerful, but not every function is supported.
  • Without vendor support, a team needs deep knowledge of its own.

Facts

  • 3Q GmbH built several sites with its own hardware in 2025.
  • Mellanox switches with switchdev support are used.
  • A video recording of the talk is available at media.ccc.de.

References

Remarks

  • Mellanox has been part of NVIDIA since 2020; the switches are sold under the Spectrum name.

Recommendations

  • Before buying, check which functions the switch chip can actually offload under switchdev.
  • With network hardware without vendor support, plan spare devices and a fallback configuration.

Open the programme item

Search the Web Archive

Found a mistake or have something to add? Get in touch.