How do you plan IP address space for Azure at scale?
AdvancedConceptNetworking
Answer
- Reserve a large private block per region (for example
10.16.0.0/12for Central India) and allocate spokes from it with an IPAM (Azure Virtual Network Manager IPAM, or a spreadsheet you actually maintain) so peering never hits overlapping ranges. - Size AKS subnets for the CNI: Azure CNI Overlay needs IPs only for nodes; flat Azure CNI needs one per pod.
- Leave room for fixed-size subnets:
GatewaySubnet(/27+),AzureFirewallSubnet(/26),AzureBastionSubnet(/26), App Gateway (/24 recommended), private endpoints (/24). - Never use ranges that overlap on-prem or partner networks.
More on Networking
What is a VNet and how does it compare to an AWS VPC?BeginnerHow many IP addresses does Azure reserve in each subnet?BeginnerWhat is a Network Security Group and how are its rules evaluated?BeginnerIf an NSG is on both the subnet and the NIC, how is traffic evaluated?AdvancedWhat are service tags and why use them in NSG rules?BeginnerWhat is an Application Security Group (ASG)?Intermediate