Skip to main content

Overview

Subnets define the IP address space within a network. Each subnet specifies a CIDR block, optional DHCP assignment, a gateway IP, and DNS resolvers that are pushed to instances at boot. A single network can host multiple subnets — e.g., one IPv4 and one IPv6 range — or separate subnets for different application tiers.
Prerequisites
  • An existing Polystack tenant network (see Create a Network)
  • Dashboard access or CLI configured with valid credentials

Add a Subnet to an Existing Network

Open the network

Navigate to Network > Networks and click the network name to open it.

Add a subnet

Click the Subnets tab, then click Create Subnet.

Configure CIDR and gateway

Configure DHCP and allocation options

Use allocation pools to reserve address ranges for manually configured hosts such as database nodes or network appliances with static IPs.

Create the subnet

Click Create to save the subnet.
The subnet appears in the network’s Subnets tab with status Active.

Subnet Management Operations

Update DNS Resolvers

Navigate to Network > Networks, open the subnet row, and click Edit Subnet. Update the DNS field in the Advanced Options.

Add Host Routes

Host routes are injected via DHCP and add static routing entries on the guest OS. Use them to direct traffic for specific CIDRs through a dedicated gateway.
Add host route to subnet

Disable or Enable DHCP

Disable DHCP on a subnet
Re-enable DHCP on a subnet
Disabling DHCP on a subnet that has instances running will cause those instances to fail IP renewal on the next lease expiry. Ensure all instances on the subnet are configured with static IPs before disabling DHCP.

Subnet Configuration Reference


Next Steps

Routers and Gateways

Attach subnets to a router to enable inter-subnet routing and internet access

DNS Configuration

Configure DNS name servers and hostname resolution for your subnets

Create a Network

Create the network that hosts your subnets

Network Troubleshooting

Diagnose and resolve subnet connectivity and DHCP issues