Planning guide · Azure hybrid networking

Planning connectivity between your data center and Azure

Connecting a data center to Azure is a routing, addressing, name-resolution and inspection problem as much as a circuit decision. This guide walks through the planning questions that determine whether hybrid traffic flows the way you intend — and what happens when part of the path fails.

Download CSV worksheet

Hybrid connectivity from an on-premises data center to an Azure hub and spokes Conceptual hybrid topology; one common pattern for discussion, not a reference architecture. Actual paths depend on connectivity and regions. On-premises data center: workloads connect to the core network, which connects to an edge firewall and on to an edge router. Two connections lead to Azure: a private circuit from the edge router, drawn solid, and an encrypted tunnel from the edge firewall, drawn dashed. Inside the Azure region, the hub VNet contains a gateway for the private circuit and a gateway for the VPN tunnel. Both gateways feed an inspection layer. The hub also contains an optional DNS resolver. Three spoke VNets, each hosting workloads, are peered to the hub. ON-PREMISES DATA CENTER AZURE REGION HUB VNET SPOKE VNET 1 SPOKE VNET 2 SPOKE VNET 3 PEERING PRIVATE CIRCUIT ENCRYPTED TUNNEL WorkloadsApplications Core networkData center fabric Edge firewallTunnel endpoint Edge routerCircuit endpoint GatewayPrivate circuit GatewayVPN InspectionFirewall layer DNS resolverOptional App workloads App workloads App workloads CONCEPTUAL Hybrid connectivity from an on-premises data center to an Azure hub and spokes Conceptual hybrid topology; one common pattern for discussion, not a reference architecture. Actual paths depend on connectivity and regions. On-premises data center: workloads connect to the core network, which connects to an edge firewall and on to an edge router. Two connections lead to Azure: a private circuit from the edge router, drawn solid, and an encrypted tunnel from the edge firewall, drawn dashed. Inside the Azure region, the hub VNet contains a gateway for the private circuit and a gateway for the VPN tunnel. Both gateways feed an inspection layer. The hub also contains an optional DNS resolver. Three spoke VNets, each hosting workloads, are peered to the hub. ON-PREMISES DATA CENTER AZURE REGION HUB VNET SPOKE 1 SPOKE 2 SPOKE 3 PEERING PRIVATE CIRCUIT ENCRYPTED TUNNEL WorkloadsApplications Core networkDC fabric Edge firewallTunnel endpoint Edge routerCircuit endpoint GatewayPrivate circuit GatewayVPN InspectionFirewall layer DNS resolverOptional Workloads Workloads Workloads CONCEPTUAL

Focus

Interactive illustration from Azure and hybrid networking. Conceptual — not a client network.

Map workloads and traffic flows

Decide what is moving, what stays, and which conversations will cross the hybrid boundary.

Hybrid connectivity is often planned around a circuit, but the circuit is the last decision, not the first. What matters is which workloads move to Azure, which stay on premises, and which conversations between them will cross the boundary — along with their volume, latency sensitivity and security requirements. A migration that splits an application tier across the boundary creates very different traffic from one that moves whole applications.

Flows to map

  • Application dependencies that will span on premises and Azure, such as application servers in Azure calling databases that remain in the data center.
  • User access paths from offices, remote-access VPN and the internet to Azure-hosted applications.
  • Shared services — identity, DNS, time, logging, monitoring, backup and patching — and where each will live.
  • Internet egress and ingress for Azure workloads: directly from Azure, or back through on-premises security controls.
  • Administrative and management traffic, and whether it needs its own path or controls.
  • Expected bandwidth and latency sensitivity for the largest and most critical flows.
Hybrid connectivity from an on-premises data center to an Azure hub and spokes Conceptual hybrid topology; one common pattern for discussion, not a reference architecture. Actual paths depend on connectivity and regions. On-premises data center: workloads connect to the core network, which connects to an edge firewall and on to an edge router. Two connections lead to Azure: a private circuit from the edge router, drawn solid, and an encrypted tunnel from the edge firewall, drawn dashed. Inside the Azure region, the hub VNet contains a gateway for the private circuit and a gateway for the VPN tunnel. Both gateways feed an inspection layer. The hub also contains an optional DNS resolver. Three spoke VNets, each hosting workloads, are peered to the hub. ON-PREMISES DATA CENTER AZURE REGION HUB VNET SPOKE VNET 1 SPOKE VNET 2 SPOKE VNET 3 PEERING PRIVATE CIRCUIT ENCRYPTED TUNNEL WorkloadsApplications Core networkData center fabric Edge firewallTunnel endpoint Edge routerCircuit endpoint GatewayPrivate circuit GatewayVPN InspectionFirewall layer DNS resolverOptional App workloads App workloads App workloads CONCEPTUAL Hybrid connectivity from an on-premises data center to an Azure hub and spokes Conceptual hybrid topology; one common pattern for discussion, not a reference architecture. Actual paths depend on connectivity and regions. On-premises data center: workloads connect to the core network, which connects to an edge firewall and on to an edge router. Two connections lead to Azure: a private circuit from the edge router, drawn solid, and an encrypted tunnel from the edge firewall, drawn dashed. Inside the Azure region, the hub VNet contains a gateway for the private circuit and a gateway for the VPN tunnel. Both gateways feed an inspection layer. The hub also contains an optional DNS resolver. Three spoke VNets, each hosting workloads, are peered to the hub. ON-PREMISES DATA CENTER AZURE REGION HUB VNET SPOKE 1 SPOKE 2 SPOKE 3 PEERING PRIVATE CIRCUIT ENCRYPTED TUNNEL WorkloadsApplications Core networkDC fabric Edge firewallTunnel endpoint Edge routerCircuit endpoint GatewayPrivate circuit GatewayVPN InspectionFirewall layer DNS resolverOptional Workloads Workloads Workloads CONCEPTUAL
A labeled conceptual topology: an on-premises data center connected by a private circuit, an encrypted tunnel, or both, to an Azure hub that contains the gateway and an inspection layer, with spoke virtual networks hosting workloads. One common pattern for discussion — not a reference architecture for every environment.

