Networking

SFP+ DAC vs Fiber vs 10GBASE-T: Best 10G Cables and Modules

This post contains affiliate links. If you buy through them, we may earn a small commission at no extra cost to you. Learn more.

Do you need fiber to run 10G between two machines in the same rack? No. A passive SFP+ DAC costs about $14 for 2 meters, draws about 0.1 W in the Cisco datasheet, and it is the right cable for almost every link under 5 meters. Fiber earns its place on distance, and 10GBASE-T copper earns it when the far end only has an RJ45 port.

Original content from computingforgeeks.com - post 175454

This guide compares SFP+ DAC vs fiber vs 10GBASE-T on reach, power, heat and cost per link, then picks the eight cables and modules we would put in a 10G homelab. The reach and power figures come from vendor datasheets and from the ServeTheHome 10GBASE-T module tests. It also covers vendor coding on Intel, NVIDIA, MikroTik and UniFi gear.

I rechecked every Amazon price and stock line on November 27, 2026. I also ran the driver and initramfs side of the Intel X520 override on Debian 13 and Rocky Linux 10.2 cloud VMs, so the Linux commands near the end come with real output. Are you on an Intel card? Read that part before you buy optics.

Best 10G cables and modules at a glance

Pick by the distance and by what sits at each end of your link. The table gives the default for each job, and you will probably need two or three rows, not all eight:

AwardPickWhy it winsPrice
Best overall10Gtek passive SFP+ DAC, 2 mCheapest link, almost no power, nothing to configureabout $14
Best for a picky NIC10Gtek Intel-coded SFP+ DAC, 1 mCarries the Intel code, so a locked Intel card sees a part it expectsabout $15
Best between rooms10Gtek 10GBASE-SR + OM4 patch300 m rated by 10Gtek; the SR class reaches 400 m on OM4 per Ciscoabout $37 a link with a 2 m patch
Best past 5 m in one part10Gtek SFP+ AOC, 5 mThinner than twinax and far cheaper than an active DAC of similar lengthabout $22
Best value copper moduleWiitek SFP+ to RJ45 (multi-rate)Multi-rate 1/2.5/5/10G per its listingabout $29
Best name-brand copper moduleTP-Link Omada SM5310-TPublished datasheet: 2.442 W, 30 mabout $38
Best to another building10Gtek 10GBASE-LR + OS2 patch10 km single-mode at near-SR pricesabout $54 a link
Best Cat6a patchCable Matters Cat6a S/FTP, 10 ftThe cable 10GBASE-T is specified onabout $9

SFP+ DAC vs fiber vs 10GBASE-T compared

All of these options carry the same 10 Gbps, so they are not competing on speed. They differ on how far the signal goes, how much heat the module puts into the switch, and what the link costs. The reach and power columns come from the Cisco 10GBASE SFP+ data sheet unless noted, and the cost column uses the Amazon prices for our picks:

Link typeReach at 10GPower per endCost per link
Passive SFP+ DAC1 to 5 m (Cisco); Intel allows up to 7 m on X520about 0.1 Wabout $14 (2 m)
Active SFP+ DAC7 and 10 m (Cisco)about 1 Wabout $137 (StarTech 10 m)
Active optical cable (AOC)1 to 10 mabout 1 Wabout $22 (5 m)
10GBASE-SR + multimode fiber300 m on OM3, 400 m on OM4about 1 Wabout $37 (2 m OM4)
10GBASE-LR + single-mode fiber10 kmabout 1 Wabout $54 (15 m OS2)
SFP+ to RJ45 module (10GBASE-T)30 m on Cat6a (most modules)1.9 to 2.7 W (Ubiquiti, TP-Link, Cisco, MikroTik)about $38 (Wiitek + Cat6a)
Native 10GBASE-T port100 m on Cat6a, 55 m on Cat6 UTP (Cisco Catalyst page)built into the switch or NICcable only

