question

KapilChaturvedi-2295 avatar image
0 Votes"
KapilChaturvedi-2295 asked IvanLam-1513 commented

VPN Gateway Active Standby public IP address

We have standalone VPN gateway in place.
We want to set it up in Active-Standby mode.
We want to understand that for Active Standby how many public IP addresses would be needed or if the same public IP address would be used when the failover will happen.
We want to use the same existing public IP address that is in use using the standalone VPN gateway. Is it possible?

azure-vpn-gateway
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@KapilChaturvedi-2295 Please let us know if you have any further questions and we will be glad to assist you further. Thank you!



Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.

0 Votes 0 ·

1 Answer

SaiKishor-MSFT avatar image
0 Votes"
SaiKishor-MSFT answered IvanLam-1513 commented

@KapilChaturvedi-2295

Azure VPN is automatically in Active-Standby mode. Every Azure VPN gateway consists of two instances in an active-standby configuration. By default, VPN Gateway allocates a single IP address from the GatewaySubnet range for active-standby VPN gateways, or two IP addresses for active-active VPN gateways. For any planned maintenance or unplanned disruption that happens to the active instance, the standby instance would take over (failover) automatically, and resume the S2S VPN or VNet-to-VNet connections. However You can have only 1 tunnel when using a PolicyBased VPN.

So you do not have to do anything explicitly for Active-Standby setup if you have a Route Based VPN setup. However, if you want to setup Active-Active VPN, please refer this document for more details- https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-highlyavailable#highly-available-cross-premises-connectivity

Hope this helps. Please let us know if you have any further questions/concerns. Thank you!



Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@KapilChaturvedi-2295 Please let us know if the above answer helped you resolve your issue. Please do accept the answer as it helps others in the community. Thank you!

0 Votes 0 ·

When we connect to Azure Active-Standby VPN we only need to configured our VPN device to the Active Instance IP address, right?

Would like to know more when failover happens, will standby instance takeover the IP address of the Active one, or it will use the 2nd instance IP address? It's confusing there as we didn't vpn tunnel connection to Standby Instance IP address.

0 Votes 0 ·