What Is Azure Virtual Network (VNet)? Plan Your First Subnets

Updated on December 2, 20262.8

An Azure Virtual Network, usually shortened to VNet, is a regional private network you define in Azure. You choose its IP address space and divide it into subnets. A virtual machine’s network interface can receive a private address from one of those subnets. Two VMs can then communicate over private addresses, subject to routing and security rules. You do not need to give either machine a public IP for that conversation.

Follow a request between two subnets

Imagine an orders application that sends work to a background processor. The app runs in one subnet and the worker in another. Azure supplies routes between subnets in the same VNet. Splitting the machines into two subnets gives you places to apply different controls, but the split alone does not block traffic. A network security group can limit which sources, destinations, protocols and ports are allowed. A route table controls where packets go. A correct route and permission to use it are separate requirements.

The VNet belongs to one region. It can contain workloads in different availability zones in that region. A second region needs its own VNet. Peering can connect the networks when their address spaces do not overlap. Peering two spokes to the same hub does not automatically make the spokes transitively reachable.

Work out the address budget before deployment

Suppose an office already uses 10.20.0.0/16. The cloud team proposes 10.40.0.0/16, pending a check against every branch, partner and planned network. Inside it, consider an application subnet expected to use 18 private addresses normally and 12 more during a rolling release. That is 30 simultaneous assignments even if steady-state dashboards never show more than 18.

Candidate IPv4 subnet Total addresses Assignable after Azure reservations Result for 30 assignments
10.40.0.0/28 16 11 Too small at steady state.
10.40.0.0/27 32 27 Fits normal demand but fails at release peak.
10.40.0.0/26 64 59 Fits the example with 29 assignments to spare.

These are alternatives covering the same starting addresses. Deploy only the selected range. Azure reserves the first four and last IPv4 addresses in each ordinary subnet. A managed service can impose additional size or delegation requirements, so 59 assignable addresses are a starting budget. If the app takes the /26, the next nonoverlapping /26 begins at 10.40.0.64. Leaving space unassigned gives future services room without forcing an immediate renumbering.

Decide what must enter and leave

Write down three flows separately: customers reaching the app, the app reaching its worker, and the worker calling a managed service. A private VM address solves only part of that design. Public web traffic needs a deliberately exposed entry point, such as a regional Application Gateway listener. Internet-bound connections need a supported outbound design. Workloads that reach a managed Azure service may call its public endpoint or use a private endpoint or service endpoint depending on the access requirement.

When the office also needs access

Check the office and Azure ranges before choosing the connection. If the same destination address already means a local office host, buying a faster connection will not resolve the ambiguity. Next identify the DNS resolver that employees actually use and the return path from the workload. A cloud VM successfully contacting its neighbor proves neither of those office dependencies. Use the ExpressRoute and VPN Gateway comparison once you know which sites, routes and traffic volumes the link must carry.

For the platform overview, see what Microsoft Azure is and how its services fit together.

Sources and further reading

About the Author: Jian Brant

Founder Jian Brant
Jian Brant is a technology professional and founder of Punch5Media, with extensive experience in web development, enterprise IT, business analysis and digital transformation. Drawing on his experience across public and private sector organizations, he delivers thoroughly researched, practical insights into technology, cybersecurity, software and digital business.

Share this article

Explore technology

Practical, independent technology guides and explanations.

Browse all articles →

Recent articles

Our editorial approach

Clear explanations, practical guidance and responsible research.

Editorial standards →