Link products and services via a global router
General instructions for setting up a global router network for all Servercore products. For examples of configuration for individual products (dedicated servers, Managed Databases, Managed Kubernetes), see the Linking Products and Services via a Global Router section.
Some dedicated server configurations cannot be added to a global router network because they lack a port for connecting to a private network. You can check for a private network port in the control panel on the server page on the Ports **** tab.
- Create a global router.
- Connect networks and subnets to the global router for each VLAN and cloud platform project that you want to connect.
- Assign IP addresses from the subnets to the servers.
- Optional: specify routes on the servers.
- Optional: set up routing on the global router.
1. Create a global router
- In the Control panel, in the top menu, click Products and select Global Router.
- Click Create router. A limit of five global routers is set for each account.
- Enter the router name.
- Click Create.
- If the router was created with the status
ERRORor is stuck in one of the statuses, create a ticket.
2. Connect networks and subnets to the global router
Dedicated server
Cloud platform
Use for a dedicated or hosted server.
You can connect a new or existing network to the router if it is not already connected to any of the account's global routers.
-
In the control panel, on the top menu, click Products and select Global Router.
-
Go to the router page → Networks tab.
-
Click Create network.
-
Enter a network name. It will only be used in the control panel.
-
Select the Servers and Equipment service.
-
Select a location for the network.
-
Select or enter a VLAN.
-
If you want to create a network up to an internal segment (Q-in-Q), specify its tag—a number from 2 to 4094. If a network already exists for the VLAN, you must specify the Q-in-Q segment of this VLAN.
-
Enter a subnet name. It will only be used in the control panel.
-
Enter the CIDR—the IP address and mask of the private subnet. You can enter a new subnet or an existing private server subnet if it has not yet been added to any of the global routers in the account. The subnet must meet the following conditions:
- belong to the RFC 1918 private address range:
10.0.0.0/8,172.16.0.0/12or192.168.0.0/16; - have a size of at least
/29, as three addresses will be occupied by Servercore network equipment; - do not overlap with other subnets added to this router—IP addresses must not repeat across subnets on the same router;
- if a Managed Kubernetes cluster on cloud servers is included in the global router network, the subnet must not overlap with the ranges
10.10.0.0/16,10.96.0.0/12,10.250.0.0/16and10.251.0.0/24. If a cluster on dedicated servers is included in the network — with ranges10.10.0.0/16,10.222.0.0/16,10.250.0.0/16,10.251.0.0/24and172.250.0.0/14. These subnets are used for Managed Kubernetes internal addressing, and their use may lead to conflicts in the global router network.
- belong to the RFC 1918 private address range:
-
Enter the gateway IP or leave the first address from the subnet that is assigned by default. Do not assign this address to your devices to avoid network disruption.
-
Enter the service IPs or leave the last addresses from the subnet that are assigned by default. Do not assign these addresses to your devices to avoid network disruption.
-
Click Create network.
-
Optional: check the network topology on the global router. In the Control panel, in the top menu, click Products → Global Router → router page → Network map.
-
If you specified a Q-in-Q tag in step 8, you need to enable Q-in-Q technology on the switch port and configure the private network interface that you specified in step 10. Learn more in the Configure Q-in-Q section of the Q-in-Q guide.
3. Assign IP addresses to the servers
On each server included in the global router network, configure a local port to work with the subnet created on the router. Assign an IP address from the private subnet that you connected to the global router for the corresponding VLAN or project.
Dedicated server
Cloud platform
Ubuntu
Debian
CentOS
Windows
-
Open the
netplanutility configuration file with thevi:vi /etc/netplan/01-netcfg.yaml -
Add or change the values of the private network interface settings:
<eth_name>:addresses: [<ip_address>]Specify:
<eth_name>— the name of the private network interface;<ip_address>— the private IP address of the server with a subnet mask, for example192.168.0.2/24.
-
Press ESC.
-
Exit the
vitext editor with your changes saved::wq -
Apply the configuration:
netplan apply -
Optional: reboot the server.
-
Optional: assign a private IP address to the server in the control panel.
4. Specify routes on devices
Example of static route organization
You need to configure private communication between two dedicated servers in the SPB-2 pool and a cloud server in the ru-2 pool. To do this, you need to:
-
Create a global router with two private subnets —
192.168.0.0/28to the VLAN that contains the dedicated servers in the SPB-2 pool, and172.16.0.0/28to the cloud platform project in the ru-2 pool. -
Assign addresses from the subnets to the servers.
-
Specify routes:
- for each server in the SPB-2 pool — to the
172.16.0.0/28subnet via the192.168.0.1gateway; - for the server in the ru-2 pool — to the
192.168.0.0/28subnet via the172.16.0.1gateway.
- for each server in the SPB-2 pool — to the

Specify static routes
Dedicated server, Cloud powered by VMware
Cloud platform
Ubuntu
Debian
CentOS
Windows
-
Open the network configuration file:
vi /etc/netplan/01-netcfg.yaml -
At the end of the data block for the required network interface, add the route:
routes:- to: <ip_address>/<mask>via: <gateway>Specify:
<ip_address>/<mask>— the subnet to which you need to add a route, specifying the mask, for example192.168.0.0/28;<gateway>— the gateway for the current server's subnet, which is specified on the global router.
-
If you need to define multiple routes, add them sequentially in the same block, for example:
routes:- to: 192.168.0.0/28via: 172.16.0.1- to: 192.168.1.0/28via: 172.16.0.1 -
Save the file.
-
Check the settings:
sudo netplan try -
Apply the changes:
netplan apply
5. Configure routing on the global router
You need to configure routing on the global router if one of the devices in its network is used as a router to send traffic to the internet or a network outside the Servercore infrastructure.
You can specify static routes or configure dynamic BGP routing.
Specify static routes
Configure dynamic BGP routing
- In the control panel, in the top menu, click Products and select Global Router.
- Open the router page → Static Routes tab.
- Click Create route.
- Enter a route name — any name; it will only be displayed in the control panel.
- Enter the destination subnet CIDR — this is the private subnet where you need to direct traffic. The destination subnet must not overlap with the subnets on the global router. For internet traffic, specify
0.0.0.0/0. - Enter the Next hop IP address — the IP address of the server through which the traffic will be directed to the destination subnet. The IP address must belong to one of the subnets on the global router.
- Click Create.