Enabling Spoke Gateway General Settings
This document describes the Spoke Gateway settings to create and configure the gateway.
About Spoke Gateway Settings
This section describes the Spoke Gateway settings that you configure to create the gateway.
Account
Account is your cloud provider account. The Aviatrix Controller uses your cloud provider API credentials to make API calls; for example to launch Aviatrix Gateway in that cloud account.
To learn more about cloud provider access accounts, see Accounts and Users.
Instance Size
Instance Size is the gateway instance size.
When selecting the gateway instance size, use the following guidelines of IPsec performance based on IPERF tests conducted between two gateways of the same size:
AWS Performance Numbers:
AWS Instance Size | Expected Throughput |
---|---|
T2 series |
Not guaranteed; it can burst up to 130Mbps |
c5.2xlarge, c5.4xlarge |
2Gbps - 2.5Gbps |
c5n.4xlarge |
25Gbps (with High Performance Encryption (HPE) Mode) |
c5n.9xlarge |
70Gbps (with HPE Mode) |
c5n.18xlarge |
70Gbps (with HPE Mode) |
Azure Performance Numbers (without High Performance Encryption Mode):
Azure Instance Size | Expected Throughput |
---|---|
B series |
Not guaranteed; it can burst up to 260Mbps |
D/Ds series |
480Mbps - 1.2Gbps |
F Series |
approximately 450Mbps - 1.2Gbps |
GCP Performance Numbers (without High Performance Encryption Mode):
GCP Instance Size | Expected Throughput |
---|---|
n1-standard-1, n1-standard-2, n1-highcpu-2 |
1.0 - 1.2 Gbps |
n1-standard-4, n1-highcpu-2 |
2.3 - 2.5 Gbps |
OCI Expected Throughput Numbers:
OCI Instance Shape | Throughput with Active Mesh | Throughput without Active Mesh |
---|---|---|
VM.Standard2.2 or larger |
1.8G |
900 Mbps |
With OCI you can choose a flexible shape to modify the Oracle CPU (OCPU) and memory configurations of your shape after it is deployed.
OCI Flex Shape | OCPU and RAM |
---|---|
FLEX4.16 |
E3 4 OCPU 8G RAM |
FLEX8.32 |
E3 8 OCPU 32G RAM |
FLEX16.32 |
E3 16 OCPU 32G RAM |
If you need IPsec performance beyond 2Gbps, refer to ActiveMesh HPE Performance Benchmark. |
Gateway Resize
You can change gateway instance size, if needed, to change gateway throughput. The gateway instance will restart with a different instance size.
If you use Availability Set when launching Azure gateways, different classes of VM sizes can be resized interchangeably.
See the Resizing a Gateway document.
To change gateway instance size, see Changing Gateway Instance Size
High Performance Encryption
High Performance Encryption (HPE) is an Aviatrix technology that enables 10Gbps and higher IPsec performance between two single Aviatrix Gateway instances or between a single Aviatrix Gateway instance and on-prem Aviatrix appliance.
When a gateway instance is launched with High Performance Encryption enabled, the Aviatrix Controller will look for a spare /26 subnet segment to create a new public subnet "-insane" and launch the gateway on this subnet. The instance sizes that support High Performance Encryption are c5 series and m5 series.
For an overview of Aviatrix High Performance Encryption, see Overview of Aviatrix High-Performance Encryption.
Attach to Transit Gateway
You attach Spoke Gateway to Transit Gateway to create hub-spoke topology.
When you attach a Spoke Gateway to a Transit Gateway, the Aviatrix Controller attaches the Spoke VPC or VNet to the Transit VPC by building encrypted peering and transitive peering between the Spoke Gateway and the Transit Gateway.
Max Performance
Max Performance provides full High Performance Encryption (HPE) performance. Max Performance option is available only when both the Spoke and Transit gateways are launched with High Performance Encryption (HPE) enabled and are in the same cloud type.
When Max Performance is On, multiple high performance encryption tunnels are created between the Spoke and Transit gateway. The number of tunnels that are created depends on the gateway instance sizes.
When Max Performance is Off, only one tunnel is created even when HPE is enabled for both the Spoke and Transit Gateway.
To switch between multiple tunnels or one tunnel, you need to detach and reattach the Spoke Gateway to the Transit Gateway.
BGP
When BGP is enabled, the Spoke Gateway establishes a BGP connection to an external router to dynamically exchange routes. It also establishes an IPsec tunnel to the router for packet forwarding.
BGP must be enabled at the creation of the Spoke Gateway. |
A Spoke gateway with BGP enabled has a few restrictions compared to a non-BGP Spoke.
Jumbo Frame
Jumbo Frame improves Aviatrix Gateway throughput performance.
Jumbo Frame is enabled by default for AWS and OCI. It is not supported for Azure or GCP. |
For more information about connecting BGP-enabled Spoke Gateways to an external device, see:
BGP over LAN (Azure only)
BGP over LAN allows Aviatrix Spoke Gateways to communicate with a pair of instances in different VPCs or VNets without using the IPsec or GRE tunneling protocol.
Instances
The Aviatrix Gateway High Availability feature enables you to create High Availability (HA) gateways for Spoke and Transit Gateways to minimize and reduce network downtime and improve network stability and performance.
|
When HA Spoke and Transit gateways are deployed, the Aviatrix Controller monitors your cloud network deployment, detects if a gateway is down and handles failover resolution automatically.
For an overview of the Aviatrix Gateway High Availability feature, see About Aviatrix Gateway High Availability.
Attach to Subnet
Aviatrix Gateways are launched in a public subnet in AWS, GCP, and OCI. A public subnet in AWS VPC is defined as a subnet whose associated route table has a default route entry that points to the Internet gateway (IGW). To learn more about VPC and subnets, refer to this link.
If you do not have a VPC/VCN with public subnet in AWS, GCP, or OCI, you can use our Creating a VPC/VNet using CoPilot tool to create a VPC with fully populated public and private subnets in each AZ.
About Spoke Gateway General Settings
This section describes the Spoke Gateway settings that you can configure after the gateway is created.
Use VPC/VNet DNS Server
The Use VPC/VNet DNS Server feature enables you to set the default DNS server for the Aviatrix gateway.
When this feature is On, it removes the default DNS server for the Aviatrix Gateway and instructs the gateway to use the VPC or VNet DNS server configured in VPC or VNet DHCP option.
When this feature is Off, the Aviatrix Gateway will revert to use its built-in (default) DNS server.
When enabling this feature, the Controller checks to make sure the gateway can indeed reach the VPC/VNet DNS server; if not, an error is returned. |
For more information, see Using VPC/VNet DNS Server.
Jumbo Frame
Jumbo Frame improves Aviatrix Gateway throughput performance.
Jumbo Frame is enabled by default for AWS and OCI. It is not supported for Azure or GCP. |
GRO/GSO
The GRO/GSO feature enables you to configure the gateway interface and enable or disable Generic Receive Offload (GRO) and Generic Segmentation Offload (GSO).
GRO/GSO is On by default to improve performance. You can set this feature to Off to minimize out of order packets for sensitive applications (like FTP), but there will be a performance throughput penalty.
Gateway Single AZ HA
Gateway Single AZ HA feature enables the Aviatrix Controller to monitor the health of the gateway and restart the gateway if it becomes unreachable. No secondary gateway is launched in this case.
Using Gateway Single AZ HA, you can select either the primary or secondary gateway as the gateway to restart.
When Gateway Single AZ HA status is On, Controller restarts the gateway instance. When status is Off, Controller does not attempt to restart the gateway instance.
Change Interface(s) RX Queue Size
Using the Change Interface(s) RX Queue Size, you can select a gateway and set the gateway’s interface(s) RX Queue Size.
-
A larger RX queue size introduces high latency in forwarding packets.
-
A smaller RX queue size has low latency but will drop packets early when forwarding packets.
Active-Standby
This feature enables you to deploy a BGP-enabled Spoke Gateway connection to an external device where the external device, such as an on-premises firewall, does not support asymmetric routing on two tunnels.
Active-Standby mode applies to both BGP and Static Remote Route Based external connections.
When Active-Standby mode is enabled, the BGP-enabled Spoke Gateway connects to the external device with only one active peering connection forwarding network traffic and the other as standby.
If you enable Active-Standby mode, you can select the Failover Mode to determine the network’s behavior when the active peering connection goes down.
-
When Preemptive is enabled, the network automatically switches back to using the active peering connection when the connection is back up.
-
When Non-Preemptive is enabled, the network continues to use the standby peering connection even after the active peering connection is back up, until you initiate a manual switch to the active peering connection.
For more information, see About Active-Standby External Connection Configuration.
Enabling Spoke Gateway General Settings
In Aviatrix CoPilot:
-
Go to Cloud Fabric > Gateways > Spoke Gateways tab.
-
In the table, select the Spoke Gateway for which you want to enable general settings.
-
Click the Spoke Gateway’s Settings tab.
-
In the Settings tab, expand the General section.
-
Enable the Spoke Gateway settings as needed.