3 ms·
Having gone through this struggle myself, here's the cheat sheet. You want a device that uses the Linux switchdev driver and is supported by dentOS whether or
by karma_pharmer 2y ago
Having gone through this struggle myself, here's the cheat sheet. You want a device that uses the Linux switchdev driver and is supported by dentOS whether or not you actually choose to run dentOS on it (I run NixOS on my switch):
https://www.kernel.org/doc/html/latest/networking/switchdev.html https://www.kernel.org/doc/html/latest/networking/switchdev....
https://github.com/dentproject/dentOS https://github.com/dentproject/dentOS
Switchdev support means you don't need hardware-specific userspace tools (with their own bizarre syntax to learn) in order to configure the switch.
DentOS support means the device uses a sane bootloader (uboot or grub) and the only binary blobs on the device will be the ones built into the bootloader (IntelME, Arm Trusted Firmware) and the switch firmware which will be part of linux-firmware (and therefore very easy to manage/update).
In particular, looking for these two keywords is how you make sure that the hardware vendor is staying on "their side of the line" between hardware and software. Violations of this line are endemic to 10G+ switching.
- mongol 2y agoI had no idea there were switches you could run NixOS on. What would be an example of such a switch?
- wmf 2y agoThat's what the blog post is about. Mellanox Spectrum switches can run any Linux distro.
- karma_pharmer 2y agoFor 10gbit+: Mellanox SN2xxx. Probably the SN3xxx, SN4xxx, and SN5xxx too but I can't afford those. For 1gbit: Ubiquiti Edgerouter ER-4 and ER-6; both have SFP cages for fiber optic transcievers https://github.com/NixOS/nixpkgs/pull/194153 https://github.com/NixOS/nixpkgs/pull/194153 https://store.ui.com/us/en/products/er-4 https://store.ui.com/us/en/products/er-4
- mongol 2y agoReally useful, thanks a bunch!