Routers in xneelo Cloud
| This is a new feature; try it at no charge and share your feedback via Live Chat. Learn more |
Routers direct traffic between networks. In xneelo Cloud, you can use routers to connect your private networks to each other, or to the public internet by setting a gateway.Â
Routers are charged at a rate per hour – see our cloud pricing and pricing rules.
Read on to learn what a router is, when to use one, and how to create, connect, and manage routers in your Cloud project.
-
What is a router?
A router is a virtual device that directs traffic between networks in your cloud project.
- Router interface: A connection between a router and a subnet in a private network.
- Router gateway: The router’s connection to the public (external) network.
- NAT (Network Address Translation): Enables instances with private IPs to reach the internet via the router’s public gateway.
-
When to use a router
Routers are useful when you need to:
- Give private instances outbound internet access (for OS updates or API calls).
- Separate public-facing and private-only services into different networks.
- Connect multiple private networks for internal traffic flow.
- Reduce floating IP usage by sharing one public gateway across many instances.
-
Create a router
STEPS
-
1In the Cloud dashboard, go to Network > Routers.
-
2Click Create Router.
-
3Add a name to identify the router.
-
4Optional: Set an external gateway to connect to the public network.
-
5Select Create Router.
The new router will appear in your list, ready to connect to a private subnet.
-
-
Connect a router to a private subnet
To enable routing, add interfaces between the router and your private networks. Each additional subnet requires a separate interface.
STEPS
-
1In the Cloud dashboard, go to Network > Routers.
-
2Select the Router Name (blue hyperlink).
-
3Go to the Interfaces tab.
-
4Click Add Interface.
-
5Select the subnet you want to connect.
-
6Select Confirm.
Once the interface is created, you can control traffic flow by assigning security groups on the interface port.
-
-
Edit router interface security groups
You can add or remove security groups to control which network traffic can flow to and from this port.
STEPS
-
1On the Interfaces tab, find the interface.
-
2In the Actions column, select Edit Port.
-
3Go to the Security Groups tab.
-
4Add or remove security groups as needed.
-
5Select Update to confirm.
-
-
Set or clear a router gateway
To give private instances internet access, you need to set the router’s external gateway.
STEPS
-
1In the Cloud dashboard, go to Network > Routers.
-
2Find the router and select Set Gateway.
-
3Choose the Public network.
-
4Select Submit to confirm.
To remove internet access, select Clear Gateway.
-
-
Static routes
Static routes let you manually define where traffic for a specific destination network should be sent.
You may need a static route when traffic must follow a route that your router would not otherwise know about. They are generally not required for a standard private-network setup using a router gateway to reach the public network.
Static route configuration:
- Destination CIDR – The network or IP range the traffic needs to reach, for example 10.20.0.0/24.
- Next hop – The IP address of the device or router that should receive traffic for that destination. For example, 10.0.0.10
This tells the router to send traffic destined for 10.20.0.0/24 to 10.0.0.10.
Before adding a static route:
- Make sure the next-hop IP is reachable from a subnet connected to the router.
- Avoid adding a route that conflicts with or overlaps an existing network route.
- Only add a static route when your network design requires one; incorrect routes can prevent traffic from reaching its intended destination.
STEPS
To configure a static route:
-
1Go to Network > Routers.
-
2Select the router.
-
3Open the Static Routes tab.
-
4Add the Destination CIDR and Next hop.
-
5Save the route.
-
Delete a router
If you no longer need a router, you can delete it.
STEPS
-
1In the Cloud dashboard, go to Network > Routers.
-
2Find the router you want to access.
-
3In the Actions column, select the down â–¼ button and Delete Router.
-
4Select Delete Router to confirm.
-
-
Troubleshoot router connectivity
If instances cannot reach the internet:
- Check that the router has an external gateway set.
- Ensure the private subnet is connected to the router with an interface.
- Confirm security group rules allow outbound traffic.
- Verify the instance operating system is configured with the correct IP and gateway.
- Verify that NAT is working by testing outbound connectivity (
pingorcurl).
Take a look at our other articles and guides on the xneelo Cloud dashboard.





