Aviatrix Gateway to Aviatrix Gateway


This document describes how to configure an IPsec tunnel between an Aviatrix Gateway and another Aviatrix Gateway using Aviatrix Site2Cloud.


There are only a couple of reasons to use Site2Cloud when connecting two Aviatrix Gateways:

  1. You have overlapping CIDR blocks but need to peer two VPC/VNets.
  2. The two Aviatrix Gateways are not part of the same Controller (i.e., one is at your customer and the other one is in your environment).

If you don’t have one of these use cases, you can likely use Aviatrix Encrypted Peering

Deployment Guide

There are two Aviatrix Gateways for this scenario. Since you are using the Site2Cloud feature, you must configure each side of the tunnel individually.

We will refer to the gateways below as Gateway A and Gateway B. You can pick either gateway to be Gateway A or Gateway B.

Configure Tunnel from Gateway A to Gateway B

  1. Follow the steps in this guide. Use this table for specific field values.

    Field Description
    VPC ID/VNet Name Select Gateway A VPC or VNet from the drop down.
    Remote Gateway Type Aviatrix
    Registered Leave unchecked
    Primary Cloud Gateway Select Gateway A from the list
    Remote Gateway IP Address Enter the public IP address of Gateway B.
    Pre-shared Key Leave blank and Aviatrix will generate
  2. Once complete, select the newly created tunnel in the list.

  3. Select Aviatrix for Vendor, UCC for Platform and 1.0 for Software.

  4. Click Download Configuration. You will use this file to create the other side of the tunnel.

Configure Tunnel from Gateway B to Gateway A

  1. In the Site2Cloud section, click + Add New.
  2. Click Import.
  3. Select the file downloaded in the previous section.
  4. Check the values that are pre-populated.
  5. Click OK.


Once complete, test the communication using the tunnel.


Wait 2-3 minutes for the tunnel to come up. If it does not come up within that time, check the IP addresses to confirm they are accurate. Additional troubleshooting is available in the Diagnostics tab.