👍 What we like
- 10 GbE link between two machines without an SFP+ switch
- i40e driver already included in the Linux kernel
- Reversible, verifiable configuration with netplan try
- A passive DAC cable needs no module or fiber and draws almost no power
👎 What to watch
- The TL-SG108-M2 does not support 10 GbE and cannot connect to the X710-DA2
- A direct link only connects two machines; beyond that you need a switch with SFP+ ports
- Some cards and switches reject unqualified DAC cables or modules
- SFP+ to RJ45 modules run hot and stop at 30 m at 10 Gbps
- Each machine needs a free PCIe x8 slot
📑 Contents ▾
- 01 What 10 GbE changes in a homelab
- 02 SFP+ or RJ45 10GBASE-T: the choice that drives everything else
- 03 Network cards and switch: what you need on each side
- 04 SFP+ DAC cable: which one to buy, and when to switch to AOC
- 05 SFP+ modules for a rack: multimode fiber or RJ45
- 06 Tutorial: direct 10 GbE link between two X710-DA2 cards
- 07 Checks after a reboot
- 08 Securing the 10 GbE link
- 09 Troubleshooting common errors
- 10 FAQ
- Our picks
To move a homelab to 10 GbE, you need a 10 Gbps port at each end of the link: either an SFP+ cage, which takes a DAC cable, a fiber module or an RJ45 module, or an RJ45 10GBASE-T port. With only two machines, two Intel X710-DA2 cards connected by an SFP+ DAC cable are enough, with no switch; beyond two, you need a switch with SFP+ cages. The medium depends on distance: DAC inside the rack, multimode fiber to go from one room to another, an RJ45 module only to reuse copper cabling or to connect a device that only has RJ45. The TP-Link TL-SG108-M2, often suggested alongside these cards, is a 2.5 GbE switch: it does not do 10 GbE.
The first part of this page helps you choose the medium and the hardware; the second walks through a direct link between two X710-DA2 cards on Ubuntu 24.04, step by step. The specifications quoted come from the manufacturers’ spec sheets and documentation: Selfhostr has not tested these products.
What 10 GbE changes in a homelab
The gain shows up on large transfers between two machines: backups, NFS or iSCSI storage for a hypervisor, copying large files from a NAS. For Home Assistant, web services or video playback, Gigabit is enough. Actual throughput also depends on the CPUs, the PCIe slot and the drives: a 10 GbE link does not speed up a NAS whose drives cannot keep up.
Watch out for “multi-gigabit” gear: a switch like the TL-SG108-M2 or a card built on the Intel I225 chip runs at 2.5 GbE, not 10 GbE. The product must explicitly state 10 Gbps.
SFP+ or RJ45 10GBASE-T: the choice that drives everything else
An SFP+ port is an empty cage. You plug into it a DAC cable (twinax copper with an SFP+ connector at each end), an active optical cable (AOC), an optical module connected to a fiber, or an SFP+ to RJ45 module. A regular SFP port is designed for 1 Gbps: to reach 10 Gbps, you need SFP+ on both sides.
An RJ45 10GBASE-T port takes a twisted-pair Ethernet cable. The standard allows up to 100 m over Cat6a, less over Cat6. The trade-off is that pushing 10 Gbps over copper requires electronics that run hotter and draw more power than an SFP+ port fitted with a DAC: 10G RJ45 cards and modules are noticeably hotter.
Two practical differences weigh on the choice:
- An SFP+ to RJ45 module reaches less far than the standard. TP-Link and MikroTik specify 30 m at 10 Gbps for their modules, versus 100 m over Cat6a for a native 10GBASE-T port. TP-Link only lists Cat5e for 1, 2.5 and 5 Gbps.
- Compatibility is mostly an SFP+ issue. Some cards and switches only accept the modules and cables listed by their manufacturer; a second-hand brand-name switch may disable a port holding a generic module. Intel states that some cards in its 700 Series, the X710’s family, only accept qualified modules. Check each device’s compatibility list before buying.
| Medium | Cable | Reach at 10 Gbps | Power draw | Typical use |
|---|---|---|---|---|
| Passive SFP+ DAC | Pre-terminated twinax, fixed length | Up to 10 m with the X710-DA2 (Intel spec sheet) | Negligible (passive cable) | Two devices in the same rack |
| SFP+ AOC | Pre-terminated fiber, built-in transceivers | Longer than a DAC, fixed length | Low | Devices a few meters apart, flexible cable |
| Multimode fiber module (Ubiquiti UF-MM-10G) | OM3 or OM4 patch cord, duplex LC; one module at each end | 300 m over OM3, 400 m over OM4 | 0.8 W max | Link between two rooms |
| SFP+ to RJ45 module (TP-Link TL-SM5310-T, MikroTik S+RJ10) | Cat6a (TP-Link), Cat6/7 (MikroTik) | 30 m | Roughly 2.4 to 2.7 W | Connecting a 10G RJ45 device to an SFP+ cage |
| Native RJ45 10GBASE-T port | Cat6a | 100 m over Cat6a (standard) | Higher than SFP+, runs hot | Existing copper cabling, hardware already on RJ45 |
Values from the manufacturers’ spec sheets (Intel, Ubiquiti, TP-Link, MikroTik) and the 10GBASE-T standard.
Network cards and switch: what you need on each side
Intel X710-DA2. Dual-port SFP+ card from Intel’s 700 Series (codename Fortville, launched in late 2014), at 10 or 1 GbE per port, in PCIe 3.0 x8 format, compatible with a low-profile or full-height bracket. Intel’s spec sheet lists SR-IOV, flexible port partitioning and iSCSI and NFS storage. Its i40e driver is included in the Linux kernel: it is the card used in the tutorial below.
Intel X520-DA2. Previous generation: Intel 82599 controller, two 10 GbE SFP+ ports, operating temperature of 0 to 55 °C according to the spec sheet. You can find it new or second-hand. Like the X710, it accepts DACs and modules, but its driver may reject modules not validated by Intel. The tutorial’s method applies with a different kernel driver: ethtool -i tells you which.
For RJ45 10GBASE-T cards and other SFP+ models, see our comparison of 10 GbE network cards.
On the switch side. The TP-Link TL-SG108-M2 has 8 RJ45 ports at 100 Mb/s, 1 and 2.5 Gb/s, no SFP+ cage, no web interface, no fan, and draws 8.45 W max according to TP-Link: it serves the 2.5 GbE LAN, not 10 GbE. The TP-Link TL-SG108TE is an 8-port Gigabit (1 Gbps) switch, with no 10 GbE port and no fan: it belongs on the rest of the LAN, not on the fast link.
To connect more than two machines at 10 GbE, you need a switch with SFP+ cages: for example a MikroTik CRS305-1G-4S+IN (four SFP+ cages and one Gigabit port) or CRS309-1G-8S+IN (eight SFP+ cages, 23 W max according to MikroTik), or a mixed model like the MikroTik CRS310-8G+2S+IN, which pairs eight 2.5 GbE ports with two SFP+ cages. The models are compared in our guide to 10GbE SFP+ switches for homelabs, and multi-gigabit switches in our guide to 2.5 GbE switches. The Linux configuration described below stays the same with a switch.
SFP+ DAC cable: which one to buy, and when to switch to AOC
A passive DAC contains no active components: it draws very little power, does not heat up and needs no module. It is the cheapest way to connect a card to a switch, or two cards to each other, in the same rack. Intel specifies twinax cables up to 10 m for the X710-DA2; inside a rack, 1 to 3 m is enough, and an overly long cable just gets in the way. Its drawbacks: it is thick and stiff, and its length is fixed when you buy it.
What matters when buying one:
- Compliance and coding. Intel states that passive or active “limiting” DACs compliant with SFF-8431 v4.1 and SFF-8472 v10.4 should work with the X710, except on cards that require qualified modules. Many DACs are sold “coded” for a brand (Cisco, Dell, HP, MikroTik, Ubiquiti…): pick the one that matches the stricter of the two ends, often the Intel card or the brand-name switch.
- Latching. A connector that does not click firmly into the cage can pop out during handling and cut access to the NAS or the hypervisor’s storage.
- Length. Measure the actual path in the rack, cable managers included.
Passive DACs from 10Gtek are widely available in several lengths; a 1 m model is enough for two devices stacked in a rack.
An active optical cable (AOC) looks like an ordinary cable but carries the signal over fiber, with a transceiver built into each end. It is thinner and more flexible than a DAC and reaches farther, at the cost of a small power draw. It helps when the server is a few meters from the switch, or when a stiff DAC gets in the way in a dense rack: for example a 5 m active SFP+ AOC from FS.com, a brand that sells its cables coded for several manufacturers. Its length is still fixed at purchase: for a longer run or one that goes through a wall, two fiber modules and a patch cord are easier to install and replace (next section).
The QSFP+ to 4x SFP+ breakout cable is a special case: it connects one QSFP+ port to four 10G SFP+ ports. It is only useful if your switch has a QSFP+ port that supports this mode (check its documentation); it does not connect two X710-DA2 cards to each other.
SFP+ modules for a rack: multimode fiber or RJ45
A network rack is a piece of furniture: it has no network compatibility of its own. What matters are the SFP+ cages on the switch, the server’s network card and the NAS, and the cable that links them. Every module transmits (TX) and receives (RX); its type is what determines the cable. A multimode optical module connects to fiber, an RJ45 module to an Ethernet cable: buying one instead of the other gives you a product you cannot use in your setup. For organizing the rack itself, see our guide to building a network rack at home.
Ubiquiti UF-MM-10G. 10 Gbps multimode SFP+ optical module: 850 nm transmitter, duplex LC connector. Ubiquiti now sells it under the part number UACC-OM-MM-10G-D, including as a pair, which is convenient since you need one at each end of the fiber. It reaches 300 m over OM3 and 400 m over OM4, draws 0.8 W max and operates between 0 and 70 °C. You need a multimode patch cord and an SFP+ cage on both sides; check that the card or switch accepts Ubiquiti modules.
TP-Link TL-SM5310-T. SFP+ to RJ45 10GBASE-T module. It runs at 10, 5, 2.5 and 1 Gbps as well as 100 Mbps. TP-Link specifies 30 m at 10 Gbps over Cat6a or better and 100 m over Cat5e at 1, 2.5 and 5 Gbps, 2.442 W max at 10 Gbps, an operating range of 0 to 70 °C and DDM monitoring (temperature and voltage). According to TP-Link, manual speed setting may be needed at 1 Gbps, and flow control must be enabled when the device at the other end tops out at 2.5 or 5 Gbps. TP-Link publishes a compatibility list: check it before buying.
MikroTik S+RJ10. Another SFP+ to RJ45 module, designed for MikroTik equipment: according to the manufacturer, all its current devices with an SFP+ cage support it. It handles six speeds, from 10 Mbps to 10 Gbps, and holds 30 m at 10 Gbps over Cat6/7. Its spec sheet states 2.4 W max, its documentation 2.7 W on average over a 30 m link. MikroTik warns that the module can reach 90 °C, recommends leaving a free port or an optical module between two S+RJ10 modules, and extra cooling on passively cooled devices. Its maximum speed is the same as the TP-Link’s: it is mainly the logical choice on a MikroTik network. You will also find SFP+ to RJ45 10GBASE-T modules sold as MikroTik-compatible: same reach and heat limits, and compatibility to check model by model. These are not DAC cables.
To choose, start from your cabling:
- You can run fiber, or the link exceeds 30 m: one optical module at each end and OM3 or OM4 multimode fiber. It is also the most power-efficient option.
- The NAS or server has an RJ45 10GBASE-T port, the switch only has SFP+ cages, and the cable is under 30 m: one RJ45 module on the switch side, after checking the compatibility list.
- Your switch is a MikroTik: the S+RJ10, respecting the recommended spacing between two modules.
For the budget, compare the full link: an optical link needs two modules plus the fiber, an RJ45 link a single module if the device at the other end already has an RJ45 10GBASE-T port. Prices vary between stores.
Tutorial: direct 10 GbE link between two X710-DA2 cards
The simplest and most reliable method for two machines is a direct point-to-point link. Each one gets an X710-DA2 card, an SFP+ DAC cable connects them, and the link uses a dedicated subnet, for example between a hypervisor and a NAS. The TL-SG108-M2 keeps its role as a 2.5 GbE switch for the rest of the local network.
Prerequisites
- Two machines running Ubuntu 24.04 LTS (or a recent distribution that uses Netplan), each with a free PCIe slot, ideally wired as x8. The X710-DA2 is a low-profile PCIe 3.0 x8 card.
- Two Intel X710-DA2 cards (one per machine).
- One SFP+ DAC cable (twinax). No cable comes with the cards. Intel states that passive or active “limiting” DACs compliant with SFF-8431 v4.1 and SFF-8472 v10.4 should be compatible. However, some 700 Series cards only accept qualified modules, so check the compatibility list for your card (especially if it is an OEM Dell, HPE, etc. card).
- Console or SSH access from the local network on each machine, with an account that has
sudorights. - For the rest of the LAN: the TL-SG108-M2 switch, used only for the 1 or 2.5 GbE RJ45 ports.
Step 1: Install the card and check that it is detected
Shut down the machine, unplug it, then install the X710-DA2 in an x8 (or wider) PCIe slot. After booting, check that the system sees the card and which PCIe link width it negotiated:
lspci -nn | grep -i ethernet
# Find the "Ethernet Controller X710 for 10GbE SFP+" line and its address, e.g. 01:00.0
sudo lspci -vv -s 01:00.0 | grep -E 'LnkCap|LnkSta'
Check: the LnkSta line should show the same width as LnkCap (Width x8). If it shows x4 or x1, the card is in a slot that limits its throughput: move it to another slot.
Step 2: Check the i40e driver (nothing to install)
The X710 uses the i40e driver, which is part of the Linux kernel and ships with Ubuntu 24.04. There is no proprietary .deb package to install. Check that the module is loaded and which interfaces it created:
lsmod | grep i40e
ip -br link
sudo apt update && sudo apt install -y ethtool
sudo ethtool -i enp1s0f0 # replace with the name shown by "ip -br link"
Check: ethtool -i should show driver: i40e along with the card’s firmware versions. Interface names (enp1s0f0, enp1s0f1…) depend on the machine, so note yours. If you plan to update the firmware (NVM), only use Intel’s official tool or the card vendor’s tool, following the documentation for your model.
Step 3: Connect the DAC cable between the two cards
Connect the SFP+ DAC between one port of the X710 in machine A and one port of the X710 in machine B. Do not try to connect the card to the TL-SG108-M2: it has no SFP+ cage. Then check that the link comes up:
sudo ip link set enp1s0f0 up
sudo ethtool enp1s0f0 | grep -E 'Speed|Duplex|Link detected'
sudo dmesg | grep -i i40e | tail -n 20
Check: you should see Speed: 10000Mb/s, Duplex: Full and Link detected: yes. If dmesg reports “unqualified module” or “unsupported SFP+ module type”, the card is rejecting the cable: see the Troubleshooting section.
Step 4: Configure the 10 GbE interface with Netplan
On each machine, create a separate Netplan file for the 10 GbE link. Leave the existing file that configures the LAN interface alone (often 50-cloud-init.yaml or 01-netcfg.yaml). The interface is matched by its MAC address, which the Netplan documentation recommends for the MTU setting to work reliably. You can get the MAC from ip -br link.
The point-to-point link declares no gateway and no DNS: the default route stays on the LAN. The gateway4 key is deprecated anyway; if you need a gateway, use routes: with to: default.
sudo nano /etc/netplan/60-lien-10g.yaml
# Machine A (on machine B: address 10.10.10.2/30 and its own MAC)
network:
version: 2
ethernets:
lan10g:
match:
macaddress: "aa:bb:cc:dd:ee:01"
set-name: lan10g
mtu: 9000
addresses:
- 10.10.10.1/30
sudo chmod 600 /etc/netplan/60-lien-10g.yaml
sudo netplan generate
sudo netplan try # automatically reverts after 120 s unless you confirm
If you don’t want to use jumbo frames, remove the mtu: 9000 line. The maximum MTU supported by i40e is 9702; whatever value you choose, it must be identical on both ends. If the 10.10.10.0/30 subnet is already in use on your network, pick another one.
Check:
ip -br addr show lan10g
ip link show lan10g | grep -o 'mtu [0-9]*'
ip route get 10.10.10.2 # should show "dev lan10g"
Step 5: Test the link and measure throughput with iperf3
First check that the two machines can reach each other and that jumbo frames pass without fragmentation. 8972 bytes of payload + 28 bytes of IP/ICMP headers = 9000:
ping -c 4 10.10.10.2
ping -c 4 -M do -s 8972 10.10.10.2 # only if MTU is 9000 on both sides
Install iperf3 on both machines. If the installer asks whether to run iperf3 as a service, answer “No”: the server only runs during the test.
sudo apt install -y iperf3
On machine A (server), listen only on the 10 GbE address. The -1 option makes the server exit after a single test (TCP port 5201 by default):
iperf3 -s -B 10.10.10.1 -1
On machine B (client):
iperf3 -c 10.10.10.1 -t 30 -P 4 # B to A, 4 parallel streams
Start iperf3 -s -B 10.10.10.1 -1 on A again, then test the reverse direction from B:
iperf3 -c 10.10.10.1 -t 30 -P 4 -R # A to B
Check: the [SUM] line in the output gives the aggregate throughput. Actual throughput depends on the CPUs, the PCIe slot and the MTU. Compare it with the same test over your LAN link: if the result stays at 1 or 2.5 GbE levels, the traffic is not going through lan10g. In that case, check ip route get and the -B option.
Step 6: Keep the TL-SG108-M2 for the 2.5 GbE LAN
The TL-SG108-M2 is plug-and-play: it has no web interface and nothing to configure. Connect the machines’ built-in RJ45 ports (ideally 2.5 GbE ports) and your ISP router or router to it. The 10 GbE link handles large transfers between A and B (backups, NFS or iSCSI storage for a hypervisor), and the switch serves everything else.
sudo ethtool eno1 | grep -E 'Speed|Link detected' # replace eno1 with your LAN interface
Check: Speed: 2500Mb/s if the machine’s NIC and the cable (Cat 5e or better) support 2.5 GbE, otherwise 1000Mb/s.
Checks after a reboot
ip -br addr # lan10g UP with 10.10.10.x/30
sudo ethtool lan10g | grep Speed # 10000Mb/s
ip route # the default route does NOT use lan10g
sudo journalctl -k -b | grep -i i40e # no module or link errors
Then reboot one of the machines and run these checks again to confirm that the Netplan configuration is applied at boot.
Securing the 10 GbE link
- Keep the 10 GbE link private. It has no gateway and must not be routed to the Internet. Make the services that use it (NFS, SMB, iSCSI) listen only on
10.10.10.x, and never expose SMB, SSH, the Docker socket or an admin interface to the Internet. - Firewall without locking yourself out. With UFW, allow SSH before enabling the firewall:
sudo ufw allow from 192.168.1.0/24 to any port 22 proto tcp # adapt to your LAN subnet
sudo ufw allow in on lan10g from 10.10.10.0/30
sudo ufw enable
sudo ufw status verbose
- Test network changes with
netplan tryso they roll back automatically, especially when working remotely. - Don’t leave iperf3 running as a permanent service: the
-1option stops the server after the test. - Keep the system updated (
sudo apt update && sudo apt upgrade), which includes kernel fixes and therefore fixes to the i40e driver.
Troubleshooting common errors
- Symptom: no link, and
dmesgshows “unqualified module” or “Rx/Tx is disabled… unsupported SFP+ module type”. Cause: the card does not accept the DAC cable or module. Fix: use an SFF-8431/SFF-8472-compliant DAC that is on the compatibility list from Intel or your card’s vendor (watch out for OEM cards). - Symptom: a switch shows the SFP+ port as disabled as soon as a module or DAC is inserted. Cause: the switch firmware only accepts modules from its own brand or its list. Fix: use a module or DAC from the manufacturer’s list, or one coded for that brand.
- Symptom:
ethtoolshowsSpeed: 1000Mb/s. Cause: a 1 GbE SFP module is plugged in instead of a DAC or 10 GbE module. Fix: replace it with a 10 GbE SFP+ cable or module on both ends. - Symptom: an SFP+ to RJ45 module gets very hot and the link drops from time to time. Cause: several RJ45 modules side by side, or a passively cooled switch. Fix: space the modules out (MikroTik recommends a free port or an optical module between two S+RJ10 modules), add airflow, or move to DAC or fiber.
- Symptom: a normal ping works, but
ping -M do -s 8972fails and transfers stall. Cause: the MTU is not the same on both sides. Fix: set the samemtu:value in both Netplan files, or go back to 1500. - Symptom: disappointing iperf3 throughput.
Cause: a single stream, a limited PCIe slot (
LnkStalower thanLnkCap), a saturated CPU or traffic going over the LAN. Fix: use-P 4, and checklspci -vv,topandip route get. - Symptom: the interface doesn’t get its address after a reboot.
Cause: the MAC was copied incorrectly or the YAML is badly indented.
Fix: run
sudo netplan generate, which reports errors, and compare the MAC withip -br link.
FAQ
Can the Intel X710-DA2 be connected to the TP-Link TL-SG108-M2?
No. The X710-DA2 only has SFP+ cages, and the TL-SG108-M2 only has RJ45 ports limited to 2.5 Gb/s. This switch will never do 10 GbE. To connect several machines at 10 GbE, you need a switch with SFP+ ports; with only two machines, the direct DAC link described here is enough.
DAC or fiber module: which one to connect a NAS to the switch?
In the same rack, the DAC: it is cheaper, draws almost no power and needs no module. If the NAS is in another room, or the run is longer than a DAC, use multimode fiber with a module at each end (300 m over OM3 for the Ubiquiti UF-MM-10G).
SFP or SFP+: what is the difference?
A regular SFP port is designed for 1 Gbps; SFP+ goes up to 10 Gbps. A 10 Gbps module needs an SFP+ cage; a 1 GbE SFP module may work in an SFP+ cage, but only at 1 Gbps.
Do I need to install a proprietary Intel driver?
No. The i40e driver is included in the Ubuntu 24.04 kernel. Intel also publishes out-of-tree driver releases, but they aren’t needed for homelab use.
Can an SFP+ to RJ45 module connect the X710 to the 2.5 GbE switch?
Don’t count on it. The X710 runs at 10 GbE (and 1 GbE with suitable modules), and compatibility with copper RJ45 modules and multi-gigabit speeds is not guaranteed. Check Intel’s documentation for your card before buying anything.
Are jumbo frames required?
No. They can reduce CPU load for large transfers, but the link works at MTU 1500. If you enable them, use the same value on each end.
Key facts
Our picks
Affiliate links · same price for youIntel X520-DA2 (SFP+)
Amazon · price and availability on the listing
10Gtek passive SFP+ DAC 1m
Amazon · price and availability on the listing
Ubiquiti UF-MM-10G
Amazon · price and availability on the listing
TP-Link TL-SM5310-T
Amazon · price and availability on the listing
TP-Link TL-SG108TE (RJ45)
Amazon · price and availability on the listing
QSFP+ to 4x SFP+ 10G DAC cable
Amazon · price and availability on the listing
See all our recommended gear in the shop.