Lesson 1 of 6 Network Solutions

Understanding Azure Network Topologies

This lesson explains virtual networks, peering and the main enterprise topologies.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe virtual networks and peering.
  • Compare hub and spoke with Azure Virtual WAN.
  • Describe DNS options for hybrid networks.

Virtual networks

An Azure virtual network (VNet) is a private network in one region and one subscription, which is divided into subnets. Azure provides default routing between subnets, within a VNet. A network security group (NSG) filters traffic, by rules that use addresses and ports, and is attached to a subnet or network interface. User-defined routes override default routing, and they typically send traffic through a firewall.

Address planning deserves early attention. Address spaces of connected networks must not overlap, whether in Azure or on-premises, so a central allocation scheme should be set before the first deployment. Each subnet reserves five addresses, and some services, such as gateways and Azure Firewall, need subnets with specific names. Since 31 March 2026, new virtual networks use private subnets by default, without default outbound internet access, so outbound connectivity must be deliberately designed.

True or false

VNet design rules

Exam skills 4.4.2

Check the virtual network facts a design must respect.

Log in to try this activity Interactive activities are free with an account.

Connecting virtual networks

VNet peering connects two virtual networks through the Microsoft backbone, in the same or different regions. Traffic is private, with low latency and no gateway required. Peering is not transitive: if A peers with B, and B peers with C, then A cannot reach C unless routing through a network virtual appliance or firewall in B is arranged, or unless A and C are peered. This fact underlies hub and spoke design.

Azure Virtual Network Manager manages connectivity and security across many virtual networks, using network groups. It can create hub and spoke or mesh connectivity at scale, and it can apply security admin rules that are evaluated before NSG rules, so that a central team can enforce a rule that application teams cannot override.

Hub and spoke

In a hub and spoke topology, a central hub VNet holds shared services, such as a firewall, gateways and Bastion, and spoke VNets hold workloads, each peered with the hub. All traffic between spokes, and to on-premises, passes through the hub, where it can be inspected.

This topology offers central control and shared services at lower cost, because each workload does not need its own gateway or firewall. The customer manages the hub, which offers flexibility, but it must also configure routing, and it must build more hubs for other regions, connecting them manually.

Azure Virtual WAN

Azure Virtual WAN is a Microsoft-managed networking service, which provides a global transit network. Microsoft runs the virtual hubs, and customers connect virtual networks, VPN sites, ExpressRoute circuits and remote users to them. Hub-to-hub connectivity is automatic across regions, and routing is handled by the service.

Two types exist. Basic offers site-to-site VPN only. Standard adds ExpressRoute, point-to-site VPN, transit between hubs and virtual networks, and Azure Firewall or network virtual appliances in the hub. A Basic WAN can be upgraded to Standard, but it cannot be reverted. A hub router supports up to 50 Gbps. Virtual WAN suits large, global organizations with many branches, whereas a customer-managed hub and spoke suits those with few regions, or that need detailed control of routing.

The following comparison recaps the two topologies.

Hub and spoke
Hub managed byCustomer
Transit between regionsConfigured manually
Branch connectivity at scaleNeeds design
Routing controlFull, with route tables
Choose when Few regions and detailed control
Azure Virtual WAN
Hub managed byMicrosoft
Transit between regionsAutomatic
Branch connectivity at scaleBuilt in
Routing controlService-managed, with routing intent
Choose when Many branches and regions

The following diagram shows the hubs of an Azure Virtual WAN for 600 stores and five regions, and what attaches to them.

Azure Virtual WAN Standard for 600 stores and five Azure regions. Stores connect over site-to-site VPN to the nearest virtual hub, regional VNets attach to the hubs, and hub-to-hub transit is automatic, so a small network team need not configure routing across hundreds of sites.
Three hubs are drawn; the number of hubs follows the regions in use.
Sort into groups

Hub and spoke or Virtual WAN?

Exam skills 4.4.2

Choose the topology for each organization.

Log in to try this activity Interactive activities are free with an account.

Name resolution

DNS underpins all connectivity. Azure DNS private zones provide name resolution inside virtual networks, and they are central to private endpoints. Azure DNS Private Resolver allows on-premises systems to resolve Azure private zones, and Azure workloads to resolve on-premises names, with no custom DNS servers on virtual machines. Inbound endpoints receive queries from on-premises, and outbound endpoints with forwarding rulesets send queries to on-premises.

Scenario questions

Hybrid name resolution

Exam skills 4.4.2

Choose the DNS component for each hybrid resolution need.

Log in to try this activity Interactive activities are free with an account.
Worked example

Selecting a topology

A retailer has 600 stores on three continents, each with a broadband connection. It has workloads in five Azure regions, and all sites must be able to reach each other. A small network team wants to minimize routing work. What should you recommend?

Azure Virtual WAN Standard fits, since it is built for global transit at this scale. Stores connect through site-to-site VPN to the nearest virtual hub, regional VNets attach to the hubs, and hub-to-hub transit is automatic, which matches the small team's aim of reducing routing work.

A customer-managed hub and spoke could work, but it would need manual configuration across five regions and hundreds of sites. Virtual WAN Basic offers site-to-site VPN only, without full transit between hubs and virtual networks, and a full mesh of VNet peerings would not connect stores.

Check yourself

VNet A peers with B, and B peers with C. Can A reach C?

Show answer

Not by default, because peering is not transitive. Traffic must be routed through a device in B, or A and C must be peered.

Exam Tips

Remember for the exam

  • VNet peering is not transitive; hub and spoke uses this property deliberately.
  • Hub and spoke: customer-managed. Virtual WAN: Microsoft-managed global transit.
  • Virtual WAN Basic is VPN only; Standard adds ExpressRoute and full transit.
  • Security admin rules in Virtual Network Manager are evaluated before NSG rules.
  • New virtual networks have private subnets, with no default outbound access.