How to configure virtual hub routing

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.

Create a route table

  1. In the Azure portal, navigate to the virtual hub.

  2. Under Connectivity, select Routing. On the Routing page, you see the Default and None route tables.

    Routing page

  3. Select +Create route table to open the Create Route Table page.

  4. On the Create Route Table page Basics tab, complete the following fields.

    Basics tab

    • Name

    • Routes

    • Route name

    • Destination type

    • Destination prefix: You can aggregate prefixes. For example: VNet 1: and VNet 2: can be aggregated as 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.

      Next hop

  5. Select the Labels tab to configure label names. Labels provide a mechanism to logically group route tables.

    Configure label names

  6. Select the Associations tab to associate connections to the route table. You will see Branches, Virtual Networks, and the Current settings of the connections.

    Association connections to the route table

  7. Select the Propagations tab to propagate routes from connections to the route table.

    Propagate routes

  8. Select Create to create the route table.

To edit a route table

In the Azure portal, locate the route table of your virtual hub. Select the route table to edit any information.

To delete a route table

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.

To view effective routes

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.

View Effective Routes

To set up routing configuration for a virtual network connection

  1. In the Azure portal, navigate to your virtual WAN and, under Connectivity, select Virtual Network Connections.
  2. Select +Add connection.
  3. Select the virtual network from the dropdown.
  4. Set up the routing configuration to associate to a route table. For Associate Route Table, select the route table from the dropdown.
  5. Set up the routing configuration to propagate to one or many route tables. For Propagate to Route Table, select from the dropdown.
  6. 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.

Set up routing configuration

Next steps

For more information about virtual hub routing, see About virtual hub routing. For more information about Virtual WAN, see the FAQ.