"Everything Is Green": Root-Causing Asymmetric Routing over ExpressRoute

  • Azure ExpressRoute
  • Azure Virtual Network
  • BGP
  • Stateful firewalls

Before

Connectivity between Azure and on-premises stopped, yet every component checked out on its own: the ExpressRoute circuit was up and firewall rules allowed the traffic.

What I built

Pulled the effective routes on the affected subnets and traced the return path: requests left over ExpressRoute but replies came back another way, so the stateful firewall dropped conversations it only half saw. Documented the route evidence, applied the routing fix, verified end to end from the caller's side, and tracked the retest and resiliency follow-ups.

01Symptomall green, still down02Effective routesapplied, not configured03Return pathtraced04Asymmetryreplies off-path05Fix + verifyfrom the callerA stateful firewall has to see both directionsof a conversation.

The problem: every component healthy, the connection still broken

  • Connectivity between Azure and on-premises systems stopped working.
  • Every component checked out on its own: the ExpressRoute circuit was up, and firewall rules allowed the traffic.
  • So each team looking at its own layer saw green, and the outage kept going.

The insight: a healthy path in one direction isn't a working path

A stateful firewall only passes traffic when it sees both directions of the same conversation. If requests leave through one path and replies come back on another, the firewall sees half a conversation and drops it, even though every rule says "allow".

So instead of checking components, I checked the path a packet actually takes, both ways.

What I did

  1. Pulled the effective routes on the affected subnets: the routes Azure actually applies, combining system routes, user-defined routes and routes learned over ExpressRoute.
  2. Traced the return path. Requests were leaving through ExpressRoute, but the replies came back on a different path. That was asymmetric routing.
  3. Documented the route evidence before changing anything, so the fix could be reviewed and the cause understood by everyone involved.
  4. Worked out and applied the routing fix, then verified connectivity end to end, from the original caller's side, not from inside Azure.
  5. Captured the remaining risks as follow-ups: a functional retest by the application owners, and circuit resiliency.

Illustrative: the Azure CLI checks behind steps 1 and 2.

# Routes Azure actually applies to a VM's NIC (system + UDR + BGP-learned)
az network nic show-effective-route-table \
  --resource-group rg-app-prod --name nic-app-01 -o table

# Routes the ExpressRoute circuit learned over private peering
az network express-route list-route-tables \
  --resource-group rg-network --name er-circuit-01 \
  --peering-name AzurePrivatePeering --path primary -o table

Things to watch

  • Check both directions. Most route checks only look outbound. Asymmetry hides in the return path, often on the on-premises side of the conversation.
  • "Effective routes", not "route tables". A route table shows what you configured. Effective routes show what's actually applied after BGP and system routes are combined.
  • Stateful devices are where asymmetry hurts. Firewalls and NAT need symmetric flows. A stateless hop might pass the same traffic without complaint, which makes the symptom confusing.
  • Verify from the caller's network. A test from inside Azure can pass while users on premises still fail.

What it solves

  • The outage was resolved, with the cause documented rather than guessed.
  • A diagnostic order the team can reuse: effective routes, then the return path, then stateful devices on the path.
  • Clear follow-ups instead of "fixed, closed": the retest and resiliency work are tracked.

What it doesn't solve

  • Single points of failure. Fixing the routing doesn't add redundancy. Circuit resiliency is its own piece of work.
  • Detection. Nothing here alerts the next time routes change. Route and connectivity monitoring is the next layer.

Checklist

  • [ ] Effective routes pulled on the affected subnets
  • [ ] Return path traced, not just the outbound path
  • [ ] Stateful devices on the path identified
  • [ ] Route evidence documented before the fix
  • [ ] End-to-end test from the caller's network after the fix
  • [ ] Retest and resiliency follow-ups tracked to an owner

Further reading

  • Azure ExpressRoute documentation (Microsoft Learn), including asymmetric routing with multiple network paths
  • Diagnose a virtual machine routing problem / effective routes (Microsoft Learn)

Get in touch