Two rows explain the buying mistakes that come up most. Most SFP+ to RJ45 modules, including the TP-Link, Cisco and MikroTik parts, are rated for only 30 m at 10G, even though a native 10GBASE-T port does 100 m on the same Cat6a. So a generic module is not a fix for a long in-wall run. The Ubiquiti UACC-CM-RJ45-MG is the exception, rated for 100 m, and MikroTik says the newer /r3 revision of the S+RJ10 also reaches 100 m, though its spec table still lists 30 m. A copper module also draws roughly 19 to 27 times what a passive DAC does, which matters once you plug several into a small fanless switch.

Latency is the last difference, and it rarely matters at home. 10GBASE-T PHYs add latency in the low microseconds, and one early PHY was demonstrated at under 2.5 microseconds, while DAC and fiber links are generally quoted at a few hundred nanoseconds or less. For file copies, backups and VM traffic you will not see it. It is worth thinking about only for storage or cluster traffic that is sensitive to latency.

Passive vs active DAC: where twinax stops

A passive DAC is just copper with SFP+ shells on each end, and the NIC or switch does all the signal work. Cisco sells passive twinax from 1 to 5 m at 0.1 W, and active twinax only at 7 and 10 m at 1 W, because past 5 m the cable needs its own electronics to stay clean. The Intel X520 support article sets 7 m as the maximum for passive cables and accepts both passive and active limiting DACs that follow SFF-8431 v4.1 and SFF-8472 v10.4. The older 82598 cards are pickier: the ixgbe docs say they do not support active DACs at all.

For a homelab, the active DAC is the row to skip. A 10 m StarTech active DAC listed at about $137 on Amazon, while a 10Gtek AOC covers similar lengths for a small fraction of that, weighs less and bends more easily. So the rule for your lab is simple:

  • passive twinax inside the rack, up to 5 m
  • an AOC from about 5 to 10 m
  • SR or LR optics beyond that

The active DAC does not even win on power, because Cisco rates its active twinax and its AOCs at the same 1 W per end.

How we picked

We started from the decision rather than from a brand, so each pick covers one link type that a homelab actually runs. Every pick is sold new and in stock on Amazon, mostly by the maker through its own store, and every reach and power claim traces to a vendor datasheet or to the ServeTheHome measurements. Where a vendor only gave marketing copy, the pick says so.

A few things were left out on purpose:

  • Ubiquiti and MikroTik parts on Amazon US, priced far above list or out of stock
  • active DACs, which cost several times an AOC of similar length
  • SFP28 and 25G optics, for a separate guide
  • unbranded DACs with no wire-gauge details

If you still need the NIC and switch side of the build, it is in our 10GbE homelab build guide, which uses the same DAC and RJ45 modules as this list.

1. 10Gtek Passive SFP+ DAC, 2 m

This is the cable we would buy first, and in most racks it is the only one you will need. A passive DAC is a twinax copper cable with an SFP+ plug moulded on each end, so there is no transceiver to buy, no fiber to clean, and almost no heat.

10Gtek passive SFP+ DAC twinax cable 2 m for 10G homelab switches and NICs
10Gtek 10G SFP+ passive DAC, 2 m: twinax copper with fixed SFP+ ends. Image: 10Gtek.

Cisco rates passive DACs at about 0.1 W and sells them from 1 to 5 m, while NVIDIA lists validated passive cables up to 7 m in the ConnectX-4 Lx firmware notes. In practice, 2 m covers your switch to a server a few units down. 10Gtek also sells a 1 m version for about $13 and a 3 m version for about $19. The listing names Cisco, UniFi, Meraki and Fortinet as compatible platforms, which is fine for the uncoded switches most homelabs use.

Best for: any link inside one rack or across a desk. Skip it if the run goes through a wall or past about 5 m, or one end is a locked Intel card, where pick 2 is the safer buy. The 2 m cable sells for about $14 on the 10Gtek 2 m DAC listing; check the current price.

2. 10Gtek Vendor-Coded SFP+ DAC (Intel, Mellanox, MikroTik)

