Playbook · DGX Spark clusters · Problem

DGX Spark cannot find the other DGX Spark

There are two networks to check: your ordinary one, where names and sign-in work, and the cable between the two Sparks. Find out which one is failing before you change either.

Do not delete network files or saved host keys yet. Run the read-only checks first. They change nothing.

What to check when a Spark is not found

  1. Separate the two networks: your ordinary one, and the cable.
  2. Try the name, then SSH with -v, and read the message.
  3. Run ibdev2netdev and ip -br addr on both Sparks, then ping the cable address.
  4. Fix only the layer that fails. Do not delete a saved host key until you know why it changed.

Checked on 26 November 2026 against: NVIDIA's DGX Spark and cluster pages and playbooks; Netplan and OpenSSH sources. We have not yet run this playbook start to finish on our own hardware.

The symptom

What you see.

Message or signWhere it comes from
Could not resolve hostnameSSH could not turn the name into an address.
A line starting ssh: connect to hostSSH had an address but could not connect. The end of the line says why, such as a time-out or a refusal.
Permission denied (The Spark answered. The sign-in was not accepted.
REMOTE HOST IDENTIFICATION HAS CHANGEDThe machine at that name has a different host key from the one saved.
Network unreachableNVIDIA’s playbook lists this when the cable interfaces have no network set up.
The second Spark is missing in NVIDIA SyncNVIDIA lists: off, on another network, or not accepting SSH.
Is the other Spark on and started? Power, boot, or it has stopped if not yes Does spark-two.local answer by name? Name discovery or a different network if not yes Can you sign in with SSH? Read the message: sign-in, key or SSH if not yes Does the cable interface show Up? Cable, port, or a Spark that is off if not yes Does the cable address answer a ping? Addresses or netplan on one side if not
Our diagram: work down the left. Stop at the first check that fails; the box beside it says where the problem is.

Written from the makers’ own pages and source code, read on 26 November 2026. We have not run these checks and fixes on our own hardware for this page. In the commands, spark-two and words in capitals such as USER, PEER_LINK_IP and NAME are made-up placeholders: put your own in. All cluster problems and the safe-checks method.

Safe checks first

Look, without changing anything.

Run these on the first Spark unless the step says otherwise. If you cannot reach the second Spark at all, a screen and keyboard on it settle most questions.

  1. Check the second Spark by name

    A reply shows that the name resolves and the machine answers. Some networks block name discovery, so no reply is not proof that it is off.

    getent hosts spark-two.local
    ping -c 3 spark-two.local
  2. Try to sign in, with detail

    -v prints each step of the connection. The last lines show how far it got.

    ssh -v USER@spark-two.local hostname
  3. On each Spark, read its name and addresses

    Use its screen, or a session that already works.

    hostname
    ip -br addr
  4. Read the state of the cable

    NVIDIA uses ibdev2netdev to show which ConnectX-7 interfaces are (Up). In ip -br link, NVIDIA says LOWER_UP means a live cable connection and NO-CARRIER means none is detected. Unused ports show as down, which is normal.

    ibdev2netdev
    ip -br link
    ip -br addr
  5. Test the cable address

    ip route get shows which interface your Spark would use to reach that address. It should be a cable interface, not Wi-Fi or ordinary Ethernet.

    ip route get PEER_LINK_IP
    ping -c 3 PEER_LINK_IP

What each result means

Match your result.

What you foundWhat it meansNext
The name does not resolve, but the address worksName discovery (mDNS) is not getting through.Use the address, or put both on the same network
Time-out or no routeOff, asleep to the network, wrong address, or the network blocks the path.Check power and which network each is on
Connection refusedThe machine answered but nothing accepted SSH.At its screen, check the SSH service
Permission denied (Wrong user name, password or key.Set up the key again
Host key changedExpected after a recovery or reinstall. Otherwise it may be a different machine.Confirm why before removing anything
No cable interface is UpNVIDIA says to check the cable, reboot and look again.Reseat the cable
Up, but no address on itThe link is there; the network on it is not set up.Set up addresses
Address set, ping failsDifferent subnets on the two ends, the wrong interface of the pair, or a mistake in one file.Compare both Sparks line by line

Fix

Fix the layer that failed.

Ordinary network

Put both Sparks, and your own computer if you use NVIDIA Sync, on the same local network. Check the Wi-Fi each one joined: some guest networks keep devices apart. If only the name fails, connect by address or add the device by hand in NVIDIA Sync.

SSH service, at the second Spark

systemctl status ssh

Cable

NVIDIA’s clustering page lists approved cables, Ethernet mode only, and says the pull tab faces up. Do not force it. With two Sparks, current NVIDIA pages call for one cable. NVIDIA’s manual steps use the same port on both Sparks, so do that.

Reseating means unplugging a live link. Any job using both Sparks will lose it. Wait for jobs to finish, or stop them yourself.

Addresses on the cable

Set them up one way only: NVIDIA Sync’s Cluster Assistant, or NVIDIA’s manual steps. Do not mix the two. Our cluster setup guide walks through it.

Sign-in between the Sparks

NVIDIA’s vLLM playbook notes that its discovery script fails if ~/.ssh does not exist yet. Making the folder and copying a key both change files in your account.

Changes something. Creates the SSH folder and sets who may read it.

mkdir -p ~/.ssh && chmod 700 ~/.ssh

Changes something. Adds your public key to the second Spark’s authorized keys. It uses a key you already have; make one with ssh-keygen if there is none, and never overwrite a key you use elsewhere.

ssh-copy-id USER@PEER_LINK_IP

A changed host key

Only after you know why it changed, for example because you reinstalled that Spark, remove the old entry. At the second Spark’s own screen, you can print its key fingerprint and compare it when SSH asks.

ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pub

Changes something. Removes the saved key for that name from your computer. If you do not know why the key changed, stop and find out instead.

ssh-keygen -R spark-two.local

Confirm

Both ways, by name or address.

Run these from the first Spark, then the same from the second towards the first. Sign-in is fixed when the host name prints with no password prompt.

ssh USER@PEER_LINK_IP hostname
ping -c 3 PEER_LINK_IP

Undo

Take a change back.

A copied key: delete that one line from ~/.ssh/authorized_keys on the second Spark. Cable addresses: if NVIDIA Sync made them, delete the cluster in Sync (Settings, Clusters). NVIDIA says removing only its netplan file does not necessarily remove the SSH settings. If you used NVIDIA’s manual playbook, follow its own rollback steps; they reset network settings.

Our advice: keep a screen and keyboard near the Spark whenever you change network settings, so a mistake cannot lock you out.

Next

Keep going.

About Server AI Hub

Server AI Hub is our app for looking after a DGX Spark. You do not need it to follow this playbook. It is coming soon to the App Store and the Microsoft Store.

See what Server AI Hub does

Sources

Check the makers’ own pages.

General guidance only, in our own words. Check what a command does before you run it; you use these steps at your own risk. NVIDIA, DGX Spark, ConnectX and CUDA are trademarks of NVIDIA Corporation; Docker, Ray, PyTorch, Ubuntu, Linux, Hugging Face and other names belong to their owners. 6ixLabs is not affiliated with or endorsed by NVIDIA or any project named here.