-
In the Azure admin portal, navigate to your resource group and click Create.
-
Search the marketplace for Virtual network, then click Create.
-
Configure the virtual network.
- Basics: Select the Subscription and Resource group with the resources that you want to make available via the S2S VPN tunnel.
- IP addresses: Configure a virtual network address with the IPv4 and IPv6 addresses and subnets you need. This example uses the range
192.168.0.0/16.
- Review the configuration and click Create.
Azure will deploy the virtual network and update the dashboard when deployment is complete.
-
Create the gateway subnet.
- Navigate to .
- Click + Subnet.
- Subnet purpose: Select Virtual Network Gateway.
- Enable Include an IPv4 address space (it is enabled by default).
- Confirm IPv4 address range defaulted to the address space you configured when you created the virtual network. This example uses the range
192.168.0.0/16.
- Starting address: This example uses
192.168.255.0.
- Size: This example uses /27 (32 addresses)
- Click Add.
-
Create the virtual network gateway.
- Navigate to .
- Search the marketplace for Virtual network gateway, then click Create.
-
Configure the virtual network gateway.
- SKU: Select VpnGw2AZ. For more information, see About gateway SKUs.
- Generation: Select Generation2.
- Virtual network: Select the virtual network you created in the previous step.
- Public IP address: Select Create new.
- Public IP address name: Enter a descriptive name for the primary IP address.
- Enable Enable active-active mode.
- SECOND PUBLIC IP ADDRESS: Select Create new.
- Public IP address name: Enter a descriptive name for the primary IP address.
- Enable Configure BGP.
- Autonomous system number (ASN): Enter an ASN that is not in use by your other branches and that is not reserved by Azure or IANA. This example uses ASN 64515. For more information, see Microsoft Azure documentation on BGP and routing.
- You do not need to enter custom Azure APIPA BGP IP addresses.
-
Review the configuration, then click Create.
Azure will deploy the virtual network gateway and update the dashboard with the two public IP address resources when deployment is complete.
-
To review your configuration after deployment is complete, navigate to .
-
In Step 1 - General Settings: Set Device Type to AZURE.
-
In Step 2 - Tunnel ID and Passphrase: Enter the primary and secondary public IPs from the Azure virtual network gateway and create a passphrase.
-
In Step 3 - Routing:
- Select Dynamic routing.
- Device AS Number: Enter the ASN configured for the Azure virtual network gateway. This example uses
64515.
- BGP peer IP address 1 and 2: Enter two private IP address ranges (RFC1918). This example uses
10.255.255.254/32 and 10.255.255.255/32.
Tip
BGP peer IP address compatibility between Azure and Secure Access
By default, Secure Access listens for BGP peer requests in the the APIPA address range 169.254.0.0/24. Azure does not initiate BGP connections to peers in the range 169.254.0.0/16. To work around this limitation, configure the Secure Access tunnel group to listen for BGP peer requests from two RFC1918 private IP ranges. These ranges should not overlap with 169.254.0.0/16 or with ranges assigned to your other branches that connect to Secure Access.
-
In Step 4 - Data for Tunnel Setup: Copy or download the primary and secondary tunnel IDs, data center (DC) IP addresses, and the passphrase you created.
This is the only time your passphrase will be displayed.
-
In the Azure admin portal, navigate to .
-
Search the marketplace for Local network gateway, then click Create.
-
Configure the Basics tab of the first local network gateway.
- Select the Subscription and Resource group of your virtual network.
- Enter a Name. This example uses
primary-dc.
- Endpoint: Select IP address.
- IP address: For the first local network gateway, enter the Primary DC IP Address from Secure Access Step 4 - Data for Tunnel Setup.
- Leave Address space(s) blank.
-
Configure the Advanced tab of the first local network gateway.
- Configure BGP settings: Select Yes.
- Autonomous system number (ASN): Enter the Peer (Secure Access) BGP AS number from the Secure Access network tunnel group created earlier. This example shows the ASN
32644. You can also find this ASN in the Summary section of your network tunnel group in Secure Access.
- BGP peer IP address: For the first local network gateway, enter the BGP peer IP address 1 that you configured in Secure Access Step 3 - Routing. You can also find the BGP peer IP address in the Summary section of your network tunnel group in Secure Access.
-
Review the configuration, then click Create.
Azure will deploy the local network gateway and update the dashboard with the local network gateway resource when deployment is complete.
-
Repeat steps 3 and 4 to create the secondary local network gateway with the BGP peer IP address 2 and the Secondary DC IP Address from Secure Access.
-
Create the S2S connection for the primary local network gateway.
- In the Azure admin portal, navigate to , then click the name of your virtual network gateway.
- Navigate to Connections, then click + Add.
- Navigate to the Basics tab, then select the Subscription and Resource group of your virtual network.
- Connection type: Select Site-to-site (IPsec).
- Navigate to the Settings tab of the connection, then select your virtual network gateway.
- Local network gateway: Select the primary gateway.
- Shared Key (PSK): Enter the passphrase configured for the Secure Access network tunnel group in step 2.
- Enable BGP: Check the box.
- IPsec / IKE policy: Select Custom.
- IKE Phase 1: The following configuration is recommended.
-
Encryption: GCMAE256.
-
Integrity/PRF: SHA256.
-
DH Group: ECP384.
-
For information about cipher parameters supported by Secure Access, see Supported IPsec Parameters. For information about cipher parameters supported by Azure, see Microsoft documentation on Default IPsec/IKE parameters.
-
IPsec SA lifetime in seconds: <3000. Note that any value less than 300 can cause the CHILD SA Rekey to enter a retry loop while the data plane is still active.
-
DPD timeout in seconds: 30
-
Review the configuration, then click Create.
Azure will deploy the S2S connection and update the dashboard when deployment is complete.
-
Repeat step 6 for the secondary local network gateway.
Both S2S VPN tunnels are now established with dynamic routing with BGP between your Azure virtual network gateway and the Secure Access DC.
-
In the Azure admin portal, navigate to , then click the name of your virtual network gateway.
-
Navigate to to review the table of Learned Routes received by your Azure virtual network gateway and the Secure Access service.
-
In Secure Access, navigate to and click the name of the network tunnel group to review the connection status with Azure.
-
Under Network Tunnels, click a tunnel name to review Routing details. Client Routes show routes advertised by Azure to Secure Access via BGP. Cloud Routes show routes advertised by Secure Access to Azure via BGP.
Branch access to resources in your Azure virtual network is now protected by the site-to-site (S2S) IPsec/IKEv2 VPN tunnel with Cisco Secure Access.