Introduction:
All virtual machines in a single network can communicate with each other, and have Azure's DNS private name resolution by default. This is regardless of how many subnets are in the network. Moving Virtual Machines between subnets within the same network is easily achieved by changing the IP Configuration settings on the Network Adapter (Connected Device).
However, moving Virtual Machines between networks that are located in the same region becomes a little more complex. Also if you want those machines to then communicate with each other, you need to Peer connect the networks together, and provide a Private DNS service for name resolution.
In this Lab exercise, you will:
Start with a pre-existing virtual network (Vnet1), that has a single subnet (Subnet1) with two Virtual Machines connected (TestVM1, TestVM2). Then, you will complete the below tasks.
Start Completion
Updates
October 13th, 2023 - Resolved CIDR overlap issue
May 17th, 2023 - Updated screenshots and instructions to reflect the latest UI