Networking

Azure Virtual WAN: diagnose a missing cross-hub route before adding a static route

A production runbook for tracing one dynamic prefix across Virtual WAN hubs, tables, labels and connections before a targeted correction or rollback.

13 Nov 2026 azurevirtual-wanhub-routingroute-tablesroute-propagationbgpexpressroutevpnnetworkingobservabilitycanaryrunbookrollbackproduction

An on-premises prefix learned by the West Europe Virtual WAN hub is reachable from local spokes but missing from workloads attached to the North Europe hub. BGP sessions are established and both hubs report healthy. Adding the prefix to the second hub’s route table looks like a quick recovery.

That static route can make one probe pass while hiding the broken propagation contract. In Virtual WAN, dynamic routes travel between hubs when connections propagate to route tables that share the intended labels. A static route inserted into one hub table does not follow the same cross-hub propagation behavior. It creates a separate local path, next hop and rollback.

The running case follows 172.24.40.0/24, learned over VPN in vhub-weu-prod and consumed by vnet-orders-neu in vhub-neu-prod. The goal is to find the first table where the prefix disappears, then decide whether to repair propagation, restore an association, retain intentional isolation or roll back the routing change.

Freeze the propagation contract

Record the prefix, dynamic origin, source and consumer hubs, consumer connection and return path. “VPN to spoke” is not precise enough to separate BGP learning, hub route selection, cross-hub propagation and a data-plane failure.

yaml 01-cross-hub-route-incident.yml
incident: INC-NET-20261113-06
window_utc: 2026-11-13T16:10:00Z/2026-11-13T17:20:00Z
prefix: 172.24.40.0/24
origin:
hub: vhub-weu-prod
connection_type: VpnConnection
connection: vpn-paris-prod
route_source: BGP
consumer:
hub: vhub-neu-prod
connection_type: HubVirtualNetworkConnection
connection: vnet-orders-neu
probe: 10.54.8.12 -> 172.24.40.18:443
expected_routing:
origin_propagates_to_label: Default
consumer_associated_table: defaultRouteTable
return_prefix: 10.54.8.0/24
controls:
healthy_prefix: 172.24.50.0/24
forbidden_prefix: 172.31.0.0/16
rollback_owner: network-on-call

Keep a healthy prefix from the same connection and one deliberately isolated prefix. The first distinguishes route-specific drift from connection failure. The second prevents a broad repair from removing an intentional routing boundary.

Capture tables, labels and connections in both hubs

A connection associates with one route table and uses that table to reach destinations. Propagation answers a different question: which tables receive routes from that connection? Labels group route tables logically, including across hubs.

Read deployed state before relying on IaC. Every hub has a defaultRouteTable; compare full IDs, labels and connections rather than the final name segment.

bash 02-capture-vwan-routing.sh
RG="rg-vwan-prod"

for HUB in vhub-weu-prod vhub-neu-prod; do
az network vhub show \
  --resource-group "$RG" \
  --name "$HUB" \
  --output json > "$HUB.json"

az network vhub route-table list \
  --resource-group "$RG" \
  --vhub-name "$HUB" \
  --output json > "$HUB-route-tables.json"

az network vhub connection list \
  --resource-group "$RG" \
  --vhub-name "$HUB" \
  --output json > "$HUB-vnet-connections.json"
done

jq '[.[] | {id, labels, routes, provisioningState}]' \
vhub-weu-prod-route-tables.json \
vhub-neu-prod-route-tables.json

VPN and ExpressRoute connections live under their gateways, outside the hub’s VNet connection collection. Export the origin connection through its dedicated API or command as well, preserving associatedRouteTable, propagatedRouteTables.ids, propagatedRouteTables.labels and provisioning state.

Do not infer propagation from association. A connection may use table A while publishing its routes to B and C. Conversely, associating with defaultRouteTable does not publish its routes to every custom table.

Trace the prefix table by table

Query effective routes for the relevant route table in each hub using the same timestamp and prefix. The useful result is the first boundary where 172.24.40.0/24 disappears.

bash 03-compare-effective-routes.sh
RG="rg-vwan-prod"
PREFIX="172.24.40.0/24"

for HUB in vhub-weu-prod vhub-neu-prod; do
TABLE_ID=$(az network vhub route-table show \
  --resource-group "$RG" \
  --vhub-name "$HUB" \
  --name defaultRouteTable \
  --query id -o tsv)

az network vhub get-effective-routes \
  --resource-group "$RG" \
  --name "$HUB" \
  --resource-type RouteTable \
  --resource-id "$TABLE_ID" \
  --output json > "$HUB-effective-default.json"

