Questions Regarding Azure VPN Gateway Migration, Pricing, and Configuration

Nikoloz Jibgashvili 20 Reputation points
2024-12-18T07:21:25.1733333+00:00

I have a few questions related to Azure VPN Gateway services, and I would appreciate your guidance on the following matters:

  1. Migration to AZ VPN Gateways:

I have heard that in 2025 there are plans to transition all standard VPN Gateways to AZ VPN Gateways. My current gateway is using a non-zonal public IP address, while AZ VPN Gateways require zonal public IPs.

  • How will this migration be handled?
  • Will the public IP address associated with my gateway automatically migrate to a zonal IP, or will a new IP be assigned?
  • If a new public IP is issued, how will it affect existing VPN tunnels? My current tunnels are reliant on the existing public IP, and changes to it would pose significant challenges.

  1. Active-Active VPN Tunnel and Pricing:

When creating a connection in Active-Active mode, two Site-to-Site (S2S) tunnels are automatically created within a single connection.

  • In the context of VPN Gateway pricing, where up to 10 tunnels are included for free, does an Active-Active VPN connection count as one tunnel or two tunnels in that 10 tunnels pricing?

  1. BGP Connections and Primary Link Selection:

In scenarios where I have multiple on-premises sites (e.g., a primary site and a DR site) connected to Azure via VPN tunnels, both announcing the same subnets using BGP:

  • Is there a way to designate one link (e.g., the primary site) as the preferred path for all traffic and have Azure use the secondary (DR site) link only if the primary link fails?
  • If Azure learns the same subnets from both sites, does it attempt to load balance the traffic across both links? If so, how can this behavior be adjusted to ensure all traffic is directed only through the primary link under normal circumstances?
Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,593 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,577 questions
0 comments No comments
{count} votes

Accepted answer
  1. KapilAnanth-MSFT 48,081 Reputation points Microsoft Employee
    2024-12-18T09:43:08.8466667+00:00

    @Nikoloz Jibgashvili ,

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.

    1 . Migration to AZ VPN Gateways:

    • Refer : What actions do I need to take?
      • There are no actions that you need to take. If your gateway currently uses one of the SKUs listed in previous section, we'll migrate the gateway for you. When we perform the migration, the migration is seamless. There's no downtime expected. You'll be notified in advance about migration for your gateway.
    • Since the doc informs there shouldn't be any downtime expected, the IP should remain the same

    2 . Active-Active VPN Tunnel and Pricing:

    • This is considered to be 2 tunnels.

    3 . BGP Connections and Primary Link Selection:

    In an active-active configuration, Azure routes traffic from your virtual network to your on-premises network through both tunnels simultaneously. For a single TCP or UDP flow, Azure attempts to use the same tunnel when sending packets to your on-premises network. However, your on-premises network might use a different tunnel to send packets back to Azure.

    • There are two ways you can employ to prefer one connection over the other
    • AS PATH prepending
      • You advertise both of the prefixes on both the tunnels, and in addition you add a AS Path prefix to the secondary connection
      • NOTE : The route with a shorter AS Path is preferred.
    • or Advertise a more specific route via Primary tunnel
      • Say your OnPrem range is 10.1.1.0/24,
      • In the secondary tunnel advertise 10.1.0.0/16 and in Primary tunnel advertise 10.1.1.0/24
      • Azure will prefer the more specific path, see : How Azure selects a route

    Kindly let us know if this helps or you need further assistance on this issue.

    Thanks,

    Kapil


    Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.