Same twinax, different EEPROM. 10Gtek programs the vendor and part number fields of its DACs to match a host brand, so a card that checks those fields sees a part it expects. The Intel version is coded as XDACBL1M, a 1 m Intel DAC part number, and it is the one we would put on an X520 or X710 before touching any driver option.

10Gtek passive SFP+ DAC twinax cable coded for Intel XDACBL1M NICs
10Gtek passive SFP+ DAC, 1 m, coded for Intel XDACBL1M (CAB-10GSFP-P1M). Image: 10Gtek.

The coded versions cost the same as the generic cable. 10Gtek lists a Mellanox MC3309130-001 coded 1 m DAC for ConnectX cards at about $15 (stock was thin on November 27) and a MikroTik S+DA0001 coded version at about $15. The MikroTik one is the least necessary of the three, because MikroTik does not lock modules at all, so buy it only if you want the switch to report a MikroTik part number.

One vendor note is worth reading before you order a long cable. On its own store page, 10Gtek says an Intel-compatible passive cable must stay within 1 to 3 m and use 24 AWG wire. That is the vendor’s own guidance, not an Intel rule, but it is a cheap reason to buy the short Intel-coded cable and keep the AOC for anything longer.

Best for: Intel X520 and X710 cards, and ConnectX cards where you want a cable that matches the NVIDIA validated list by part number. Skip it if both ends are MikroTik, TP-Link Omada or other uncoded switches, where pick 1 does the same job. The Intel-coded cable sells for about $15 on the 10Gtek Intel XDACBL1M DAC listing; check the current price.

3. 10Gtek SR Optics and OM4 Fiber

Once your run leaves the rack, multimode fiber is the cheapest way to keep 10G, and our copper vs fiber cabling explainer covers the fiber types if they are new to you. A pair of SR modules and a 2 m OM4 patch cable costs about $37 a link. Longer OM4 patch cables cost more, so price the length you need, and the fiber is thin enough to pull through a wall later.

10Gtek 10GBASE-SR SFP+ multimode transceiver 850 nm with LC duplex connector
10Gtek 10GBase-SR SFP+ transceiver: 850 nm multimode, LC duplex, 300 m on OM3. Image: 10Gtek.

Cisco specifies 10GBASE-SR at 300 m on OM3 and 400 m on OM4, at about 1 W per module, so two SR modules together draw less than one RJ45 module. You need two modules per link, one at each end, plus a duplex LC to LC patch cable; we priced a 2 m FLYPROFiber OM4 cable at about $8. Cisco also notes a 2 m minimum link length for SR and LR optics, so a 0.3 m jumper inside one switch is a job for a DAC instead.

For one SR link you need three parts:

  • two 10GBASE-SR modules, one per end
  • one duplex LC to LC OM4 patch cable
  • a free SFP+ cage at both ends

Best for: a NAS in the closet and a workstation two rooms away. Skip it if both ends sit in the same rack, where a DAC is cheaper, or the far end only has an RJ45 port. A locked Intel X520 also rejects third-party optics, so on that card plan for the driver override further down. The module sells for about $14 each on the 10Gtek SR module listing; check the current price.

4. 10Gtek SFP+ AOC, 5 m

An active optical cable is fiber with the optics fused onto each end, so it reaches farther than a passive DAC and it is still one part. We would use one where a DAC is too short and you do not want separate optics to buy, clean and track.

10Gtek 10G SFP+ active optical cable AOC 5 m with fixed SFP+ ends
10Gtek 10G SFP+ AOC: OM3 fiber with integrated SFP+ ends (family render; the linked cable is 5 m). Image: 10Gtek.

Cisco sells AOCs from 1 to 10 m at about 1 W, and this 10Gtek 5 m cable costs about $22, only about $8 more than the 2 m DAC. Compare that with the active DAC row in the table above: an AOC does the same job past 5 m for a fraction of the price. The trade-off is that the ends are fixed, so the cable cannot go through narrow conduit and the fiber cannot be reused with other optics later. There is also a 1 m version for about $19, but at that length a DAC does the same job for less.

