UDR or Routetable pointing to multiple VNG's

NR 1 Reputation point
2022-02-22T11:51:29.633+00:00

Scenario :
I have a GatewaySubnet with a VNG for a 3rd party vendor VPN solution and a VNG for ExpressRoute
I need to create a RouteTable for the Resource Subnets with entries for Internet access and the VPN Subnet
(Assumption is that the VNG for ExR will auto populate routes for on-prem)

The problem I am seeing is that the VNG's dont appear to have an internal IP , only a public IP is visible
So my questions are :

  1. Do the VNG's have hidden internal IP's and how do I uncover them to create the routes for the VPN VNG .....or.....
  2. If I were to create routes in the RouteTables pointing to the public IP of the VNG - would that work ?
    Thanks
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,554 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,499 questions
Azure ExpressRoute
Azure ExpressRoute
An Azure service that provides private connections between Azure datacenters and infrastructure, either on premises or in a colocation environment.
381 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SaiKishor-MSFT 17,236 Reputation points
    2022-02-23T19:49:27.06+00:00

    @NR Thank you for reaching out to Microsoft Q&A. I understand that you want to create a RT for the subnets with entries for Internet and VPN.

    In order to create a route in the RT for the on-premise via the VPN Gateway, you can choose the option of Virtual Network Gateway as the next hop as shown below:

    177323-2022-02-23-11-30-29-add-route-microsoft-azure-and.png

    The Virtual Network Gateway Private IPs are not visible to the customers as they are hidden for internal reasons. So when creating the route, you would just point them to the VNG as the next hop. If you want routes from the on-premises to be propagated to the VPN Gateway, you will need to choose the option to auto-propagate as shown below:

    177351-2022-02-23-11-31-34-test-microsoft-azure-and-7-mor.png

    Or you can also manually add the routes to the subnet route tables. Hope this helps. Please do let us know if you have any further questions/concerns and we will be glad to assist further. Thank you!

    Remember:

    Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.

    Want a reminder to come back and check responses? Here is how to subscribe to a notification.


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.