Our Azure and hybrid cloud networking service covers the full range of Azure network design and troubleshooting. This guide concentrates on the decisions at the boundary between your data center and Azure.

Conceptual illustration of hybrid cloud connectivity: an on-premises rack platform connects through a central router to an elevated routing hub framed in glass and metal, with smaller spoke platforms beyond, joined by separate fiber routes
Conceptual illustration An on-premises platform joined to an elevated routing hub and its spokes by separate fiber routes. Not an Azure product diagram.

Check addressing and name-resolution dependencies

Overlapping address space and incomplete name resolution are common reasons hybrid projects stall, and both are easier to fix early.

Azure virtual networks are routed into your network, so their address space must not overlap with ranges in use on premises, at branch sites, or in networks reached through VPNs and third-party connections. Overlap often surfaces late because the private ranges in RFC 1918 are reused freely across organizations, acquisitions and vendor appliances. Allocating Azure address space from the enterprise IP plan, with room for growth and additional regions, avoids renumbering later.

Addressing checks

  • An authoritative inventory of on-premises, branch and remote-access address ranges.
  • Azure address blocks allocated from the enterprise plan, with summarizable boundaries per region or environment.
  • Subnet sizing that leaves room for gateways, firewalls, load balancers and services that require dedicated subnets — confirm current requirements in Microsoft documentation.
  • A plan for any overlap that cannot be removed, such as NAT at a defined boundary, with its operational cost understood.
  • Summarization intent: which aggregates will be advertised toward Azure and which will be learned from it.

Name resolution is the other early dependency. Azure workloads often need to resolve on-premises names, and on-premises systems need to resolve Azure private DNS zones and private endpoints. Azure DNS Private Resolver provides inbound endpoints that on-premises DNS servers can forward to, and outbound endpoints with forwarding rulesets that send queries for on-premises zones back to your DNS servers. Whatever mechanism you choose, document the forwarding design and test it in both directions.

Name-resolution questions to answer

  1. Which on-premises zones must Azure workloads resolve, and which Azure zones must on-premises systems resolve?
  2. Will private endpoints be used, and how will their names resolve from on premises?
  3. Where will conditional forwarders live, and what happens to resolution if the hybrid connection fails?
  4. Who owns DNS changes in each environment, and how are those changes coordinated?

Choose routing and inspection paths

Decide where traffic is inspected, then make routing deliver both directions of every flow to that point.

The connection itself is commonly ExpressRoute — private connectivity through a connectivity provider that does not traverse the public internet — or a site-to-site VPN that carries IPsec tunnels over the internet to an Azure VPN gateway. Many designs use both, with one as the primary path. The choice depends on bandwidth, consistency of latency, security policy, cost and provisioning lead time, and it does not by itself settle how traffic is routed or inspected.

Inside Azure, each subnet receives system routes, and route tables with user-defined routes can override them — for example, to send traffic for on-premises prefixes through a firewall in the hub. Microsoft documents how Azure chooses among user-defined, BGP-learned and system routes, starting with longest-prefix match. In hybrid designs, a frequent fault is steering one direction of a flow through the firewall while the return path bypasses it, which a stateful inspection device will usually drop.

Routing and inspection decisions
DecisionTypical optionsWhat to check
Where hybrid traffic is inspectedOn-premises firewalls, a firewall or network virtual appliance in the Azure hub, or bothDuplicated inspection, added latency, policy ownership, and whether both directions reach the same stateful device.
How spokes reach on premisesRoutes propagated from the hub gateway, or user-defined routes that send on-premises prefixes to the hub firewallWhether BGP-learned routes would bypass the firewall, and whether gateway route propagation should be disabled on specific route tables.
How on premises reaches spokesAzure prefixes advertised over BGP, summarized where practicalSteering of inbound traffic through inspection in Azure, and on-premises route preference when more than one path exists.
Internet egress for Azure workloadsDirectly from Azure through a firewall or NAT gateway, or back through the data centerLatency, inspection policy and explicit outbound design. Microsoft has been changing default outbound access for new subnets, so confirm current behavior and plan outbound connectivity deliberately.
Hub modelA customer-managed hub virtual network, or Azure Virtual WANHow much routing control you need, how inspection integrates with the hub, and which operating model your team can support.

