Overview
A private network connects your servers in the same city over an isolated network with its own private address range. Each server on the network gets an extra network interface and an address on that range, and can reach the other servers on it directly. Traffic on a private network is not counted toward your bandwidth quota. Open the Ascienth console at https://console.advinservers.com and click “Private Networks” under “Networking” in the left sidebar. Each server also has a “Private Network” tab.A private network only connects servers in one city. You can only create a network in a city where you already have a server, and only servers in the same team as the network can join it.
Creating a Network
1
Open the Private Networks page
Click “Private Networks” in the left sidebar, then click
Create Network.2
Fill in the details
Network name: up to 64 characters. Use letters, digits, spaces, dashes, underscores or dots.City: the city the network is in. Only cities where you have a server are listed.Address range: the private range the network uses, in CIDR notation. We fill in a free range for you, which you can change.
3
Create it
Click
Create. The network appears in the list with its Range, City and number of Servers.- be inside
10.0.0.0/8,172.16.0.0/12or192.168.0.0/16, - have a prefix between
/8and/30, written with no bits set below the prefix (for example10.20.30.0/24, not10.20.30.5/24), - not overlap another network your team already has in that city.
Adding Servers
You can add a server from the network’s page or from the server’s own tab.From the Network’s Page
1
Open the network
Click the network in the list. It opens on the “Servers” tab.
2
Add a server
Click
Add Server and choose the Server. Only your servers in the network’s city that are not already on it are listed.3
Choose its address
Under
Address, pick Assign one automatically, or Choose an address and enter an IP address on the network’s range. Click Add.From the Server’s Private Network Tab
1
Open the tab
Click your server, then the “Private Network” tab, and click
Add Private Network.2
Pick or create a network
Choose a network from the
Network menu. Under IP Address, pick Automatic or Manual and enter the address you want.To start a new network instead, choose Create a new network and enter a Network name. We pick a free address range for it in the server’s city and add the server to it.3
Confirm
Click
Add.Attaching while it is being added, then Attached.
A server can be on several private networks at once. The address you choose must be on the network’s range, and no two servers on a network can share an address. The first and last addresses of the range cannot be used.
Detaching a Server
- From the network’s “Servers” tab, click the menu at the end of the server’s row and choose
Detach from network. - From the server’s “Private Network” tab, click the menu at the end of the network’s row and choose
Detach.
Renaming a Network
Open the network and click the “Settings” tab. Change theName and click Save. The address range and city cannot be changed after the network is created.
Deleting a Network
Open the network and click the “Delete” tab, thenDelete. You can also choose Delete from the menu on the “Private Networks” page or on a server’s “Private Network” tab. Type the network’s name to confirm.
Deleting a network detaches every server on it, removes their private network connections and deletes the network. This cannot be undone.
Frequently Asked Questions
Does the firewall filter traffic on a private network?
Does the firewall filter traffic on a private network?
No. The console firewall does not filter private network traffic. Use a firewall inside your servers if you need to restrict it.
Can I connect servers in different cities?
Can I connect servers in different cities?
No. A private network only spans one city. A server can only join a network in its own city.
Why is my server not listed when I add a server?
Why is my server not listed when I add a server?
Only your servers in the network’s city and in the same team are listed, and only if they are not already on the network.
I added my server, but I cannot see the new interface.
I added my server, but I cannot see the new interface.
The interface is added on the server’s next reboot. Reboot it from the console and check again.
Using the API
Private networks are under/api/v1/client/private-networks, and a server’s networks are under /api/v1/client/servers/<SERVER_ID>/private-networks. Your API key needs network.read to read them, network.update to create networks and attach or detach servers, and network.delete to delete them.
ip_address to have the lowest free address assigned. Creating a network through the API does not add any server to it, so attach each server afterwards. See the API introduction for how to create a key and for the full list of endpoints.