Azure Virtual Network Basics: Address Space, Subnets, Peering, DNS and Public vs Private IP Addresses

Microsoft Azure Fundamentals AZ 900 50 min min read Updated: Nov 17, 2026 Beginner
Azure Virtual Network Basics: Address Space, Subnets, Peering, DNS and Public vs Private IP Addresses
Beginner Topic 1 of 3

What Is a Virtual Network?

An Azure Virtual Network (VNet) is your own private network in Azure. Resources such as VMs connect to it and talk to each other safely, and you control who can reach them.

Key Ideas

TermMeaning
Address spaceThe range of private IP addresses for the VNet, written like 10.0.0.0/16
SubnetA smaller slice of the VNet, like 10.0.1.0/24, used to group resources (web subnet, database subnet)
Private IPAddress used inside the VNet
Public IPAddress reachable from the internet
Network interface (NIC)Connects a VM to a subnet

Simple Design

text VNet 10.0.0.0/16 ├ web-subnet 10.0.1.0/24 (web servers) ├ app-subnet 10.0.2.0/24 (app servers) └ db-subnet 10.0.3.0/24 (databases)

What VNets Provide

  • Isolation: each VNet is separate by default
  • Internet access: outbound by default, inbound only if you allow it
  • Communication between resources in the same VNet
  • Connection to on-premises networks (VPN or ExpressRoute)
  • Filtering of traffic with network security groups
  • Routing between subnets automatically

VNet Peering

  • Connects two VNets so resources talk using private IPs over the Microsoft backbone
  • Works across regions (global peering)
  • Fast and low latency
  • Address spaces must not overlap
  • Peering is not transitive by default: A to B and B to C does not mean A to C

Azure DNS

  • Hosts your domain names (for example example.com) on Azure's name servers
  • Maps names to IP addresses
  • Private DNS zones give names to resources inside VNets

Public IP Versus Private IP

PublicPrivate
Reachable from internetYesNo
Used forWeb servers, gatewaysInternal communication
CostChargedFree

Practice

  1. Why split a VNet into subnets?
  2. Can two peered VNets have the same address range?
  3. What does Azure DNS do?

Conclusion

A VNet is your private network with subnets, private and public IPs, peering to join networks and DNS to resolve names.

Quick Summary: VNet; key terms; design; benefits; peering; DNS; public vs private.

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators