How many IP addresses does Azure reserve in each subnet?
BeginnerConceptNetworking
Answer
Five: the network address, .1 (default gateway), .2 and .3 (Azure DNS mapping), and the broadcast address. A /24 gives 251 usable addresses, a /29 (the smallest allowed) gives 3.
This matters for AKS with Azure CNI (node subnet), App Service VNet integration, Application Gateway v2 (Microsoft recommends a /24) and Azure Firewall (requires a /26 named AzureFirewallSubnet).
More on Networking
What is a VNet and how does it compare to an AWS VPC?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)?IntermediateWhat are system routes and user-defined routes (UDRs)?Intermediate