User Profile
DensuShiv
Copper Contributor
Joined Nov 10, 2021
User Widgets
Recent Discussions
Re: Local Network Gateway to Virtual Network Gateway - how does it know which vNet to use
LainRobertson Thanks for your response. The place I am a bit lost is the binding part. None of the above commands point to the VPN vNet created in earlier steps - Azure-VNet-1. During the creation of LNG-HQ-Network or VNG-Azure-VNet-1 or the connection Azure-VNet-1-To-HQ-Network using the above commands there is nowhere we are specifying Azure-VNet-1 as the vnet to connect to. Without specifying this vnet in these commands, how does the binding happen?1.9KViews0likes1CommentLocal Network Gateway to Virtual Network Gateway - how does it know which vNet to use
Was trying out the example from Microsoft Documentation: https://docs.microsoft.com/en-us/learn/modules/connect-on-premises-network-with-vpn-gateway/4-exercise-create-a-site-to-site-vpn-gateway-using-azure-cli-commands While overall the concept is straightforward, I am unable to comprehend how the Virtual Network Gateway knows which vNet to associate with. Creating VNG-Azure-VNet-1 az network vnet create \ --resource-group [sandbox resource group name] \ --name VNG-Azure-VNet-1 \ --subnet-name GatewaySubnet Creating vnet-gateway az network vnet-gateway create \ --resource-group [sandbox resource group name] \ --name VNG-Azure-VNet-1 \ --public-ip-addresses PIP-VNG-Azure-VNet-1 \ --vnet VNG-Azure-VNet-1 \ --gateway-type Vpn \ --vpn-type RouteBased \ --sku VpnGw1 \ --no-wait In both the places there is no reference to either the Azure vNet or the simulated on-premise network. Seems something very simple is hidden from the view. How does the vnet-gateway know how to connect to the actual vNet?2.1KViews0likes3Comments
Recent Blog Articles
No content to show