Back to The LabClusteringGB10

How to connect two GB10 systems into a cluster

Linking two GB10 systems over ConnectX-7, step by step from NVIDIA's playbook: the cables NVIDIA and the system makers list, the netplan addresses, SSH, the NCCL test, and when you need a switch.

5 min read AI StoreLabs

Two NVIDIA DGX Spark units stacked

Every GB10 system has an NVIDIA ConnectX-7 network adapter with two QSFP ports. NVIDIA: "Each port provides up to 200 Gigabits per second (Gb/s)".[1] HP and Lenovo publish the same 200 Gb/s per port for the ZGX Nano and ThinkStation PGX.[2][3] Two units linked with one cable can run larger models than one alone: NVIDIA's user guide gives up to 200 billion parameters for one DGX Spark and 405 billion for two.[4] No switch is needed for two.

NVIDIA now offers two ways to set this up. NVIDIA Sync's Cluster Assistant does it for you and needs "the April 2026 DGX OS release or later"; NVIDIA estimates about 10 minutes for that route against about an hour by hand.[5] The manual steps below follow NVIDIA's Connect Two Sparks playbook.[6]

What you need

  • Two GB10 systems. NVIDIA's Cluster Assistant "supports only DGX Spark and GB10 devices".[7] Every manufacturer documents linking two of its own units; none of them documents pairing a DGX Spark with another brand. To stay on documented ground, use two of the same model.
  • One cable. "Full bandwidth can be achieved with just one QSFP cable."[6] A second cable "will not improve performance".[7]
  • The same username on both systems for the manual route, where NVIDIA lists it as a prerequisite.[6] With NVIDIA Sync it is optional.[5]

Which cable

The port is capped at 200 Gb/s, so "using a cable with higher speed is not beneficial".[1] These are the cables named by NVIDIA and by the system makers:

Cable Listed by Length
Amphenol NJAAKK-N911 NVIDIA, approved for DGX Spark[1][7] 400 mm
Luxshare LMTQF022-SD-R NVIDIA, approved for DGX Spark[1][7] 400 mm
NVIDIA 930-51986-0000-000 NVIDIA, "QSFP Cable 0.4m for DGX Spark"[8] 0.4 m
HP C20MQAA HP, option for the ZGX Nano G1n[2] 0.4 m
Lenovo 4X91U42988 Lenovo, "PGX ConnectX-7 cable"[9] Not stated
MSI 956-C931-101 MSI, for the EdgeXpert[10] 400 mm

Use the cable that the maker of your system lists. We do not sell a cable that we can match to every GB10 system from a manufacturer source; ask us and we will source the one listed for your model.

1. Plug in the cable

  • NVIDIA describes QSFP as "hot-swappable", so the systems can stay on.[1]
  • Hold the connector with the pull-tab facing up. It should slide in without force; NVIDIA warns that forcing a misaligned connector "can damage the port". To remove it, pull the pull-tab.[1]
  • For the manual route, "use the same physical port on each device to prevent issues with NCCL tests".[6] Seen from the back, the left port is the one closest to the Ethernet port.[1] With NVIDIA Sync, either port works.[5]

2. Check the link

Run ibdev2netdev on both systems. The cabled port shows as (Up), for example enp1s0f1np1 (Up).[6] Each QSFP port appears as two Linux interfaces, because the adapter connects to the chip "through two independent PCIe Gen 5 x4 links".[1]

3. Give the link fixed addresses

NVIDIA's playbook writes /etc/netplan/40-cx7.yaml on each system:[6]

  • System 1: 192.168.100.10/24 and 192.168.101.10/24
  • System 2: 192.168.100.11/24 and 192.168.101.11/24

Apply with sudo netplan apply. Addresses set with ip addr add instead are lost on reboot. To undo the setup: sudo rm /etc/netplan/40-cx7.yaml and apply again.[6] The QSFP ports "support Ethernet configuration only".[1]

4. Passwordless SSH

Multi-node tools start processes on both systems over SSH. NVIDIA's playbook includes a script, run with bash ./discover-sparks, that finds the other system and exchanges keys. The manual alternative is ssh-copy-id -i ~/.ssh/id_rsa.pub username@IP, once towards each system.[6]

5. Test the link, then split a model

  • NCCL for Multiple Sparks builds NCCL and nccl-tests and runs all_gather_perf across both systems.[11] NVIDIA's RDMA benchmark example on two units totals 189.85 Gb/s.[12]
  • Serve LLMs with vLLM, multi-node and TRT LLM for Inference, run on two Sparks split one model over both systems. The TensorRT-LLM playbook lists Qwen3-235B-A22B at NVFP4 as a two-unit model.[13][14]

Three or four systems

NVIDIA Sync supports "up to three DGX Spark systems connected directly through cables, and up to four systems when using a switch".[1] With a switch, each system needs "one 200 Gbit/s Ethernet link", 400 Gb/s switch ports may have to be split into 200 Gb/s, and you should not connect some systems directly and others through the switch.[5] Lenovo states the same for the PGX: "more than three ThinkStation PGX systems requires a compatible QSFP switch".[3] No switch maker or system maker documents a tested combination with the switches we sell, so talk to us before buying one for this.

If it doesn't work

  • No port shows Up: NVIDIA's advice is to check the cable and reboot both systems.[6]
  • NCCL test fails: check that the cable is in the same physical port on both systems.[6]
  • Addresses gone after a reboot: they were set with ip addr; use the netplan file.[6]
  • Two cables, low bandwidth: all four interfaces then need addresses.[6]

Sources

  1. NVIDIA DGX Spark User Guide, Spark clustering
  2. HP, ZGX Nano G1n AI Station QuickSpecs (c09212373, version 5)
  3. Lenovo, ThinkStation PGX PSREF specifications
  4. NVIDIA DGX Spark User Guide, Hardware overview
  5. NVIDIA, Connect multiple Sparks playbook
  6. NVIDIA, Connect Two Sparks playbook (also at build.nvidia.com)
  7. NVIDIA Sync documentation, Cluster Assistant
  8. NVIDIA Marketplace, QSFP Cable 0.4m for DGX Spark
  9. Lenovo, PGX ConnectX-7 cable 4X91U42988
  10. MSI, EdgeXpert MS-C931 datasheet (PDF)
  11. NVIDIA, NCCL for Multiple Sparks
  12. NVIDIA, Connect Two Sparks performance benchmarking guide
  13. NVIDIA, Serve LLMs with vLLM: multi-node
  14. NVIDIA, TRT LLM for Inference: run on two Sparks

Keep reading

More guides.