Skip to content

Commit 9a35d78

Browse files
authored
Merge pull request #253191 from halkazwini/nw-routing2
Use RDP to connect instead of Bastion to simplify tutorial for beginners
2 parents b9ac0df + 5405ee8 commit 9a35d78

File tree

2 files changed

+36
-33
lines changed

2 files changed

+36
-33
lines changed

articles/network-watcher/diagnose-vm-network-routing-problem.md

Lines changed: 26 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ author: halkazwini
66
ms.author: halkazwini
77
ms.service: network-watcher
88
ms.topic: tutorial
9-
ms.date: 09/26/2023
9+
ms.date: 09/28/2023
1010

1111
# CustomerIntent: As an Azure administrator, I want to diagnose virtual machine (VM) network routing problem that prevents it from communicating with the internet.
1212
---
1313

1414
# Tutorial: Diagnose a virtual machine network routing problem using the Azure portal
1515

16-
In this tutorial, You use Azure Network Watcher [next hop](network-watcher-next-hop-overview.md) tool to troubleshoot and diagnose a VM routing problem that's preventing it from correctly communicating with other resources. Next hop shows you that the routing problem is caused by a [custom route](../virtual-network/virtual-networks-udr-overview.md#custom-routes).
16+
In this tutorial, You use Azure Network Watcher [next hop](network-watcher-next-hop-overview.md) tool to troubleshoot and diagnose a VM routing problem that's preventing it from correctly communicating with other resources. Next hop shows you that the routing problem is caused by a [custom route](../virtual-network/virtual-networks-udr-overview.md?toc=/azure/network-watcher/toc.json#custom-routes).
1717

1818
In this tutorial, you learn how to:
1919

2020
> [!div class="checklist"]
21-
> * Create a virtual network and a Bastion host
21+
> * Create a virtual network
2222
> * Create two virtual machines
2323
> * Test communication to different IPs using the next hop capability of Azure Network Watcher
2424
> * View the effective routes
@@ -49,30 +49,20 @@ In this section, you create a virtual network.
4949
| Subscription | Select your Azure subscription. |
5050
| Resource Group | Select **Create new**. </br> Enter ***myResourceGroup*** in **Name**. </br> Select **OK**. |
5151
| **Instance details** | |
52-
| Name | Enter ***myVNet***. |
52+
| Virtual network name | Enter ***myVNet***. |
5353
| Region | Select **East US**. |
5454

55-
1. Select the **IP Addresses** tab, or select **Next: IP Addresses** button at the bottom of the page.
55+
1. Select the **IP Addresses** tab, or select **Next** button at the bottom of the page twice.
5656

5757
1. Enter the following values in the **IP Addresses** tab:
5858

5959
| Setting | Value |
6060
| --- | --- |
61-
| IPv4 address space | Enter ***10.0.0.0/16***. |
62-
| Subnet name | Enter ***mySubnet***. |
63-
| Subnet address range | Enter ***10.0.0.0/24***. |
61+
| IPv4 address space | **10.0.0.0/16** |
62+
| Subnet name | **mySubnet** |
63+
| Subnet IP address range | **10.0.0.0 - 10.0.0.255** (size: **/24**) |
6464

65-
1. Select the **Security** tab, or select the **Next: Security** button at the bottom of the page.
66-
67-
1. Under **BastionHost**, select **Enable** and enter the following values:
68-
69-
| Setting | Value |
70-
| --- | --- |
71-
| Bastion name | Enter ***myBastionHost***. |
72-
| AzureBastionSubnet address space | Enter ***10.0.3.0/24***. |
73-
| Public IP Address | Select **Create new**. </br> Enter ***myBastionIP*** for **Name**. </br> Select **OK**. |
74-
75-
1. Select the **Review + create** tab or select the **Review + create** button.
65+
1. Select the **Review + create** tab or select the **Review + create** button at the bottom of the page.
7666

7767
1. Review the settings, and then select **Create**.
7868

