Site2Cloud (Aviatrix Gateway - 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:
- You have overlapping CIDR blocks but need to peer two VPCs
- 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 Encrtyped Peering
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¶
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
Once complete, select the newly created tunnel in the list
Select Aviatrix for Vendor, UCC for Platform and 1.0 for Software.
Click Download Configuration. You will use this file to create the other side of the tunnel.
Configure Tunnel from Gateway B to Gateway A¶
- In the Site2Cloud section, click + Add New
- Click the Import button
- Select the file downloaded in the previous section
- Check the values that are pre-populated
- Click OK
Once complete, test the communiation 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 Diagnositics tab.