Skip to content

groundSwXtch System Requirements

Last validated:
View as Markdown

WHAT TO EXPECT

In this article, users will learn about the system requirements needed to successfully deploy a groundSwXtch. It is recommended to review this page before installing a groundSwXtch on any platform.

groundSwXtch Sizing Guidelines

Sizing and Feature Selection for the groundSwXtch

The number of endpoints and bandwidth dictate groundSwXtch sizing requirements. Users should contact a swXtch.io sales representative to discuss groundSwXtch sizing and additional features so that the appropriate license can be issued.

Operating System

groundSwXtch runs as a Docker container on a 64-bit Linux host. swXtch.io has tested groundSwXtch v1.1.1 on:

  • Ubuntu 24.04 LTS (x86_64 and ARM64)
  • RHEL 9.8 (x86_64)

RHEL

On RHEL, the system's own sysctl rules can turn reverse-path filtering back on for the groundSwXtch virtual LAN (swx0-lan). Multicast sent to receivers on the host is then dropped. Current installers add /etc/sysctl.d/99-zz-groundswxtch-veth.conf for this. After installing, check that this command returns 0:

sysctl -n net.ipv4.conf.swx0-lan.rp_filter

If it returns 1, create the file with these two lines, then restart the container:

printf 'net.ipv4.conf.swx0-lan.rp_filter = 0\nnet.ipv4.conf.veth-lan/p0.rp_filter = 0\n' | sudo tee /etc/sysctl.d/99-zz-groundswxtch-veth.conf
sudo docker restart gswx

CPUs

The host must have a 64-bit x86 (amd64) or 64-bit ARM (arm64) processor, with a minimum of 4 cores. Recommended: 8 cores or more.

groundSwXtch keeps 2 cores busy at all times, even with no traffic. Plan for 2 dedicated cores plus whatever else runs on the host.

Memory

Minimum of 8 GB of RAM. Recommended: 16 GB or more.

The installer also reserves part of the memory as hugepages (1 GiB on the 8 GB hosts swXtch.io tested).

Storage Space

Minimum of 24 GB of SSD storage. Recommended: 40 GB or more.

Before it downloads the groundSwXtch image, the installer checks that at least 2 GB is free in /var/lib/docker.

Even a minimal 4-core server can be costly. As a lower-cost alternative, swXtch.io has tested the GMKtec NucBox M5 Ultra mini PC (AMD Ryzen 7 7730U) with good results:

  • 8 cores / 16 threads
  • 32 GB DDR4
  • 512 GB SSD

Internet Connection

Installing and upgrading groundSwXtch is easiest with an internet connection: the installer downloads the groundSwXtch image and, if Docker is not installed, installs it from get.docker.com. For hosts without internet access, see Installing groundSwXtch Air-Gapped.


Firewall and Security Group Rules

groundSwXtch connects every groundSwXtch directly to every other groundSwXtch added to it (a full mesh). Traffic between two sites always goes straight between them; it isn't relayed through a third site.

For each pair of sites, at least one of them must be able to reach the other on UDP 6000, at the address it was added with. groundSwXtch tries to connect in both directions, so one open direction is enough.

groundSwXtch uses the following protocols and ports.

Protocol Ports Purpose
UDP 6000 Data connection between groundSwXtches: all multicast traffic between sites is tunneled through it. The port can be changed.
TCP 80 groundSwXtch User Interface and API (management port). The port can be changed.
TCP, localhost only 9000 RPC between groundSwXtch and the swXtch Packet Processor (SPP) (127.0.0.1:9000).

Host Firewall

If the host's own firewall rejects all traffic it doesn't explicitly allow (for example, the iptables rules of OCI's Ubuntu images end with a rule that rejects everything else), opening UDP 6000 isn't enough:

  • The other groundSwXtch answers from its UDP port 6000 to a port that the SPP picks on this host, and those answers don't count as replies for the host firewall.
  • groundSwXtch delivers traffic to applications on the host through the virtual LAN interface swx0-lan, and that traffic also goes through the host firewall.

swXtch.io tested these rules with groundSwXtch 1.2 on Ubuntu 24.04, with the reject rule kept in place. Add them before any rule that rejects or drops traffic, and save them with the host's usual method:

sudo iptables -I INPUT 1 -p tcp --dport 80 -j ACCEPT
sudo iptables -I INPUT 1 -p udp --dport 6000 -j ACCEPT
sudo iptables -I INPUT 1 -p udp --sport 6000 -j ACCEPT
sudo iptables -I INPUT 1 -i swx0-lan -j ACCEPT

With only UDP 6000 and TCP 80 open, no traffic reached the receivers in swXtch.io's tests.