On the on-premises side, BGP policy — local preference, AS-path prepending and route filtering — decides which path return traffic takes when more than one connection exists; our BGP and advanced routing work covers that policy design in detail. If you are weighing a Microsoft-managed hub instead, our notes on Azure Virtual WAN design explain where it simplifies routing and where it limits it.

Plan failure behavior

Know which path carries traffic when the primary connection fails, and how traffic gets there.

Redundancy in a hybrid connection has several layers: the provider circuit and its peering location, your edge routers, the Azure gateway, the inspection devices in the hub, and DNS. Microsoft builds redundancy into parts of the service — each ExpressRoute circuit, for example, is provisioned with redundant connections — but that does not remove single points of failure in your own edge, a single provider or a single peering location unless the design accounts for them.

Failure scenarios to plan

  • Loss of the primary circuit or tunnel: which path takes over, and do both directions fail over together?
  • Loss of one of two edge routers, or one firewall in the hub.
  • Loss of a peering location or provider, where the design includes more than one.
  • Maintenance or failure of the Azure gateway or the inspection layer.
  • Loss of hybrid DNS forwarding, and whether secondary resolution keeps critical applications working.
  • Partial failures: a route withdrawn on one side but not the other, or a tunnel that reports up but does not pass traffic.
Failover symmetry
When the primary path fails, both directions must move to the backup path. If Azure and the data center prefer different paths, return traffic can arrive at a firewall that never saw the outbound session.
Detection time
How quickly a failure is noticed. It depends on routing protocol timers and, where both sides support it, BFD; tuning should be tested rather than assumed.
Backup path capacity
A VPN backup for a private circuit may not carry the same volume. Decide which flows must keep working on the backup path and which can run degraded.

Our data center to Azure connectivity service is where these paths are designed and tested in practice, including redundancy and failover validation.

Validate application connectivity

Prove that applications work across the hybrid path, not only that routes exist.

A route in an effective route table, or an established BGP session, shows that a path exists. It does not show that an application works across it. Validation should cover the application layer and the failure cases, with evidence collected so that later changes can be compared against a known-good state.

Validation plan

  • Effective routes and security rules checked for representative subnets and network interfaces, using the platform’s diagnostic tools.
  • Name resolution tested from both sides for on-premises zones, Azure private DNS zones and private endpoints.
  • Application tests run by application owners for the critical flows identified earlier.
  • Inspection verified: traffic appears in firewall logs in both directions, and matches the intended policy.
  • Outbound behavior confirmed, including the public addresses Azure workloads present to external services that allow-list them.
  • Failover tests performed in a planned window, with results recorded and compared against the expected behavior.

Questions to settle before migration waves

  1. Who signs off that an application works across the hybrid path?
  2. Which external services allow-list our source addresses, and will those addresses change after migration?
  3. What will we monitor after go-live to notice asymmetric routing, DNS failures or outbound SNAT port exhaustion?
  4. When will failover be tested again after the initial validation?

References

Primary sources for the protocol- and product-specific points above. Always check current vendor documentation for the exact versions in your environment.

  1. Hub-spoke network topology in Azure (opens in a new tab) Microsoft Learn Describes the hub-and-spoke pattern used as the conceptual starting point here, including shared services and gateways in the hub.
  2. Virtual network traffic routing (opens in a new tab) Microsoft Learn Primary source for system routes, user-defined routes, BGP route propagation and how Azure selects among routes.
  3. What is Azure ExpressRoute? (opens in a new tab) Microsoft Learn Supports statements about private connectivity through a connectivity provider and the redundant connections in each circuit.
  4. What is Azure VPN Gateway? (opens in a new tab) Microsoft Learn Supports statements about site-to-site IPsec tunnels between on-premises networks and Azure over the internet.
  5. What is Azure DNS Private Resolver? (opens in a new tab) Microsoft Learn Supports the description of inbound endpoints, outbound endpoints and forwarding rulesets for hybrid name resolution.
  6. Default outbound access in Azure (opens in a new tab) Microsoft Learn Supports the recommendation to design explicit outbound connectivity and to check current default outbound behavior for new subnets.

More planning guides A planning checklist for data center network designWhat to plan before a firewall migration All guides

Start a project

Planning a move to Azure?

Tell us which workloads are moving and how your data center connects today. We will help identify the routing, name-resolution and inspection decisions to settle first.

Start a project

Established 2001 · Over 25 years of infrastructure experience