The AWS Transit Gateway provides full-mesh VPC interconnectivity and allows you to access all your Virtual Private Clouds (VPCs) with a single VPN connection. You can setup primary and secondary Cato-initiated IPsec tunnels to your AWS Transit Gateway with BGP to provide robust high availability. Cato influences the BGP route metrics so that the primary tunnel is always the preferred pathway, and if it gets disconnected, traffic is immediately routed over the secondary tunnel.
Note: ECMP is not supported by Cato and should be disabled if you are creating a new AWS Transit Gateway.
Term |
Description |
Virtual Private Gateway |
The VPN concentrator on the Amazon side of the VPN connection. |
Customer Gateway |
A physical device or software application on your side of the VPN connection. When you create a VPN connection, the VPN tunnel comes up when traffic is generated from your side of the VPN connection. The virtual private gateway is not the initiator; your customer gateway must initiate the tunnels. In this context, the Cato PoP is the Customer Gateway. |
In the following procedure, we will connect through the Cato Cloud to the AWS Transit Gateway.
To create a tunnel between the Transit Gateway and your PoP through the Cato Cloud:
-
In the Cato Management Application, select a Cato allocated IP address for the site.
-
From the navigation menu, click Network > IP Allocation.
-
Select a location. A unique IP is allocated by Cato Networks.
The number of unique IPs that you can obtain is determined by your license. For additional IPs, contact your reseller or sales@catonetworks.com.
-
Click Save.
-
-
In the AWS console, create the Transit Gateway Attachment.
-
Open the VPC service, then in the navigation pane scroll down to Transit Gateways and click Transit Gateway Attachments.
-
Click Create Transit Gateway Attachment.
-
Configure the Transit Gateway Attachment as follows:
-
Transit Gateway ID: select the Transit Gateway you want to connect to Cato.
-
Attachment type: VPN
-
Customer Gateway: New
-
IP Address: enter the Cato allocated IP address (from above).
-
BGP ASN: 64515
-
Routing options: Dynamic (requires BGP)
-
-
Click Create attachment.
-
Click Close.
-
-
Create a VPN connection and download the configuration file.
-
In the VPC navigation pane, scroll up to Virtual Private Network (VPN) and click Site-to-Site VPN Connections.
-
Select the checkbox of the VPN Connection that was created in the previous step and click Download Configuration.
-
Configure the settings as follows:
-
Vendor: Generic
-
Platform: Generic
-
Software: Vendor Agnostic
-
-
Click Download.
-
Open the downloaded file and note the following items under the IPsec Tunnel #1 section:
-
Pre-Shared Key
-
Outside IP Addresses- Virtual Private Gateway
-
Inside IP Addresses - Customer Gateway and Virtual Private Gateway
-
BGP Configuration Options - Virtual Private Gateway ASN and Neighbor IP Address
-
-
-
In the Cato Management Application, create and configure the IPsec site.
-
From the navigation menu, click Network > Sites and click New.
The Add Site panel opens,
-
Configure the site settings as follows:
-
Name: AWS TGW (example)
-
Type: Cloud Data Center
-
Connection Type: IPsec IKEv1 (Cato-Initiated)
-
Country: The country in which the configured site is located.
-
State: The state if the country is the United States.
-
License: Select the appropriate license.
-
Native Range: Any one of your AWS VPC subnets.
-
-
Click Apply, and then click Save.
-
From the Sites screen, click the new AWS site.
-
From the navigation menu, click Site Configuration > IPsec and in the General section, select AWS.
-
Expand the Primary section, and configure the following settings:
-
Service Type: AWS
-
Primary Source (Egress) IP: the unique IP address allocated in step 3 above.
-
Site IP: the Virtual Private Gateway Outside IP Address from the AWS configuration file.
-
Bandwidth (Downstream and Upstream): the bandwidth according to the site license.
-
Private IPs
-
Site: the Virtual Private Gateway Inside IP Address from the AWS configuration file.
-
Cato: the Customer Gateway Inside IP Address from the AWS configuration file.
-
-
Set/Change Primary Password: the Pre-Shared Key from the AWS configuration file
-
-
Click Save.
-
-
Configure the BGP settings for the site.
In the Configuration panel, click BGP, click (Add BGP Neighbor), and then define the following parameters:
-
From the navigation menu, select Site Configuration > BGP.
-
Click New. The Add Rule panel opens.
-
Configure the General settings:
-
Description: AWS TWG #1 (example)
-
ASN Settings
-
Peer: the Virtual Private Gateway ASN from the AWS configuration file
-
Cato: ASN for the Cato Cloud
-
-
IP > Peer: The Neighbor IP address from the AWS configuration file
-
-
Configure the Policy settings for the BGP routes:
-
Select the options for the routes that you want to advertise (Default route and/or All routes) and the routes that you want to accept (Dynamic routes).
-
-
Click Apply, and then click Save.
-
-
Confirm the connectivity status of the IPsec tunnel and the BGP routes are Connected.
-
From the navigation pane, select IPsec and then click Connection Status.
-
From the navigation pane, select BGP and then click Show BGP Status.
Note: Cato routes propagate to the AWS Transit Gateway routing table but not the VPC routing tables. Create routes back to your on-premises networks in each VPC using the Transit Gateway as the target as shown in the procedure below.
-
-
In your AWS console, in the Navigation pane scroll to Virtual Private Cloud and click Route Tables.
-
Select a route table associate with a VPC you want to access through the Transit Gateway, click the Routes tab, and then click Edit Routes.
-
Click Add route, and then configure the settings as follows:
-
Destination: enter a subnet of your local network. This can be a summary route.
-
Target: Select the Transit Gateway.
-
-
Repeat the previous step to create routes for all your local networks that need access to the VPC.
-
Click Save routes.
-
Repeat steps 8 - 11 for each VPC that you need to access through the Transit Gateway.
When setting up an AWS VPN connection, AWS provides two VPN tunnels per ustomer Gateway. While this provides redundancy on the AWS side, it does not provide redundancy on the Cato Cloud side, since both tunnels must be connected to the same PoP.
To provide redundancy for both the Cato Cloud and AWS, you must create two Customer Gateways in AWS, then define one tunnel from one Customer Gateway for the primary tunnel and one tunnel from the other Customer Gateway for the secondary tunnel. This allows you to configure the primary and secondary tunnels on PoPs in different locations.
The following procedure describes how to configure a secondary tunnel in both AWS Console and the Cato Management Application.
Note
Note: This procedure assumes that in the Cato Management Application you already configured one tunnel to the AWS Transit Gateway, as described in Creating the Primary Tunnel between the Transit Gateway and your POP.
To create a redundant tunnel between the Transit Gateway and your PoP through the Cato Cloud:
-
In the Cato Management Application, select a Cato allocated IP address for the site.
-
From the navigation menu, click Network > IP Allocation.
-
Select a location. A unique IP is allocated by Cato Networks.
The number of unique IPs that you can obtain is determined by your license. For additional IPs, contact your reseller or sales@catonetworks.com.
-
Click Save.
-
-
In the AWS console, create the Transit Gateway Attachment.
-
Open the VPC service, then in the navigation pane scroll down to Transit Gateways and click Transit Gateway Attachments.
-
Click Create Transit Gateway Attachment.
-
Configure the Transit Gateway Attachment as follows:
-
Click Create attachment.
-
Click Close.
-
-
Create a VPN connection and download the configuration file.
-
In the VPC navigation pane, scroll up to Virtual Private Network (VPN) and click Site-to-Site VPN Connections.
-
Select the checkbox of the VPN Connection that was created in the previous step and click Download Configuration.
-
Configure the settings as follows:
-
Vendor: Generic
-
Platform: Generic
-
Software: Vendor Agnostic
-
-
Click Download.
-
Open the downloaded file and note the following items under the IPsec Tunnel #1 section:
-
Pre-Shared Key
-
Outside IP Addresses- Virtual Private Gateway
-
Inside IP Addresses - Customer Gateway and Virtual Private Gateway
-
BGP Configuration Options - Virtual Private Gateway ASN and Neighbor IP Address
-
-
-
In the Cato Management Application, configure the AWS Transit Gateway IPsec site for redundant tunnels.
-
From the navigation menu, click Network > Sites and click the AWS Transit Gateway IPsec site.
-
From the navigation menu, click Site Configuration > IPsec and in the General section, select AWS.
-
Expand the Secondary section and configure the following settings:
-
Primary Source (Egress) IP: the unique IP address allocated by Cato.
-
Site IP: the Virtual Private Gateway Outside IP Address from the AWS configuration file.
-
Bandwidth (Downstream and Upstream): the bandwidth according to the site license.
-
Private IPs
-
Site: the Virtual Private Gateway Inside IP Address from the AWS configuration file.
-
Cato: the Customer Gateway Inside IP Address from the AWS configuration file.
-
-
Set/Change Primary Password: the Pre-Shared Key from the AWS configuration file
-
-
Click Save.
-
-
Configure the BGP settings for the for the redundant tunnel for the site.
-
From the navigation menu, select Site Configuration > BGP.
-
Click New. The Add Rule panel opens.
-
Configure the General settings:
-
Configure the Policy settings for the BGP routes:
-
Select the options for the routes that you want to advertise (Default route and/or All routes) and the routes that you want to accept (Dynamic routes).
-
-
Click Apply, and then click Save.
-
-
Confirm the connectivity status of the IPsec tunnel and the BGP routes are Connected.
-
From the navigation pane, select IPsec and then click Connection Status.
-
From the navigation pane, select BGP and then click Show BGP Status and check status of the secondary tunnel.
Note: Cato routes propagate to the AWS Transit Gateway routing table but not the VPC routing tables. Create routes back to your on-premises networks in each VPC using the Transit Gateway as the target as shown in the procedure below.
-
0 comments
Please sign in to leave a comment.