hands-on lab

Virtual Network Peering, Private DNS

Beginner
1h 30m
291
4.2/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.
Lab description

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.

  • Test connectivity between TestVM1 and TestVM2 in the existing network
  • Provision a second virtual network in the same region (Vnet2)
  • Activate a Bastion Host for remote connectivity to the new network
  • Move (TestVM2) into the new network
  • Peer connect the network together
  • Provide a Private DNS Services and connect it to the networks for name resolution
  • Test the solution on completion

 

 

             Start                                                                                                       Completion

 

Updates

October 13th, 2023 - Resolved CIDR overlap issue

May 17th, 2023 - Updated screenshots and instructions to reflect the latest UI

About the author
Students
1,685
Labs
5
Courses
2

David has been a trainer with QA for over 12 years and has been training cloud technologies since 2017.  Currently certified in Microsoft and Alibaba cloud technologies David has previously been a system and Network administrator amongst other roles.    

Currently, he is a Principle Technology Learning Specialist (Cloud) at QA. He loves nothing more than teaching cloud-based courses and also has a passion for teaching PowerShell scripting.

Outside of work, his main love is flying Radio control airplanes, and teaching people to fly them.

Covered topics
Lab steps
Logging in to the Microsoft Azure Portal
Provision a Virtual Network and Subnet including Bastion Host
TestVM2 created in the Vnet2 Network
Testing connectivity between Networks
Implement Peering between networks and a Private DNS zone