Best for: runs a little past what you want to do in twinax, around 5 m with this cable. For 7 or 10 m, buy the AOC length that covers your run. Pass on it if the cable has to go through conduit, or the fiber should outlive your current optics. It sells for about $22 on the 10Gtek 5 m AOC listing; check the current price.

5. Wiitek SFP+ to RJ45 Module

Copper modules exist for one job: hanging a machine with a native 10GBASE-T port off an SFP+ switch. This Wiitek module is the cheapest one we would trust, at about $29, and its listing claims 1, 2.5, 5 and 10G over a 30 m Cat6a run (Wiitek publishes no datasheet we could find).

Wiitek SFP+ to RJ45 10GBASE-T copper module multi-rate 2.5G 5G 10G
Wiitek SFP+ to RJ45 10GBase-T module, 30 m on Cat6a. Image: Wiitek.

ServeTheHome tested nine modules in 2020 and found the throughput spread from best to worst was only about 4%, so its advice was to buy on price. The one filter it kept was 2.5G and 5G support, because six of the nine modules negotiated those speeds and three did not. An earlier Wiitek SFP-10G-T was its top pick for performance and power, though we cannot confirm this listing ships the same hardware. XZSNET sells a similar multi-rate module for about $30, and that is the one our 10GbE build guide uses.

On the host side, a native 10GBASE-T card does the job at the other end of the cable. Our RTL8127 10GbE card guide covers a low-cost copper card for Linux hosts, which needs kernel 6.16 or newer.

Best for: one or two copper hosts on an SFP+ switch. Look elsewhere if more than three hosts are on copper, which is cheaper on a switch with native 10GBASE-T, or the run is longer than 30 m. It sells for about $29 on the Wiitek SFP+ to RJ45 listing; check the current price.

The SM5310-T costs more than the Wiitek, and what the extra money buys is a published datasheet. The TP-Link datasheet (for hardware v3.0) gives 2.442 W maximum at 10G, 30 m on Cat6a, 100 m at 1, 2.5 and 5G on Cat5e, and an operating range of 0 to 70 C.

TP-Link Omada SM5310-T 10GBASE-T RJ45 SFP+ module
TP-Link Omada SM5310-T: 10GBASE-T RJ45 SFP+ module, 2.442 W max, 30 m on Cat6a. Image: TP-Link.

If you run Omada, you get a module from the same vendor as the switch, which helps when support asks what is plugged in. The datasheet adds two notes worth reading before you order. A 1G link may need the port speed set by hand. When the far end tops out at 2.5 or 5G, you need to enable flow control on the SFP+ port yourself. The price dropped from about $45 in October to about $38 when I checked in late November.

Best for: Omada networks and anyone who wants real specs on paper. Skip it if the network is UniFi or MikroTik, where you are better off with the first-party module from the UI Store or an authorized MikroTik reseller. It sells for about $38 on the TP-Link SM5310-T listing; check the current price.

7. 10Gtek LR Optics and OS2 Fiber

Single-mode is for the run to the garage, the shed or a second building, where 300 to 400 m of multimode is not enough or the fiber in the wall is already single-mode. Cisco specifies 10GBASE-LR at 10 km on single-mode fiber, and these 10Gtek modules cost only a few dollars more than the SR version.

10Gtek 10GBASE-LR SFP+ single-mode transceiver 1310 nm 10 km
10Gtek 10GBase-LR SFP+ transceiver, 1310 nm single-mode, LC duplex. The render shows the 20 km sibling in the same housing; the linked part is the 10 km version. Image: 10Gtek.

A link is two modules plus a duplex LC single-mode cable; with a 15 m FLYPROFiber OS2 cable at about $18, it comes to about $54. That cable was down to its last unit on November 27, so check stock before you plan around it. 10Gtek also sells an LR 2-pack for about $33. Keep SR and LR straight when you buy patch cables, because you cannot mix multimode and single-mode fiber in one link.

Best for: outbuildings and long runs. Skip it if everything is under 300 m, where OM4 multimode with SR modules is the simpler choice. The module sells for about $18 on the 10Gtek LR module listing; check the current price.

