I’m not an Azure or a networking person. Most of these stuff is beyond me.
Recently I’ve been told to create an S2S VPN from our Azure site to a vendors’, using the Azure documentation here. Vendor plans to shut off previous implementation soon.
We already have an existing resource group, set up with a VM the other resources needed (vnet, nsg, route tables). I’ve tried following the instructions above, by setting up a virtual network gateway, a public IP address, and then a local network gateway - which resulted in this error:
Virtual Network Gateway connection /subscriptions/xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/nrg-test-network-01/providers/Microsoft.Network/connections/s2s-test-network-01 has overlapping address spaces. The overlapping address space prefixes are 10.25.16.0/20 and 10.25.16.0/24. (Code: GatewayConnectionHasOverlappingAddressSpaces)
Questions:
- Under the virtual network gateway, what is the gateway subnet address range? Should this be an entirely new subnet range, or the one the VM is sitting on?
- Under the local network gateway, what is the IP address and Address Space I’m supposed to use?
- Should I have created an entirely new virtual network for this?