NVIDIA
Explore
Models
Blueprints
GPUs
Docs
⌘KCtrl+K
View All Playbooks
View All Playbooks

onboarding

  • Set Up Local Network Access
  • Open WebUI with Ollama

data science

  • Single-cell RNA Sequencing
  • Portfolio Optimization
  • CUDA-X Data Science
  • Text to Knowledge Graph
  • Optimized JAX

tools

  • DGX Dashboard
  • Comfy UI
  • RAG Application in AI Workbench
  • Set up Tailscale on Your Spark
  • VS Code
  • Connect Three DGX Spark in a Ring Topology
  • Connect Multiple DGX Spark through a Switch

fine tuning

  • FLUX.1 Dreambooth LoRA Fine-tuning
  • LLaMA Factory
  • Fine-tune with NeMo
  • Fine-tune with Pytorch
  • Unsloth on DGX Spark

use case

  • NemoClaw with Nemotron 3 Super and Telegram on DGX Spark
  • cuTile Kernels
  • CLI Coding Agent
  • Live VLM WebUI
  • Install and Use Isaac Sim and Isaac Lab
  • Vibe Coding in VS Code
  • Build and Deploy a Multi-Agent Chatbot
  • Connect Two Sparks
  • NCCL for Two Sparks
  • Build a Video Search and Summarization (VSS) Agent
  • Spark & Reachy Photo Booth
  • Secure Long Running AI Agents with OpenShell on DGX Spark
  • OpenClaw 🦞

inference

  • LM Studio on DGX Spark
  • Speculative Decoding
  • Run models with llama.cpp on DGX Spark
  • Nemotron-3-Nano with llama.cpp
  • SGLang for Inference
  • TRT LLM for Inference
  • NVFP4 Quantization
  • Multi-modal Inference
  • NIM on Spark
  • vLLM for Inference

Connect Multiple DGX Spark through a Switch

1 HR

Set up a cluster of DGX Spark devices that are connected through Switch

DGXSpark
View on GitHub
OverviewOverviewRun on Four SparksRun on Four SparksTroubleshootingTroubleshooting

Basic idea

Configure four DGX Spark systems for high-speed inter-node communication using 200Gbps QSFP connections through a QSFP switch. This setup enables distributed workloads across multiple DGX Spark nodes by establishing network connectivity and configuring SSH authentication.

What you will accomplish

In this playbook, you will physically connect four DGX Spark devices with QSFP cables and a QSFP switch, configure network interfaces for cluster communication, and establish passwordless SSH between nodes to create a functional distributed computing environment. The same set up can be scaled up to more DGX Spark devices connected via the same switch.

What to know before starting

  • Basic understanding of distributed computing concepts
  • Working with network interface configuration and netplan
  • Experience with SSH key management
  • Basic understanding and experience in configuring the managed QSFP network switch which you plan to use. Refer to the instruction manuals to:
    • Know how to connect to the switch for management of ports and features
    • Know how to enable/disable QSFP ports and create a software bridge on the switch
    • Know how to configure the link speed manually on the port and disable auto-negotiation if needed

Prerequisites

  • Four DGX Spark systems (these instructions will work for any number of DGX Spark devices connected with a switch)
  • QSFP switch with at least 4 QSFP56-DD ports (at least 200Gbps each)
  • QSFP cables for 200Gbps connection from the switch to the devices. Use recommended cable or similar.
    • One cable per spark
    • If the switch has 400Gbps ports then you can also use breakout cables to split them into two 200Gbps ports
  • SSH access available to all systems
  • Root or sudo access on all systems: sudo whoami
  • The same username on all systems
  • Update all systems to the latest OS and Firmware. Refer to the DGX Spark documentation https://docs.nvidia.com/dgx/dgx-spark/os-and-component-update.html

Ancillary files

All required files for this playbook can be found here on GitHub

  • discover-sparks.sh script for automatic node discovery and SSH key distribution
  • Cluster setup script for automatic network configuration, validation and running NCCL sanity test

Time & risk

  • Duration: 2 hours including validation

  • Risk level: Medium - involves network reconfiguration

  • Rollback: Network changes can be reversed by removing netplan configs or IP assignments

  • Last Updated: 3/19/2026

    • First publication

Resources

  • DGX Spark Documentation
  • DGX Spark Forum
Terms of Use
Privacy Policy
Your Privacy Choices
Contact

Copyright © 2026 NVIDIA Corporation