Route Tables in Azure Virtual WAN

Route tables are a fundamental component of Azure Virtual WAN's routing architecture. They are used to store routes that determine how network traffic is forwarded between different network resources within your Virtual WAN hub, and to on-premises sites or other virtual networks.

Understanding Route Tables

Each Virtual WAN hub has a set of route tables. These route tables are dynamically populated based on the connections established to the hub, such as:

The hub uses these route tables to make forwarding decisions. By default, a hub contains a Default route table. When you connect resources to the hub, they are associated with this Default route table. You can also create custom route tables to segment traffic and implement more granular routing policies.

Key Concepts

Note: Understanding route propagation and distribution is crucial for designing a scalable and secure network architecture with Virtual WAN.

Types of Route Tables

Managing Route Tables

Route tables can be managed through the Azure portal, Azure CLI, Azure PowerShell, or ARM templates. Key management operations include:

Example: Route Propagation and Association

Consider a scenario with two VNet connections (VNetA and VNetB) and a Site-to-Site VPN connection (Site1) connected to a Virtual WAN hub. By default:

  1. Routes from VNetA are propagated to the hub's Default route table.
  2. Routes from VNetB are propagated to the hub's Default route table.
  3. Routes from Site1 are propagated to the hub's Default route table.
  4. VNetA is associated with the Default route table, so it learns routes from VNetB and Site1.
  5. VNetB is associated with the Default route table, so it learns routes from VNetA and Site1.
  6. Site1 is associated with the Default route table, so it learns routes from VNetA and VNetB.

Using custom route tables, you could modify this behavior. For example, you could create a custom route table 'DepartmentX' and associate VNetA with it, while VNetB remains associated with the Default route table. You would then configure route propagation to send VNetA's routes to 'DepartmentX' and VNetB's routes to the Default table.

Route tables are essential for building complex network topologies within Azure Virtual WAN, enabling sophisticated routing control and traffic management.