8. Cable Matters Cat6a Patch Cable

A copper module or a native 10GBASE-T port is only as good as the cable behind it, and Cat6a or better is what TP-Link and Cisco specify for 10G module links (MikroTik lists Cat6/7). This Cable Matters patch cord is shielded 26 AWG Cat6a at about $9 for 10 feet.

Cable Matters Cat6a S/FTP shielded patch cable 10 ft for 10GBASE-T
Cable Matters Cat6a S/FTP patch cable, 10 ft, 26 AWG. Image: Cable Matters.

Cisco rates native 10GBASE-T ports at 100 m on Cat6a and 55 m on unshielded Cat6, but most SFP+ modules stay at 30 m whatever the cable (Ubiquiti rates its UACC-CM-RJ45-MG for 100 m). If you need several, the 5-pack costs about $23 and is the one our build guide uses. For runs inside a wall, buy solid Cat6a cable and keystones instead of patch cords.

Best for: patching copper modules and 10GBASE-T NICs. Skip it if the runs are in the wall, where solid cable is the right product. It sells for about $9 on the Cable Matters Cat6a listing; check the current price.

Heat and power from 10GBASE-T modules

Copper modules are the one part on this list that can cause you trouble in a small switch, because they run hot. The MikroTik S+RJ10 guidance puts the module at 2.7 W on average on a 30 m link and says the module itself can reach 90 C. It recommends a module in every second cage, with an optic or an empty port between them. The vendor figures for the modules in this guide line up like this:

ModulePower at 10GReach at 10GSource
MikroTik S+RJ102.7 W average (1.5 W max on /r3)30 m (100 m on /r3)MikroTik guidance and product page
Cisco SFP-10G-T-X2.5 W30 m on Cat6a/Cat7Cisco data sheet
TP-Link SM5310-T2.442 W max30 m on Cat6aTP-Link datasheet
Ubiquiti UACC-CM-RJ45-MG1.9 W max100 mUI Store listing
Passive DAC (for scale)about 0.1 Wup to 5 mCisco data sheet

ServeTheHome, testing nine modules, measured the wall-power increase at 2.9 to 3.3 W per module on its test switch, a little above the datasheet numbers. In a homelab the vendor figures work out like this:

  • a module at each end: about 3.8 to 5.4 W per link
  • running all year: about 33 to 47 kWh
  • a passive DAC at the Cisco 0.1 W figure: under 2 kWh a year

Those kWh numbers are arithmetic from the datasheets, not a meter reading. The heat is the bigger problem than the bill, because a fanless four-port switch with two modules side by side can run its cages past what the modules are rated for. If you need more than two or three copper ports, a switch with native 10GBASE-T ports is the better design, and our 10GbE switch guide lists them.

UniFi and MikroTik parts on Amazon

On Amazon US, the first-party Ubiquiti and MikroTik modules are sold by third-party resellers, when they are in stock at all. These are the listings we checked on November 27, 2026, against the vendor prices:

PartAmazon US (reseller)Vendor price
Ubiquiti UACC-CM-RJ45-MG (RJ45 module)out of stock (was about $243 in October)$65 at the UI Store
MikroTik S+RJ10 (RJ45 module)out of stock (was about $218 in October)$65 MikroTik suggested price
Ubiquiti UACC-OM-MM-10G-D-2 (SR optic 2-pack)about $164$20 each for UACC-OM-MM-10G-D at the UI Store

If you run UniFi or MikroTik and want first-party parts, buy them from the vendor store or an authorized reseller. Otherwise, the third-party parts above work in most homelab switches, and our Omada vs UniFi comparison covers the wider ecosystem choice.

Which NICs and switches lock vendor coding?

Every SFP+ module and DAC carries an EEPROM with a vendor name and part number. Most homelab switches read it and move on, but a few NICs compare it against a list and refuse anything else. The cards and switches we see most often behave like this:

