[PR #296] Add ZeroTier userspace network backend #409

Open
opened 2026-01-31 21:31:09 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/qemu/qemu/pull/296

State: closed
Merged: No


This experimental commit adds support for ZeroTier as a network backend, which acts as a private internet-wide layer 2 network.

Features:

  • Direct Layer 2 Ethernet integration with ZeroTier networks
  • Event-driven packet processing for high performance (800+ Mbps throughput)
  • Persistent ZeroTier identity and network credentials
  • Automatic MAC address assignment from ZeroTier
  • Low latency (1-7ms typical)

Usage::

qemu-system-x86_64 \
    -netdev user,id=net0 \
    -device virtio-net,netdev=net0 \
    -netdev zerotier,id=zt0,network=<network_id>,storage=<storage_path> \
    -device virtio-net,netdev=zt0

Note: For bidirectional connectivity, you may need to run arping from the VM
to establish ARP table entries before external hosts can ping the VM.

**Original Pull Request:** https://github.com/qemu/qemu/pull/296 **State:** closed **Merged:** No --- This experimental commit adds support for [ZeroTier](https://www.zerotier.com/) as a network backend, which acts as a private internet-wide layer 2 network. Features: * Direct Layer 2 Ethernet integration with ZeroTier networks * Event-driven packet processing for high performance (800+ Mbps throughput) * Persistent ZeroTier identity and network credentials * Automatic MAC address assignment from ZeroTier * Low latency (1-7ms typical) Usage:: qemu-system-x86_64 \ -netdev user,id=net0 \ -device virtio-net,netdev=net0 \ -netdev zerotier,id=zt0,network=<network_id>,storage=<storage_path> \ -device virtio-net,netdev=zt0 Note: For bidirectional connectivity, you may need to run ``arping`` from the VM to establish ARP table entries before external hosts can ping the VM.
claunia added the pull-request label 2026-01-31 21:31:09 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/qemu#409