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:

  • account 1 has a private subnet connected to the global router. 192.168.0.0/24. IP address 192.168.0.2 assigned to a dedicated server, IP address 192.168.0.1 is assigned as the gateway to the global router;
  • account 2 has a private subnet connected to the global router 172.16.0.0/24. IP address 172.16.0.2 assigned to the cloud server, IP address 172.16.0.1 is assigned as the 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 — up to a cloud server 172.16.0.2 through the gateway 192.168.0.1;
    • on a cloud server — up to a dedicated server 192.168.0.2 through the 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. For a list of routers, see control panel under Network servicesSelectel Global Router. If your 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 are connected to global routers that you want to access from another account. For a list of subnets, see control panel under Network servicesSelectel Global Router → router page → tab Networks. 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 the accounts file a ticket. In the ticket, specify:

    • numbers of accounts whose private networks you want to merge. You can see the account number in control panel in the upper right-hand corner;
    • The IDs of the global routers that will be used for the merge. The router ID can be copied to control panel: section Network servicesGlobal router → global router page → copy the ID under the router name.
  4. Wait for a response in the ticket that the global routers have been merged. In control panel under Network servicesSelectel Global Router the federated global router will have a tag. Other account.

  5. To configure connectivity between devices that are on private subnets of joined routers, Write static routes on the devices. Routes on global routers do not need to be written.