@@ -84,9 +74,9 @@ In this section, you create two virtual machines: **myVM** and **myNVA**. You us
8474

8575
1. In the search box at the top of the portal, enter ***virtual machines***. Select **Virtual machines** in the search results.
8676

87-
2. Select **+ Create** and then select **Azure virtual machine**.
77+
1. Select **+ Create** and then select **Azure virtual machine**.
8878

89-
3. In **Create a virtual machine**, enter or select the following values in the **Basics** tab:
79+
1. In **Create a virtual machine**, enter or select the following values in the **Basics** tab:
9080

9181
| Setting | Value |
9282
| --- | --- |
@@ -105,38 +95,41 @@ In this section, you create two virtual machines: **myVM** and **myNVA**. You us
10595
| Password | Enter a password. |
10696
| Confirm password | Reenter password. |
10797

108-
4. Select the **Networking** tab, or select **Next: Disks**, then **Next: Networking**.
98+
1. Select the **Networking** tab, or select **Next: Disks**, then **Next: Networking**.
10999

110-
5. In the Networking tab, enter or select the following values:
100+
1. In the Networking tab, enter or select the following values:
111101

112102
| Setting | Value |
113103
| --- | --- |
114104
| **Network interface** | |
115105
| Virtual network | Select **myVNet**. |
116106
| Subnet | Select **mySubnet**. |
117-
| Public IP | Select **None**. |
107+
| Public IP | Select **(new) myVM-ip**. |
118108
| NIC network security group | Select **Basic**. |
119-
| Public inbound ports | Select **None**. |
109+
| Public inbound ports | Select **Allow selected ports**. |
110+
| Select inbound ports | Select **RDP (3389)**. |
111+
112+
[!INCLUDE [RDP Caution](../../includes/network-watcher-rdp.md)]
120113

121-
6. Select **Review + create**.
114+
1. Select **Review + create**.
122115

123-
7. Review the settings, and then select **Create**.
116+
1. Review the settings, and then select **Create**.
124117

125-
8. Once the deployment is complete, select **Go to resource** to go to the **Overview** page of **myVM**.
118+
1. Once the deployment is complete, select **Go to resource** to go to the **Overview** page of **myVM**.
126119

127-
9. Select **Connect**, then select **Bastion**.
120+
1. Select **Connect**, then select **select** under **Native RDP**.
128121

129-
10. Enter the username and password that you created in the previous steps.
122+
1. Select **Download RDP file** and open the downloaded file.
130123

131-
11. Select **Connect** button.
124+
1. Select **Connect** and then enter the username and password that you created in the previous steps. Accept the certificate if prompted.
132125

133-
12. Once logged in, open a web browser and go to `www.bing.com` to verify it's reachable.
126+
1. Once logged in, open a web browser and go to `www.bing.com` to verify it's reachable.
134127

135128
:::image type="content" source="./media/diagnose-vm-network-routing-problem/bing-allowed.png" alt-text="Screenshot showing Bing page in a web browser.":::
136129

137130
### Create second virtual machine
138131

139-
Follow the previous steps that you used to create **myVM** virtual machine and enter ***myNVA*** for the virtual machine name.
132+
Follow the previous steps (1-6) and use ***myNVA*** for the virtual machine name to create the second virtual machine.
140133

141134
## Test network communication using Network Watcher next hop
142135

includes/network-watcher-rdp.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
author: halkazwini
3+
ms.author: halkazwini
4+
ms.service: network-watcher
5+
ms.topic: include
6+
ms.date: 09/28/2023
7+
ms.custom: include file
8+
---
9+
> [!CAUTION]
10+
> Leaving the RDP port open to the internet is only recommended for testing. For production environments, it's recommended to restrict access to the RDP port to a specific IP address or range of IP addresses. You can also block internet access to the RDP port and use [Azure Bastion](../articles/bastion/bastion-overview.md?toc=/azure/network-watcher/toc.json) to securely connect to your virtual machine from the Azure portal.

0 commit comments

Comments
 (0)