You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/network-watcher/diagnose-vm-network-routing-problem.md
+26-33Lines changed: 26 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,19 +6,19 @@ author: halkazwini
6
6
ms.author: halkazwini
7
7
ms.service: network-watcher
8
8
ms.topic: tutorial
9
-
ms.date: 09/26/2023
9
+
ms.date: 09/28/2023
10
10
11
11
# CustomerIntent: As an Azure administrator, I want to diagnose virtual machine (VM) network routing problem that prevents it from communicating with the internet.
12
12
---
13
13
14
14
# Tutorial: Diagnose a virtual machine network routing problem using the Azure portal
15
15
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).
17
17
18
18
In this tutorial, you learn how to:
19
19
20
20
> [!div class="checklist"]
21
-
> * Create a virtual network and a Bastion host
21
+
> * Create a virtual network
22
22
> * Create two virtual machines
23
23
> * Test communication to different IPs using the next hop capability of Azure Network Watcher
24
24
> * View the effective routes
@@ -49,30 +49,20 @@ In this section, you create a virtual network.
49
49
| Subscription | Select your Azure subscription. |
50
50
| Resource Group | Select **Create new**. </br> Enter ***myResourceGroup*** in **Name**. </br> Select **OK**. |
51
51
|**Instance details**||
52
-
|Name| Enter ***myVNet***. |
52
+
|Virtual network name| Enter ***myVNet***. |
53
53
| Region | Select **East US**. |
54
54
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.
56
56
57
57
1. Enter the following values in the **IP Addresses** tab:
58
58
59
59
| Setting | Value |
60
60
| --- | --- |
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**)|
64
64
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.
76
66
77
67
1. Review the settings, and then select **Create**.
78
68
@@ -84,9 +74,9 @@ In this section, you create two virtual machines: **myVM** and **myNVA**. You us
84
74
85
75
1. In the search box at the top of the portal, enter ***virtual machines***. Select **Virtual machines** in the search results.
86
76
87
-
2. Select **+ Create** and then select **Azure virtual machine**.
77
+
1. Select **+ Create** and then select **Azure virtual machine**.
88
78
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:
90
80
91
81
| Setting | Value |
92
82
| --- | --- |
@@ -105,38 +95,41 @@ In this section, you create two virtual machines: **myVM** and **myNVA**. You us
105
95
| Password | Enter a password. |
106
96
| Confirm password | Reenter password. |
107
97
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**.
109
99
110
-
5. In the Networking tab, enter or select the following values:
100
+
1. In the Networking tab, enter or select the following values:
111
101
112
102
| Setting | Value |
113
103
| --- | --- |
114
104
|**Network interface**||
115
105
| Virtual network | Select **myVNet**. |
116
106
| Subnet | Select **mySubnet**. |
117
-
| Public IP | Select **None**. |
107
+
| Public IP | Select **(new) myVM-ip**. |
118
108
| NIC network security group | Select **Basic**. |
119
-
| Public inbound ports | Select **None**. |
109
+
| Public inbound ports | Select **Allow selected ports**. |
7. Review the settings, and then select **Create**.
116
+
1. Review the settings, and then select **Create**.
124
117
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**.
126
119
127
-
9. Select **Connect**, then select **Bastion**.
120
+
1. Select **Connect**, then select **select** under **Native RDP**.
128
121
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.
130
123
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.
132
125
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.
134
127
135
128
:::image type="content" source="./media/diagnose-vm-network-routing-problem/bing-allowed.png" alt-text="Screenshot showing Bing page in a web browser.":::
136
129
137
130
### Create second virtual machine
138
131
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.
140
133
141
134
## Test network communication using Network Watcher next hop
> 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