title | titleSuffix | description | services | author | ms.service | ms.topic | ms.date | ms.author |
---|---|---|---|---|---|---|---|---|
How to configure virtual hub routing |
Azure Virtual WAN |
Learn how to configure Virtual WAN virtual hub routing. |
virtual-wan |
cherylmc |
virtual-wan |
how-to |
04/27/2021 |
cherylmc |
A virtual hub can contain multiple gateways such as a Site-to-site VPN gateway, ExpressRoute gateway, Point-to-site gateway, and Azure Firewall. The routing capabilities in the virtual hub are provided by a router that manages all routing, including transit routing, between the gateways using Border Gateway Protocol (BGP). This router also provides transit connectivity between virtual networks that connect to a virtual hub and can support up to an aggregate throughput of 50 Gbps. These routing capabilities apply to Standard Virtual WAN customers.
For more information, see About virtual hub routing.
-
In the Azure portal, navigate to the virtual hub.
-
Under Connectivity, select Routing. On the Routing page, you see the Default and None route tables.
:::image type="content" source="./media/how-to-virtual-hub-routing/routing.png" alt-text="Routing page":::
-
Select +Create route table to open the Create Route Table page.
-
On the Create Route Table page Basics tab, complete the following fields.
:::image type="content" source="./media/how-to-virtual-hub-routing/basics.png" alt-text="Basics tab":::
-
Name
-
Routes
-
Route name
-
Destination type
-
Destination prefix: You can aggregate prefixes. For example: VNet 1: 10.1.0.0/24 and VNet 2: 10.1.1.0/24 can be aggregated as 10.1.0.0/16. Branch routes apply to all connected VPN sites, ExpressRoute circuits, and User VPN connections.
-
Next hop: A list of virtual network connections, or Azure Firewall.
If you select a virtual network connection, you will see Configure static routes. This is an optional configuration setting. For more information, see Configuring static routes.
:::image type="content" source="./media/how-to-virtual-hub-routing/next-hop.png" alt-text="Next hop":::
-
-
Select the Labels tab to configure label names. Labels provide a mechanism to logically group route tables.
:::image type="content" source="./media/how-to-virtual-hub-routing/labels.png" alt-text="Configure label names":::
-
Select the Associations tab to associate connections to the route table. You will see Branches, Virtual Networks, and the Current settings of the connections.
:::image type="content" source="./media/how-to-virtual-hub-routing/associations.png" alt-text="Association connections to the route table":::
-
Select the Propagations tab to propagate routes from connections to the route table.
:::image type="content" source="./media/how-to-virtual-hub-routing/propagations.png" alt-text="Propagate routes":::
-
Select Create to create the route table.
In the Azure portal, locate the route table of your virtual hub. Select the route table to edit any information.
In the Azure portal, locate the route table of your virtual hub. You cannot delete a Default or None route table. However, you can delete all custom route tables. Click "…", and then select Delete.
In the Azure portal, locate the route table of your virtual hub. Click "…" and select Effective Routes to view routes learned by the selected route table. Propagated routes from the connection to the route table are automatically populated in Effective Routes of the route table. For more information, see About effective routes.
:::image type="content" source="./media/how-to-virtual-hub-routing/effective.png" alt-text="View Effective Routes" lightbox="./media/how-to-virtual-hub-routing/effective-expand.png":::
- In the Azure portal, navigate to your virtual WAN and, under Connectivity, select Virtual Network Connections.
- Select +Add connection.
- Select the virtual network from the dropdown.
- Set up the routing configuration to associate to a route table. For Associate Route Table, select the route table from the dropdown.
- Set up the routing configuration to propagate to one or many route tables. For Propagate to Route Table, select from the dropdown.
- For Static routes, configure static routes for Network Virtual Appliance (if applicable). Virtual WAN supports a single next hop IP for static route in a virtual network connection. For example, if you have a separate virtual appliance for ingress and egress traffic flows, it would be best to have the virtual appliances in separate VNETs and attach the VNETs to the virtual hub.
:::image type="content" source="./media/how-to-virtual-hub-routing/routing-configuration.png" alt-text="Set up routing configuration" lightbox="./media/how-to-virtual-hub-routing/routing-configuration-expand.png":::
For more information about virtual hub routing, see About virtual hub routing. For more information about Virtual WAN, see the FAQ.