PlatformThird-party modulesOverride
Intel X520 (82599, ixgbe)Optics: Intel only on many cards. DAC: any SFF-8431 compliant cableallow_unsupported_sfp=1
Intel X710 and E810 (i40e, ice)Some cards take only Intel opticsNone in the driver
NVIDIA ConnectXValidated list per firmware releasePick a cable on the validated list
MikroTikNo restrictions per MikroTikNot needed
UniFiUI markets its own optics as any-brand compatibleSFP Wizard reprograms modules

Intel X520 (ixgbe)

The ixgbe kernel docs say an 82599 adapter that shipped with Intel optics, or an X520-2, “only supports Intel optics and/or the direct attach cables listed”. The same page says 82599 adapters support all passive and active limiting DACs that comply with SFF-8431 v4.1 and SFF-8472 v10.4, so a decent third-party DAC usually links up without any change. Optics are where the X520 bites. The Intel support article is blunt about it: other brands of SFP+ optical modules will not work with the X520 series. The driver option allow_unsupported_sfp=1 is the way around it, and the steps follow in the next section.

Intel X710 and E810 (i40e, ice)

The i40e kernel docs say some 700-series adapters only support Intel Ethernet Optics modules, and on those “other modules are not supported and will not function”. There is no driver option to change that. The E810 driver (ice) has the same refusal built in, judging by its source, though the ice docs carry no matching note. On the Debian 13 test VM, modinfo -p i40e listed a single parameter, debug, and nothing about SFP modules. The docs do not say whether the lock covers DACs, which is why the Intel-coded cable in pick 2 is the low-risk buy for an X710.

NVIDIA (Mellanox) ConnectX

NVIDIA publishes the cables it validated for each firmware release, and the ConnectX-4 Lx notes list NVIDIA passive copper up to 7 m alongside SR and LR modules. The notes point to the LinkX configurator for the full supported list. If you want a part number that matches that list exactly, the Mellanox-coded 10Gtek cable in pick 2 carries the MC3309130-001 code. Our 10GbE NIC guide for Proxmox covers which ConnectX and Intel cards are worth buying used before you spend money on cables.

MikroTik

MikroTik is the easy one. Its wired interface compatibility page says MikroTik devices and modules “do not have any restrictions for other vendor equipment”, as long as the parts follow the MSA. The one catch is the S+RJ10, which MikroTik documents as working with auto-negotiation only, so leave the port on auto rather than forcing 10G.

UniFi

Ubiquiti sells its 10G optics under a “Universal Optics, Any Brand Compatible” banner in the UI Store, and it also sells an SFP Wizard for $35 that reprograms a module EEPROM. That tool is the clue: if a UniFi switch ever balks at a third-party part, the fix is to recode the module, not to change a setting on the switch.

Unlock an Intel X520 for third-party optics on Linux

This section is for the X520 owner who bought cheap SR or LR optics and got a dead port. I ran every command below on Debian 13 and Rocky Linux 10.2 VMs on Google Cloud, with the kernels those images ship. Neither had an X520 in it, so this proves the driver and initramfs side, which is where most people get stuck. First confirm your kernel ships the option:

sudo modinfo -p ixgbe

The parameter list is short, and allow_unsupported_sfp is the one you want. The description confirms it only applies to 82599-based cards:

max_vfs:Maximum number of virtual functions to allocate per physical function - default is zero and maximum value is 63. (Deprecated) (uint)
allow_unsupported_sfp:Allow unsupported and untested SFP+ modules on 82599-based adapters (bool)
debug:Debug level (0=none,...,16=all) (int)

Two things tripped me up getting here, and both will hit you on Debian:

  • modinfo lives in /usr/sbin, so a plain user gets “command not found”
  • the -cloud-amd64 kernel ships without ixgbe at all

The second one matters if you pass an X520 through to a VM built from a cloud image. Install linux-image-amd64 there first. With the option confirmed, write it to a modprobe file so it survives reboots:

echo "options ixgbe allow_unsupported_sfp=1" | sudo tee /etc/modprobe.d/ixgbe.conf

Then rebuild the initramfs, because on Debian, Ubuntu and Proxmox the ixgbe module is packed into it and loads before the root filesystem is mounted:

