What Is Azure ExpressRoute? Understanding Circuits, Peerings, and Gateways
Azure ExpressRoute connects an on-premises network to the Microsoft network over a private path through a connectivity provider or ExpressRoute Direct. A circuit alone does not make Azure resources reachable: Azure private peering, an ExpressRoute gateway in Azure, a connection between the circuit and gateway, and matching BGP routes and network policies must work together. Microsoft peering for public Microsoft services such as Microsoft 365 is a separate routing domain and should not be treated as the same connection type.
How do the ExpressRoute circuit and Azure gateway fit together?
For private peering, packets follow a path such as on-premises network → connectivity provider or ExpressRoute Direct → Microsoft Enterprise Edge (MSEE) routers at a peering location → Azure ExpressRoute connection → virtual network gateway → Azure VNet. A circuit is the logical service from a peering location into the Microsoft network. An ExpressRoute gateway is deployed in an Azure region and forwards routes between the circuit and a VNet. A connection resource links the circuit to the gateway. These are separate resources at different locations and administrative boundaries.
Suppose an on-premises network 10.20.0.0/16 needs to reach an application in VNet 10.80.0.0/16. The corporate router advertises approved on-premises prefixes to Azure over the private-peering BGP sessions, and Microsoft advertises VNet routes back to the corporate router. The Azure subnet route table, network security groups (NSGs), on-premises routers, and firewalls must each have the required destination, return path, and traffic permissions. A healthy BGP session does not by itself prove that the application can connect.
How do Azure private peering and Microsoft peering differ?
An ExpressRoute circuit has two distinct peerings. Azure private peering provides bidirectional connectivity between the corporate network and Azure VNets that use private addresses. Microsoft peering connects to Microsoft online services that use public IP addresses, such as Microsoft 365, Dynamics 365, and some Azure public services. Microsoft peering requires public IP addresses owned by the customer or connectivity provider and verifiable through Internet routing registries. Its public prefixes and route filters need separate management.
Each peering uses its own redundant pair of BGP sessions, and both peerings share the circuit’s total bandwidth. Microsoft recommends keeping the routing domains and security boundaries separate; its documented design places private peering on the core network and Microsoft peering in a DMZ. Microsoft also says Microsoft 365 is designed for secure and reliable access over the Internet, so ExpressRoute should be considered only for specific scenarios. Check service support and conditions before enabling a peering.
| Peering | Destination | Main design concerns |
|---|---|---|
| Azure private peering | Private addresses in VNets | Non-overlapping address ranges, BGP and subnet routes, gateway connection, NSGs, and firewalls |
| Microsoft peering | Public addresses for Microsoft online services | Verified public address ownership, advertised public prefixes, service-specific route filters, DMZ boundary, and Internet routing |
How should you choose between a provider circuit, ExpressRoute Direct, and VPN?
Most ExpressRoute circuits reach a peering location through a connectivity provider’s network. Confirm whether the provider manages the circuit and routing, then document who owns each layer: corporate routers, BGP, the Azure gateway, and firewalls. ExpressRoute Direct lets a customer connect directly to Microsoft’s global network at a peering location. It may fit high-capacity or direct-control needs, but the customer must plan ports, cross-connects, its own edge routers, redundancy, and on-site operations.
ExpressRoute provides private transport that avoids the public Internet, but that does not itself encrypt application data. If encryption in transit is required end to end, consider application TLS or a separate VPN/IPsec protection layer. A site-to-site VPN can be simpler for a quick start or lower-capacity site, though Internet quality and latency can vary. When ExpressRoute and VPN operate as primary and backup paths, test BGP preferences, asymmetric routing, and stateful firewall behavior together.
What should you know about BGP and bandwidth?
Microsoft uses BGP to exchange routes between on-premises networks and Azure or Microsoft networks. Each ExpressRoute circuit connects to two Microsoft Edge routers, and each peering type uses a pair of BGP sessions for availability. Microsoft states that it relies on redundant BGP sessions rather than router redundancy protocols such as HSRP or VRRP. Verify that the customer-side sessions, devices, and carrier paths also have the intended independence.
Exceeding a route limit can terminate a BGP session. In the current Microsoft routing documentation, private peering supports up to 4,000 IPv4 prefixes and 100 IPv6 prefixes; the ExpressRoute Premium add-on raises the IPv4 limit to 10,000. Microsoft peering accepts up to 200 IPv4 or IPv6 prefixes per BGP session. Limits can change as the service evolves, so check current documentation before deployment, monitor route advertisements, and aggregate or filter prefixes where appropriate.
Each circuit has a fixed capacity shared by private and Microsoft peering traffic. If a design normally sends traffic over only the primary of two circuits, check whether the secondary can carry the required load during a failure. Azure gateway SKU, circuit capacity, region, and data-transfer charges also affect total cost; estimate against current pricing and the chosen configuration.
How should you validate resilience and failover?
The primary and secondary links within one peering location provide redundancy against some circuit-level failures, but they do not protect against loss of the entire location or regional service. Microsoft recommends two circuits in different peering locations for maximum resiliency. High resiliency may use multiple peering locations within one metropolitan area; a single circuit with redundant links may be adequate for noncritical workloads. Choose according to tolerated downtime, cost, and geographic disaster exposure.
With multiple circuits, design route preference and return paths deliberately. When identical BGP routes are advertised over multiple circuits, Azure can distribute traffic across them; different peering locations can have different latency. A stateful firewall or NAT may reject a flow if its outbound and return packets traverse different paths. Regular failover exercises should check link loss, BGP withdrawal, application recovery time, and the actual traffic path. BFD can help detect a link failure faster, but link-detection time is not the same as end-to-end route convergence.
What deployment sequence and checks should you use?
**Set scope and address plans.** Identify VNets, on-premises prefixes, provider and peering locations, tolerated interruption, and encryption needs. Check address overlap and route counts.
**Provision the circuit and peerings.** Order the circuit through a provider or use ExpressRoute Direct. Configure only the required Azure private and/or Microsoft peering, then verify both BGP sessions and route filters for each routing domain.
**Connect the Azure gateway.** Deploy an ExpressRoute gateway in the VNet’s dedicated `GatewaySubnet`, then create the connection resource that links the circuit and gateway. They are separate Azure resources and have separate provisioning steps.
**Check routes and security.** Review BGP-advertised and learned prefixes, VNet user-defined routes, NSGs, on-premises ACLs, and firewalls. Advertising a default route over private peering can send VNet Internet traffic back through the on-premises network, so plan the Internet egress path and access to required Azure services.
**Test normal and failure states.** Monitor circuit and gateway health, BGP sessions, received and advertised prefixes, latency, loss, MTU, and bidirectional application traffic. During planned maintenance, interrupt each link or circuit in turn and verify route switching and service recovery.
ExpressRoute is a private connection to Microsoft’s network; it does not replace VNet routing, security policy, or application recovery design. Distinguish private peering from Microsoft peering, map responsibilities across circuit, gateway, BGP, and firewall layers, and test the real failure paths before choosing the deployment scale.
References
[Azure ExpressRoute overview and connectivity models](https://learn.microsoft.com/en-us/azure/expressroute/expressroute-introduction)
[ExpressRoute circuits and peering types](https://learn.microsoft.com/en-us/azure/expressroute/expressroute-circuit-peerings)
[ExpressRoute architecture: circuit, gateway, and connection](https://learn.microsoft.com/en-us/azure/architecture/reference-architectures/hybrid-networking/expressroute-private-peering-connectivity)
[ExpressRoute BGP routing requirements and prefix limits](https://learn.microsoft.com/en-us/azure/expressroute/expressroute-routing)
[ExpressRoute resiliency design guidance](https://learn.microsoft.com/en-us/azure/well-architected/service-guides/azure-expressroute)
[ExpressRoute disaster recovery design](https://learn.microsoft.com/en-us/azure/expressroute/designing-for-disaster-recovery-with-expressroute-privatepeering)