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.