sudo update-initramfs -u

It took about 13 seconds on a small two-core machine and printed one line:

update-initramfs: Generating /boot/initrd.img-6.12.118+deb13-amd64

Check that both the driver and your config file made it into the image:

lsinitramfs /boot/initrd.img-$(uname -r) | grep -E "ixgbe"

The last line is the one that matters. Without etc/modprobe.d/ixgbe.conf in this list, the driver loads from the initramfs with the default and the port stays dead:

usr/lib/modules/6.12.118+deb13-amd64/kernel/drivers/net/ethernet/intel/ixgbe
usr/lib/modules/6.12.118+deb13-amd64/kernel/drivers/net/ethernet/intel/ixgbe/ixgbe.ko.xz
usr/lib/modules/6.12.118+deb13-amd64/kernel/drivers/net/ethernet/intel/ixgbevf
usr/lib/modules/6.12.118+deb13-amd64/kernel/drivers/net/ethernet/intel/ixgbevf/ixgbevf.ko.xz
etc/modprobe.d/ixgbe.conf

Reboot rather than reloading the driver by hand. Unloading ixgbe drops every port on it, so if your SSH session runs over the X520 you will lose it; do this from the console or another NIC. After the reboot, ask the running driver what it was loaded with:

cat /sys/module/ixgbe/parameters/allow_unsupported_sfp

A single Y means the option is live in the running driver. An N means the file name or the option spelling is wrong, or the initramfs was not rebuilt. This is what the Rocky VM printed once ixgbe was loaded with the config file in place:

Y

My first check was the wrong one. I checked with sudo modprobe -n -v ixgbe, which printed a neat insmod line ending in allow_unsupported_sfp=1 while the driver was not loaded. Once ixgbe was loaded, as it always is on a host with an X520, the same command printed nothing and exited 0, because a dry run skips modules already in the kernel. If you want to see what modprobe would pass regardless, use --show-depends:

sudo modprobe --show-depends ixgbe

On the Rocky VM with ixgbe loaded, the last line carried the option:

insmod /lib/modules/6.12.0-211.68.1+2.1.el10_2_ciq.x86_64/kernel/drivers/dca/dca.ko.xz
insmod /lib/modules/6.12.0-211.68.1+2.1.el10_2_ciq.x86_64/kernel/drivers/net/mdio.ko.xz
insmod /lib/modules/6.12.0-211.68.1+2.1.el10_2_ciq.x86_64/kernel/drivers/net/ethernet/intel/libie/libie_fwlog.ko.xz
insmod /lib/modules/6.12.0-211.68.1+2.1.el10_2_ciq.x86_64/kernel/drivers/net/ethernet/intel/ixgbe/ixgbe.ko.xz allow_unsupported_sfp=1

With the option live, plug the optic in and watch sudo dmesg -w. The ixgbe source prints a warning that starts “WARNING: Intel (R) Network Connections are quality tested using Intel (R) Ethernet Optics” when it accepts an untested module, and that line is your sign the override did its job.

The same fix on Rocky Linux and RHEL

The modprobe file is identical on RHEL-family systems, and dracut replaces update-initramfs. Here I hit the one surprise of the run. A plain sudo dracut -f took about 43 seconds, printed errors about sgdisk and growpart, and still exited cleanly; those two are cloud-image disk tools, and the errors do not affect the NIC. Then sudo lsinitrd | grep -E "ixgbe" showed only the config file:

-rw-r--r--   1 root     root           38 Jul 28 00:00 etc/modprobe.d/ixgbe.conf

On that machine the ixgbe module itself was not in the initramfs, so the driver loads later from the root filesystem and reads /etc/modprobe.d there, which works fine. If you want the driver inside the initramfs, for example because the host boots or mounts storage over the X520, add it explicitly:

sudo dracut -f --add-drivers ixgbe

That run took about two and a half minutes on the same small machine, and afterwards lsinitrd listed the module next to the config:

