Skip to content

Commit b05db6f

Browse files
Merge pull request #235562 from asudbring/linux-fixes
[Doc-a-thon] Linux doc-athon fixes for Manage Route Table article
2 parents 48d3d4a + d0fbd8c commit b05db6f

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

articles/virtual-network/manage-route-table.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ author: asudbring
77
ms.service: virtual-network
88
ms.topic: how-to
99
ms.workload: infrastructure-services
10-
ms.date: 12/13/2022
10+
ms.date: 04/24/2023
1111
ms.author: allensu
1212
---
1313

1414
# Create, change, or delete a route table
1515

16-
Azure automatically routes traffic between Azure subnets, virtual networks, and on-premises networks. If you want to change any of Azure's default routing, you do so by creating a route table. If you're new to routing in virtual networks, you can learn more about it in [virtual network traffic routing](virtual-networks-udr-overview.md) or by completing a [tutorial](tutorial-create-route-table-portal.md).
16+
Azure automatically routes traffic between Azure subnets, virtual networks, and on-premises networks. If you want to change Azure's default routing, you do so by creating a route table. If you're new to routing in virtual networks, you can learn more about it in [virtual network traffic routing](virtual-networks-udr-overview.md) or by completing a [tutorial](tutorial-create-route-table-portal.md).
1717

1818
## Before you begin
1919

@@ -27,7 +27,7 @@ If you don't have one, set up an Azure account with an active subscription. [Cre
2727

2828
- **Azure CLI users**: Run the commands via either the [Azure Cloud Shell](https://shell.azure.com/bash) or the Azure CLI running locally. Use Azure CLI version 2.0.31 or later if you're running the Azure CLI locally. Run `az --version` to find the installed version. If you need to install or upgrade, see [Install Azure CLI](/cli/azure/install-azure-cli). Also run `az login` to create a connection with Azure.
2929

30-
The account you log into, or connect to Azure with must be assigned to the [Network contributor role](../role-based-access-control/built-in-roles.md?toc=%2fazure%2fvirtual-network%2ftoc.json#network-contributor) or to a [Custom role](../role-based-access-control/custom-roles.md?toc=%2fazure%2fvirtual-network%2ftoc.json) that's assigned the appropriate actions listed in [Permissions](#permissions).
30+
Assign the [Network contributor role](../role-based-access-control/built-in-roles.md?toc=%2fazure%2fvirtual-network%2ftoc.json#network-contributor) or a [Custom role](../role-based-access-control/custom-roles.md?toc=%2fazure%2fvirtual-network%2ftoc.json) with the appropriate [Permissions](#permissions).
3131

3232
## Create a route table
3333

@@ -117,7 +117,17 @@ The most common changes are to [add](#create-a-route) routes, [remove](#delete-a
117117

118118
## Associate a route table to a subnet
119119

120-
You can optionally associate a route table to a subnet. A route table can be associated to zero or more subnets. Because route tables aren't associated to virtual networks, you must associate a route table to each subnet you want the route table associated to. Azure routes all traffic leaving the subnet based on routes you've created within route tables, [default routes](virtual-networks-udr-overview.md#default), and routes propagated from an on-premises network, if the virtual network is connected to an Azure virtual network gateway (ExpressRoute or VPN). You can only associate a route table to subnets in virtual networks that exist in the same Azure location and subscription as the route table.
120+
You can optionally associate a route table to a subnet. A route table can be associated to zero or more subnets. Route tables aren't associated to virtual networks. You must associate a route table to each subnet you want the route table associated to.
121+
122+
Azure routes all traffic leaving the subnet based on routes you've created:
123+
124+
* Within route tables
125+
126+
* [Default routes](virtual-networks-udr-overview.md#default)
127+
128+
* Routes propagated from an on-premises network, if the virtual network is connected to an Azure virtual network gateway (ExpressRoute or VPN).
129+
130+
You can only associate a route table to subnets in virtual networks that exist in the same Azure location and subscription as the route table.
121131

122132
1. Go to the [Azure portal](https://portal.azure.com) to manage your virtual network. Search for and select **Virtual networks**.
123133

@@ -198,7 +208,7 @@ There's a limit to how many routes per route table can create per Azure location
198208

199209
1. Enter a unique **Route name** for the route within the route table.
200210

201-
:::image type="content" source="./media/manage-route-table/add-route.png" alt-text="Screenshot of the add a route page for a route table.":::
211+
:::image type="content" source="./media/manage-route-table/add-route.png" alt-text="Screenshot of add a route page for a route table.":::
202212

203213
1. Enter the **Address prefix**, in Classless Inter-Domain Routing (CIDR) notation, that you want to route traffic to. The prefix can't be duplicated in more than one route within the route table, though the prefix can be within another prefix. For example, if you defined *10.0.0.0/16* as a prefix in one route, you can still define another route with the *10.0.0.0/22* address prefix. Azure selects a route for traffic based on longest prefix match. To learn more, see [How Azure selects a route](virtual-networks-udr-overview.md#how-azure-selects-a-route).
204214

@@ -328,7 +338,7 @@ You can determine the next hop type between a virtual machine and the IP address
328338

329339
1. In the **Network Watcher | Next hop** page:
330340

331-
:::image type="content" source="./media/manage-route-table/add-route.png" alt-text="Screenshot of the add a route page for a route table.":::
341+
:::image type="content" source="./media/manage-route-table/add-route.png" alt-text="Screenshot of add a route page for a route table.":::
332342

333343
| Setting | Value |
334344
|--|--|

0 commit comments

Comments
 (0)