Networking
Azure Route Server: diagnose a missing NVA route before adding a UDR
A production runbook for tracing a route across an NVA, BGP sessions, Azure Route Server, VNet peering and effective routes before adding a UDR or rolling back an advertisement policy.
After NVA maintenance, an Azure spoke can no longer reach an on-premises prefix. The Azure Route Server BGP peering reports connected, NSGs have not changed and other destinations remain reachable. Adding a UDR to the application subnet looks like the fastest way to send traffic back through the firewall.
That UDR can hide a missing advertisement, an asymmetric BGP session or a VNet peering problem. It then creates a second source of truth and makes the next failover harder to explain. A useful diagnosis follows the route through the control plane, then verifies how Azure programs the data plane.
The running case has two NVAs advertising 10.80.0.0/16 to Azure Route Server. The runbook must end with a decision: restore the advertisement, repair Route Server consumption, keep a bounded workaround or roll back the latest BGP policy.
Freeze the prefix and expected path
Record the exact prefix, source IP, expected NVAs, both Route Server peer IPs, consuming spoke and the first UTC timestamp where behavior diverged.
incident: INC-ROUTE-318
source:
vm: vm-orders-prod-02
ip: 10.42.8.17
spoke: vnet-orders-prod
destination:
ip: 10.80.12.34
expected_prefix: 10.80.0.0/16
control_plane:
route_server: ars-hub-prod
nva_peers: [nva-a, nva-b]
expected_next_hop_role: inspection-cluster
observed:
first_failure_utc: 2026-11-01T07:20:00Z
last_known_success_utc: 2026-11-01T06:55:00Z
change:
nva_policy_release: bgp-export-2026.11.01-1
rollback_deadline_utc: 2026-11-01T10:30:00Z Keep a healthy control prefix such as 10.90.0.0/16. Comparing a missing route with a working route on the same peerings separates a Route Server-wide failure from a prefix-specific filter.
Read the path as five contracts
An NVA route must cross five boundaries before it helps a workload:
- the NVA selects the prefix in its RIB and exports it to both Route Server peer IPs;
- Azure Route Server learns the prefix from the expected peers;
- Route Server propagates it to the VNet and spokes configured to consume the remote Route Server;
- Azure programs the route into the workload NIC effective route table;
- the data plane reaches the NVA and destination over a compatible return path.
A Connected BGP session proves only the neighbor relationship. It does not prove prefix presence, NIC installation or return traffic.
Azure Route Server exposes two peering IPs for high availability. Each NVA should establish two consistent sessions and advertise the same route set with the same AS path unless an intentional active-passive design says otherwise. One healthy session can leave partial state during maintenance.
Capture peerings and learned routes
Inventory Route Server and its peerings, then export learned and advertised routes per peer. Do not change the NVA policy first: divergence between peers is evidence.
RG="rg-connectivity-prod"
RS="ars-hub-prod"
az network routeserver show \
--resource-group "$RG" \
--name "$RS" \
--output json > route-server.json
az network routeserver peering list \
--resource-group "$RG" \
--routeserver "$RS" \
--output json > peerings.json
for PEER in nva-a nva-b; do
az network routeserver peering list-learned-routes \
--resource-group "$RG" --routeserver "$RS" --name "$PEER" \
--output json > "learned-$PEER.json"
az network routeserver peering list-advertised-routes \
--resource-group "$RG" --routeserver "$RS" --name "$PEER" \
--output json > "advertised-$PEER.json"
done Interpret gaps in order:
- prefix missing from both peers: inspect NVA selection and export policy;
- present on one peer only: repair the second session or asymmetric advertisement;
- learned by Route Server but missing from the workload: inspect VNet peering and effective programming;
- learned with an unexpected AS path: look for prepending, rewriting or an Azure route advertised back into Azure;
- an unplanned default route appears: hold promotion and qualify its effect on the NVAs.
Route Server uses ASN 65515. The NVA must use a different ASN and support multihop eBGP. Routes with ASN 0 in the AS path are dropped. Verify the running NVA configuration, not only the IaC model.
Verify consumption from the spoke
When the workload sits in a VNet peered with the hub, verify that the spoke uses the remote gateway or Route Server. Inspect both sides of the peering and preserve resource IDs.
Then read the workload NIC effective route table.
APP_RG="rg-orders-prod"
NIC="nic-vm-orders-prod-02"
az network nic show-effective-route-table \
--resource-group "$APP_RG" \
--name "$NIC" \
--output json > effective-routes-orders.json
jq -r '.value[]
| select(.addressPrefix[]? == "10.80.0.0/16")
| {source, state, addressPrefix, nextHopType, nextHopIpAddress}' \
effective-routes-orders.json Check the most specific prefix matching the destination. A more specific route, an existing UDR or a route that became Invalid can win. If the BGP prefix is absent from the NIC, a failed TCP test is not yet evidence against the NVA.
Route Server exchanges routes but does not carry packets. Traffic flows directly from the workload to the programmed next hop.
Prove the data plane and return path
Once the route is effective, test one destination and port from the affected workload. Correlate the attempt with NVA logs and available VNet flow logs.
TEST EXPECTED
10.80.0.0/16 on workload NIC Active, expected NVA next hop
Control route 10.90.0.0/16 Unchanged
TCP 10.80.12.34:443 Seen and allowed on active NVA
10.80.12.34 response to source Compatible return path
Second Route Server instance Same prefix learned
Canary spoke Same decision before expansion A SYN on the NVA without a reply points to policy, destination or return path. No packet on the NVA despite an effective route requires checking the selected next hop and competing prefixes. An explicit TCP refusal is not route loss.
Canary the repair
The narrowest repair depends on the broken boundary: restore an export policy on one NVA, recover the second BGP session, correct the spoke peering setting or remove an incorrect competing route.
Test with a noncritical canary prefix or one NVA first when the design allows it. After the change, wait for convergence, then read learned routes and the NIC effective table again. Promotion requires consistent state across both Route Server instances and an unchanged control prefix.
A temporary UDR can contain business impact, but only with an owner, expiry, narrow subnet scope and verified return route. Remove it during BGP repair validation; otherwise it continues to hide the evidence.
Decide repair, hold or rollback
PROMOTE THE REPAIR
Prefix learned from both expected peerings
AS path and next hop match the contract
Route is active in the workload NIC effective table
Functional flow and return path are proven
Control prefix is unchanged
Temporary UDR is removed
HOLD THE CANARY
Only one Route Server session receives the prefix
Spoke peering or effective route remains ambiguous
Return path is not observed
A default or competing prefix appeared
ROLL BACK
Restore the previous NVA export policy
Remove the prepend, filter or advertisement added by the release
Wait for both BGP sessions to converge
Read learned, advertised and effective routes again
Restore a UDR only if it belonged to the validated prior state Rollback must target the source of drift. If the incident follows a BGP policy release, restore that policy. If it follows a VNet peering change, restore the previous setting. Do not layer a permanent UDR over an unexplained control plane.
Conclusion
A dynamic route is more than a green BGP peering. The NVA must select it, Route Server must learn it consistently, the right VNet must consume it, Azure must program it on the NIC, and traffic must work in both directions.
Use a UDR only as bounded containment. Promote when both peerings, the effective table and the functional test tell the same story. Roll back the policy that introduced drift when the chain does not converge.