-rw-r--r--   1 root     root           38 Jul 28 00:00 etc/modprobe.d/ixgbe.conf
drwxr-xr-x   2 root     root            0 Jul 28 00:00 usr/lib/modules/6.12.0-211.68.1+2.1.el10_2_ciq.x86_64/kernel/drivers/net/ethernet/intel/ixgbe
-rw-r--r--   1 root     root       226296 Jul 28 00:00 usr/lib/modules/6.12.0-211.68.1+2.1.el10_2_ciq.x86_64/kernel/drivers/net/ethernet/intel/ixgbe/ixgbe.ko.xz

After the reboot, the same cat /sys/module/ixgbe/parameters/allow_unsupported_sfp check applies; on the Rocky VM, loading ixgbe with the config in place printed Y. On a card that takes the option, the module should come up as long as the driver knows its type.

When a module is not recognized

Start by reading what the module says it is. On Linux, ethtool -m retrieves and, where it can, decodes the EEPROM of a plugged-in module, which is where the vendor name and part number live. Run it against the physical SFP+ port:

sudo ethtool -m enp1s0f0

Replace enp1s0f0 with your SFP+ interface from ip -br link. Run it inside a VM or against a NIC whose driver cannot read module EEPROMs, and you get the error below. I got exactly that on a Google Cloud VM NIC with ethtool 6.14, so it means “wrong interface”, not “bad module”:

netlink error: Operation not supported

On a MikroTik switch, the RouterOS equivalent is /interface ethernet monitor sfp-sfpplus1, which shows fields such as sfp-vendor-name, sfp-vendor-part-number and sfp-temperature. Per the MikroTik Ethernet manual, a module with a bad EEPROM checksum shows no EEPROM information at all, which is a useful sign the module itself is faulty.

failed to load because an unsupported SFP+ or QSFP module type was detected

This is the ixgbe message in the kernel log on an X520 that rejected a module. If the module is an optic from another vendor, apply the allow_unsupported_sfp=1 steps above and reboot. If the message persists with the option set, the driver does not know the module type at all, which the option cannot fix: swap to a different module or to a DAC.

failed to initialize because an unsupported SFP+ module type was detected

This is the variant you are more likely to see, because it fires when you plug an optic into an X520 that is already running. The ixgbe source follows it with “Reload the driver after installing a supported module”, and the port disappears from ip -br link until you do. The fix is the same modprobe file and a reboot, done from the console because that port is gone.

Rx/Tx is disabled on this device because an unsupported SFP module type was detected

This one comes from i40e on X710 cards, and ice prints the same sentence with “unsupported module type”. There is no driver parameter to flip, so the fixes are hardware: an Intel optic, or an Intel-coded DAC such as pick 2. The i40e driver also has a separate variant ending in “because the module does not meet thermal requirements”, which points at airflow or a hot RJ45 module rather than coding.

Link comes up at 1G or not at all on an RJ45 module

Check the cage temperature first, then the speed settings. The S+RJ10 needs auto-negotiation, the SM5310-T may need the port speed set by hand for 1G, and three of the nine modules ServeTheHome tested did not negotiate 2.5 or 5G at all. If the far end is a 2.5G or 5G NIC and the module is one of those, no setting will help, and a multi-rate module like the Wiitek is the fix.

Keep reading

Free CCNA 200-301 Practice Questions with Answers Networking Free CCNA 200-301 Practice Questions with Answers Install Samba on Debian 13 / 12 and Create a File Share Debian Install Samba on Debian 13 / 12 and Create a File Share Configure Samba File Sharing on Linux Mint 22 Networking Configure Samba File Sharing on Linux Mint 22 GL.iNet Security Notice: Check Your Router for Malware and Update Networking GL.iNet Security Notice: Check Your Router for Malware and Update CompTIA A+ Practice Questions for 220-1201 and 220-1202 Networking CompTIA A+ Practice Questions for 220-1201 and 220-1202 Datacenter vs Residential Proxies: Differences and Which to Use Networking Datacenter vs Residential Proxies: Differences and Which to Use

Leave a Comment

Press ESC to close