jq --arg p "$PREFIX" \
  '.. | objects | select(.addressPrefixes? | index($p))' \
  "$HUB-effective-default.json"
done

Field names may vary with the installed extension version, so preserve raw JSON before projecting it with jq. The decision record should bind prefix, next-hop type, next-hop resource ID and route origin. In the portal, a Remote Hub next hop confirms that the prefix arrived from another hub.

Read the chain in order:

  • missing from the source hub: inspect the VPN or ExpressRoute advertisement, BGP session and local selection;
  • present in the source table but missing remotely: inspect labels and cross-hub propagation;
  • present remotely but absent from the consumer: inspect its association and propagation configuration;
  • present on the workload NIC but unreachable: inspect NSG, appliance, firewall, application and the return path.

Do not use 0.0.0.0/0 as a cross-hub propagation control. The default route is local to a hub. Its absence in the second hub may be correct even while private dynamic routes propagate normally.

Compare the expected label with deployed state

The built-in Default label targets each hub’s defaultRouteTable within the same Virtual WAN. A connection propagating to that label can publish dynamic routes to those remote tables. A connection propagating only to one table ID has a narrower scope.

yaml 04-propagation-diff.yml
expected:
origin_connection: vpn-paris-prod
propagated_labels: [Default]
propagated_table_ids: []
consumer_associated_table: /virtualHubs/vhub-neu-prod/hubRouteTables/defaultRouteTable

observed:
origin_connection: vpn-paris-prod
propagated_labels: []
propagated_table_ids:
  - /virtualHubs/vhub-weu-prod/hubRouteTables/defaultRouteTable
consumer_associated_table: /virtualHubs/vhub-neu-prod/hubRouteTables/defaultRouteTable

effect:
source_hub_receives_prefix: true
remote_default_table_receives_prefix: false
static_route_required: false
candidate_fix: restore_Default_label_on_origin_propagation

Check whether Routing Intent owns the hub. With Routing Intent enabled, Virtual WAN manages connection associations and propagations. A manual edit may fight the policy rather than repair it; use the existing Routing Intent runbook as the controlling decision path in that case.

Canary propagation without widening the network

The candidate should change one dimension: add the intended label, restore the prior association, or remove one incorrect label. Do not combine that edit with a static route, a hub routing preference change or a new BGP prefix.

yaml 05-propagation-gates.yml
promotion_gates:
source:
  expected_prefix_present: true
  healthy_control_unchanged: true
  bgp_session_stable: true
remote_hub:
  expected_prefix_next_hop: RemoteHub
  forbidden_prefix_absent: true
  unexpected_route_delta: 0
consumer:
  nic_effective_route_present: true
  tcp_443_and_tls_valid: true
  reverse_path_observed: true
operations:
  provisioning_succeeded: true
  rollback_snapshot_available: true
  observation_cycles: 3
decision: promote_or_rollback

After the edit, wait for observed convergence in both tables instead of an arbitrary delay. Then inspect the workload NIC and run the real TCP/TLS probe. A route visible in the hub does not prove that the consumer connection uses it or that the return path knows 10.54.8.0/24.

Watch the total route delta and every out-of-scope hub. The Default label applies to default tables across the Virtual WAN, so a valid repair for North Europe may publish the prefix elsewhere. If that scope is unacceptable, design an explicit custom table and label, then qualify them as a separate change.

Decide repair, isolation or rollback

Promote the repair when the expected prefix returns with a Remote Hub next hop, the healthy control stays stable, the forbidden prefix stays absent, and the application path works in both directions. Retain isolation when the missing route matches an approved design; repair the consumer expectation rather than the route table.

Roll back when an out-of-scope hub learns the prefix, the route count drifts, the return path becomes asymmetric, or provisioning does not complete. Restore the prior association, propagated table IDs and labels as one versioned unit. Then prove that the canary disappeared from every table where it was not expected.

Add a static route only when the architecture truly requires an explicit local next hop. Record that it will not publish the prefix to other hubs and that a static route for the same prefix takes precedence over a dynamically learned route. It is not the default fix for broken dynamic propagation.

Conclusion

A cross-hub Virtual WAN incident is solved by following one prefix from its origin connection to the source table, propagation label, remote table, consumer connection and workload NIC. Each boundary answers a different question; overall BGP health replaces none of them.

The production decision remains bounded: restore the intended dynamic propagation, preserve deliberate isolation, or return to the previous snapshot. A static route belongs only in an explicit local routing design, never as a shortcut that hides an incoherent label or association.