What you’ll learn: what the virtual hub router actually does, how the hub is sized (address space and routing infrastructure units), how connections attach and transit, how route selection and hub routing preference decide the forwarding path, what routing intent and a secured hub change, how BGP and ASNs behave in the hub, and the failure modes that decide whether the fabric is resilient.
Managed transit, not a hub-and-spoke you build
Azure Virtual WAN is a Microsoft-managed networking service. The virtual hub embeds a managed router that handles routing between every connection over BGP — you never build, size the control plane by hand, or patch it; you attach connections and express policy. Transit is a Standard-SKU capability: a Basic WAN does site-to-site VPN only, and you cannot revert Standard back to Basic, so the SKU choice is one-way — pick Standard for anything real.
What a hub connects
A hub terminates VNet connections, Site-to-Site VPN, ExpressRoute, Point-to-Site (User VPN), and SD-WAN/NVA integrations. In a Standard WAN all hubs are full-mesh across the Microsoft backbone, giving any-to-any transit — VNet-to-VNet, branch-to-VNet, branch-to-branch, and hub-to-hub across regions — without you managing a single tunnel.
Sizing the hub: address space and capacity units
Two sizing decisions bite later if you get them wrong, and one is irreversible.
- Address space: the hub carves internal subnets (router, each gateway, Azure Firewall) from a block you assign. The minimum is /24 and Microsoft recommends /23; if you run Azure Firewall in the hub, use /22 so the firewall can scale to full throughput. The hub address space cannot be changed after creation and must not overlap any VNet or on-prem range — so oversize it up front.
- Capacity (routing infrastructure units): the hub router is sized in RIUs. The default is 2 RIU — roughly 3 Gbps aggregate and 2,000 connected VMs — and it autoscales in 1 Gbps / 1,000-VM steps up to 50 Gbps. Autoscale is not instant: a scale-out can take up to 25 minutes, so set a minimum RIU that matches real load rather than trusting burst scaling. Independent of RIU, a hub accepts at most 10,000 routes from all connected resources combined, and the hub routing infrastructure carries a 99.95% SLA.
The hub router, route tables, and route selection
Segmentation is expressed with route tables: a connection’s association decides which table it uses (what it can reach), and propagation decides which tables learn its routes (who can reach it). Propagate to the none table to isolate a connection; custom route tables require Standard.
When the hub holds several routes to the same on-prem prefix, selection runs in a fixed order: longest-prefix match first, then static routes in the hub route table over BGP-learned routes, then the hub routing preference (HRP). HRP has three settings — ExpressRoute (default), VPN, or AS Path — and the default ExpressRoute setting ignores AS-path length, so a shorter AS-path over VPN does not win unless you change HRP. Mismatched HRP across hubs is a classic source of asymmetric routing.
Routing intent and the secured hub
Historically you stitched user-defined routes and firewall policy together by hand. Routing intent replaces that with two declarative policies — Private Traffic and Internet Traffic — each with a single next hop: Azure Firewall, an NGFW NVA, or a SaaS security solution. A secured virtual hub is a hub with these configured through Azure Firewall Manager; it has built-in routing, so you don’t hand-write UDRs. Enable routing intent on every hub in the WAN — leaving it off on one hub reintroduces asymmetry across the mesh.
- Private policy: all branch, VNet and inter-hub traffic is forwarded to the next hop. The hub advertises RFC1918 (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) to peered VNets by default; any non-RFC1918 on-prem range must be listed explicitly as a Private Traffic Prefix, or it silently bypasses inspection.
- Internet policy: the hub advertises a default 0.0.0.0/0 to spokes and gateways. By default it does not advertise that default across ExpressRoute. Forced-tunnel egress (internet via on-prem) requires routing intent with a private policy; without routing intent you only get direct access.
BGP and the ASN rules you will hit
The hub router’s default ASN is 65515; changing it requires Microsoft to enable modification, otherwise it stays fixed at 65515. Only 16-bit ASNs are supported, and a hub accepts at most 8 BGP peers. You peer the hub router only with an NVA in a directly connected VNet — not with on-prem devices, and not with Azure Route Server — and the NVA’s ASN must differ from the hub’s. Routes more specific than the VNet’s address space are not re-advertised by the hub.
Failure modes that decide resilience
- Single hub, single region: no transit survivability. Use multiple hubs (full-mesh on Standard) across regions.
- Forgotten non-RFC1918 prefixes: that traffic bypasses the firewall quietly — the most common secured-hub mistake.
- Mismatched hub routing preference: different HRP per hub produces asymmetric paths that pass one firewall and miss the return; keep HRP and routing intent consistent across hubs.
- Capacity assumptions: autoscale lags by up to 25 minutes and the hub hard-caps at 10,000 routes — set a minimum RIU and summarize advertisements before you hit either wall.
- ExpressRoute default-route assumption: internet routing intent will not push 0.0.0.0/0 over ExpressRoute by default, so on-premises won’t receive it unless you design for it.
- Overlapping or undersized address space: any-to-any transit assumes non-overlapping RFC1918, and the hub block is immutable — an overlap, or a /24 that is too small under Azure Firewall, means a rebuild, not an edit.
Design note
Decide hub address sizing, segmentation (route tables), and inspection (routing intent) before you connect spokes — the address block is immutable, and retrofitting routing onto a live hub is where the outages come from. List every non-RFC1918 prefix explicitly, keep hub routing preference and routing intent consistent across hubs, size the minimum RIU to real load, and test an actual hub and region failover before you call the fabric resilient. A failover you haven’t tested is a hope, not a design.
Generic, vendor-documented architecture from my own study and labs. No client- or employer-specific configuration.
Questions or feedback? Connect with me on LinkedIn: Mokrane Assam.