Overview
Routers connect subnets within your project and provide external gateway access for floating IP NAT and outbound internet connectivity. Each router can connect multiple subnets and optionally attach to an external network for public access.Prerequisites
- An active Polystack account with appropriate permissions
- Access to the Polystack Dashboard or CLI configured with credentials
- API credentials sourced (
source openrc.sh)
Create a Router
- Dashboard
- CLI
1
Navigate to Routers
Navigate to Network > Routers in the sidebar. Click Create Router.
2
Configure the router
3
Create the router
Click Confirm. The router appears in the list.
Router shows status Active with the external gateway (if configured).
View Routers
- Dashboard
- CLI
Navigate to Network > Routers. The list shows:
Filter by Name or Status.
Manage Router Interfaces
- Dashboard
- CLI
Click a router name to open the detail page. The Interfaces tab shows all
connected subnets and ports.
Connect a Subnet: Click the More dropdown on the router row and select
Connect Subnet. Choose the subnet to attach.Disconnect a Subnet: Click the More dropdown and select
Disconnect Subnet. Choose the subnet to remove.
Manage External Gateway
- Dashboard
- CLI
From the router row’s More dropdown:
Delete a Router
- Dashboard
- CLI
Click the More dropdown on the router row and select Delete.
All subnet interfaces must be disconnected before a router can be deleted.
Disconnect all subnets first, then delete the router.
Next Steps
Floating IPs
Allocate public IPs and associate them with instances via this router
Create a Network
Provision networks and subnets to connect to this router
Security Groups
Control traffic with per-port firewall rules
VPN
Create IPsec site-to-site VPN tunnels through this router
