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
- Dashboard
- CLI
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
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
- Dashboard
- CLI
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
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
