Active-standby mode to active-active mode: When you change an active-standby mode gateway to active-active mode, if you have BGP sessions running, the Azure VPN Gateway BGP configuration changes and two newly assigned BGP IPs are provisioned within the Gateway Subnet address range. The old Azure VPN Gateway BGP IP address will no longer exist. This incurs downtime. Updating the BGP peers on the on-premises devices is required. Once the gateway is finished provisioning, the new BGP IPs can be obtained and the on-premises device configuration needs to be updated accordingly. This applies to non APIPA BGP IPs. To understand how to configure BGP in Azure, see How to configure BGP on Azure VPN gateways.
Active-active mode to active-standby mode: When you change an active-active mode gateway to active-standby, if you have BGP sessions running, the Azure VPN Gateway BGP configuration changes from two BGP IP addresses to a single BGP address. The platform generally assigns the last usable IP of the Gateway Subnet. This incurs downtime. Updating the BGP peers on the on-premises devices is required. This applies to non APIPA BGP IPs. To understand how to configure BGP in Azure, see How to configure BGP on Azure VPN gateways.
Azure portal
Open the Azure portal and navigate to the page for your virtual network gateway. You can change the gateway mode on the Configuration page.
Change a gateway mode to active-active
Use the following steps to convert active-standby mode gateway to active-active mode.
Navigate to the page for your virtual network gateway.
On the left menu, select Configuration.
On the Configuration page, configure the following settings:
Change the Active-active mode to Enabled.
For Second public IP address, if you already have an IP address that you previously created that's available to dedicate to this resource, you can select it from the SECOND PUBLIC IP ADDRESS dropdown. Otherwise, select Add new to open the Add a public IP settings. Name the new IP address, and then click OK.
At the top of the Configuration page, click Save. This update can take approximately 45 minutes, depending on your gateway SKU.
Change a gateway mode to active-standby
Use the following steps to convert active-active mode gateway to active-standby mode.
Navigate to the page for your virtual network gateway.
On the left menu, select Configuration.
On the Configuration page, change the Active-active mode to Disabled.
At the top of the Configuration page, click Save. This update can take approximately 45 minutes, depending on your gateway SKU.
PowerShell
When you change an active-standby gateway to active-active mode, you create another public IP address, then add a second Gateway IP configuration.
Change a gateway to active-active
The following example converts an active-standby gateway into an active-active gateway.
Declare your variables. Replace the following parameters used for the examples with the settings that you require for your own configuration, then declare these variables.
Enable active-active mode and update the gateway. In this step, you enable active-active mode and update the gateway. Notice that in this step, you must set the gateway object in PowerShell to trigger the actual update. This update can take approximately 45 minutes, depending on your gateway SKU.
Declare your variables. Replace the following parameters used for the examples with the settings that you require for your own configuration, then declare these variables.
Azure PowerShell
$GWName = "VNet1GW"$RG = "TestRG1"
After declaring the variables, get the name of the IP configuration you want to remove.
Remove the gateway IP configuration and disable the active-active mode. Use this example to remove the gateway IP configuration and disable active-active mode. Notice that you must set the gateway object in PowerShell to trigger the actual update. This update can take approximately 45 minutes, depending on your gateway SKU.
Network configuration and the use of Virtual Private Networks (VPNs) is integral to the success of collaborative working. In this module, we look at how to monitor and troubleshoot site-to-site and point-to-site VPNs. AZ720 AZ-720 az-720 networking
Learn about Border Gateway Protocol (BGP) in Azure VPN, the standard internet protocol to exchange routing and reachability information between networks.