Skip to main content
Merge private account networks through a global router
Last update:

Merge private account networks through a global router

If your infrastructure is in different accounts, you can federate the private networks of those accounts. A global router is used for aggregation.

Principle of operation

To interconnect private networks, each account must have a global router. Private subnets that need to be accessed from another account are connected to global routers. After unification, the subnets on the routers will be in the same address space, so their addressing should not overlap: the IP addresses of each subnet should not overlap with the IP addresses of other subnets.

On request, we merge global routers and their routing tables. After merging, you can route traffic between all subnets that are connected to the merged routers.

Example of a merger

Need to merge private networks in two accounts:

  • in account 1, a private subnet 192.168.0.0/24 is connected to the global router. IP address 192.168.0.2 is assigned to the dedicated server, IP address 192.168.0.1 is assigned as gateway to the global router;
  • in account 2, a private subnet 172.16.0.0/24 is connected to the global router. IP address 172.16.0.2 is assigned to the cloud server, IP address 172.16.0.1 is assigned as gateway to the global router;
  • global routers in the accounts are merged.

In order for servers to exchange traffic, you need:

  • combine global routers;

  • prescribe routes:

    • on a dedicated server — to the cloud server 172.16.0.2 via gateway 192.168.0.1;
    • on the cloud server — to the dedicated server 192.168.0.2 via gateway 172.16.0.1.

Пример объединения серверов в разных аккаунтах
Пример объединения серверов в разных аккаунтах

Merge private account networks

  1. Make sure that each of the accounts whose private networks you want to merge has a global router. You can see the list of routers in the Control Panel: from the top menu, click ProductsGlobal Router. If the account does not have a global router or you want to use a new one, create a global router.

  2. Make sure that private subnets that you want to access from another account are connected to global routers. You can view the list of subnets in the control panel: from the top menu, click ProductsGlobal Router → Router page → Networks tab . If necessary, connect networks and subnets to global routers.

    The subnets on the routers being merged must not overlap: the IP addresses of each subnet must not overlap with the IP addresses of other subnets.

  3. From each of your accounts , create a ticket. In the ticket, specify:

    • numbers of accounts whose private networks you want to merge. You can see the account number in the control panel in the upper right corner;
    • The IDs of the global routers that will be used for the merge. The router ID can be copied from the control panel: from the top menu, click ProductsGlobal Router → Global Router page → copy the ID under the router name.
  4. Wait for the ticket to respond that the global routers have been merged. In the Control Panel, under Global Router, the merged global router will have the tag Other account.

  5. To configure connectivity between devices that are in the private subnets of unified routers, write static routes on the devices. You do not need to write routes on the global routers.