Ask Learn Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Important
You need your own Azure subscription to complete the exercises in this module. If you don't have an Azure subscription, you can still view the demonstration video at the bottom of this page.
Sign in to the Azure portal using the same account you used to activate the sandbox.
If you have not already run the script in unit 2, please do so now so you can follow the exercise below.
You work for Contoso as a network engineer, and users are complaining that they cannot access VM1 or VM2. You have configured two Azure virtual networks: VNet1 and VNet2. They are connected with peering.
Virtual network | IPv4 network address | Subnet | IPv4 network address |
---|---|---|---|
VNet1 | 10.1.0.0/16 | Subnet1 | 10.1.1.0/24 |
Subnet2 | 10.1.2.0/24 | ||
VNet2 | 10.2.0.0/16 | Default | 10.2.0.0/24 |
Virtual machine | Operating system | VNet and subnet | DNS domain |
---|---|---|---|
VM1 | Windows Server 2019 | VNet1, Subnet1 | contoso.com |
VM2 | Windows Server 2019 | VNet1, Subnet2 | contoso.com |
VM3 | Windows Server 2019 | VNet2, default | contoso.com |
Use Nslookup on VM1 and VM2 and check you get the following results:
vm1.contoso.com – success
vm2.contoso.com – success
vm3.contoso.com – can't find
Nslookup on VM3 gives these results:
vm1.contoso.com – can't find
vm2.contoso.com – can't find
vm3.contoso.com – can't find
Connect to each VM using Remote Desktop. Open a command prompt window and type: ipconfig /all
The IP addresses are:
VM1 = 10.1.1.4
VM2 = 10.1.2.4
VM3 = 10.2.0.4
The DNS server address is 192.168.016, which is the wire server.
Use ping to test network connectivity between the three virtual machines.
All three VMs are able to ping each other, so network connectivity is good at the IP level (OSI Layer 3).
There are two virtual networks (VNets) called VNet1 and VNet2.
There is a private DNS zone, which is contoso.com.
The private DNS zone has vm1 and vm2 automatically registered, but vm3 does not appear.
Go to Settings > Virtual network links. We see that the private DNS zone is linked to VNet1, but not to VNet2.
Navigate to the private DNS zone (contoso.com) and select the Virtual network links page. Add a new link.
Link name: vnet2_dns
[ ] I know the resource ID of virtual network – leave unchecked
Subscription: <the name of your subscription>
Virtual network: VNet2
Configuration: [X] Enable auto registration
After you select OK, it may take a few minutes for the link to be created. Select Refresh occasionally to see the latest status. Wait until the link status says Completed.
Navigate to the Overview page and inspect the DNS name table.
VM1, VM2, and VM3 should appear. You may need to wait a short while for VM3 to appear. Select Refresh if necessary.
Nslookup on VM1 and VM2 should resolve vm3.contoso.com.
Tip
If VM3 does not appear after several minutes, try restarting the VM.
Optionally, you can test pinging the VMs, using their DNS names.
vm1.contoso.com
vm2.contoso.com
vm3.contoso.com
In this demonstration you will see how to proactively troubleshoot Conditional Access policies using the What if tool in the Azure portal:
Having an issue? We can help!
Please sign in to use this experience.
Sign in