1. Docs
  2. Installation
  3. Networking modes

Networking modes

Choose between NAT mode for single-IP servers and dedicated interface mode for public subnets, and how each is wired.

PikoStack supports two hosting network modes, chosen in the setup wizard or with --ext-mode.

NAT mode (default)#

Use NAT mode on single-NIC servers and wherever the upstream switch only accepts the server's own MAC address: rented dedicated servers at OVH or Hetzner, VPSs used as labs, and most hosting environments.

VMs ── virtual bridge ── piko-ext1 ═veth═ piko-ext0 (10.250.0.1) ── NAT ── uplink
  • A veth pair links the virtual bridge to the host. The host side gets the first address of the instance network.
  • VMs receive addresses straight from the piko-hosting pool. No tenant router is needed.
  • The host masquerades VM traffic behind its own address. Rules live in dedicated PIKO-* chains, so they never collide with your own rules.
  • Publish services from VMs with port forwarding.
Option Default
--nat-cidr 10.250.0.0/24
--dns 1.1.1.1,8.8.8.8

Dedicated interface mode#

Use this mode when a second, unconfigured NIC is connected to a network with a public subnet. PikoStack hands the NIC to the virtual switch and publishes the subnet directly, so every VM gets a public address.

sudo pikoinstall deploy --ext-mode nic --ext-if eno2 \
  --public-cidr 203.0.113.0/24 --public-gateway 203.0.113.1 \
  --public-pool 203.0.113.10-203.0.113.250

Leave the interface unconfigured

Do not assign an IP address to the dedicated interface on the host. The installer refuses an interface that carries the management address.

Port speed limits#

Plans can carry a port speed. It is enforced on each VM's virtual port in both directions.

Choosing later#

The network mode is fixed at install time for the instance network, because existing VMs depend on it. Additional networks can be added later.

Coming next#

IPv6 for VPS, routed /32 addresses with virtual MACs, monthly traffic accounting, reverse DNS and SMTP blocking are part of the next hosting release. VPCs, floating IPs and load balancers arrive with PikoNet in the cloud release.

Something unclear or wrong on this page? Tell us. © 2026 PikoStack.