When you create a DSM environment and select BYOL, it will not allow you to put it in an existing resource group. It will only let you create new RG and this includes new VNET.
This article will help you create peering connection between DSM vNET and your existing VMs VNET.
- Subnet on DSM vNET is 10.4.0.0/16.
- Subnet Vms vNET is 10.3.0.0/16.
Follow these steps to create peering connection between 2 vNETs via Azure portal.
- From the Azure portal, select Resource Group of DSM > DSM VM. Click the Virtual network/subnet, and under Settings click Peerings.
- Click Add. Type the peering name, for example "DSM-to-VM-Inbound". Leave the rest as default.
- Under Remote Virtual Link Type the peering Link name, for example "VM-to-DSM-Inbound". This will serve as the connection link back to the DSM from VMs.
- Under Virtual Network drop down, select the VNET of the DSM.
- Click ADD.
- When you go back to DSM > Peerings , you should now see the peering connection that you created. When you go to VM > Peerings, you should also see the peering connection that you created.
- Test if you can ping or telnet the VMs from DSM (You may also need to allow required Inbound ports from NSG)
- Test That you can ping or telnet the DSM from the VM (port 4120, 4122, 4118).
- From this point, you should now be able to install and protect VMs that are on another VNET.