What IP address I can not get it from Azure subnet CIDR to azure resource(s)?
What? Will I not be able to get some IP(s) from subnet?
How many IP(s) I am not able to get and what are they and why?
Azure Virtual Network is one of the main service from azure to create private network in cloud. subnet is the main part of Vnet for segregation. while creating a subnet we have to define CIDR.
If I create /24 mask subnet, I should get 256 IP(s) but why am I not getting 256 fully for my resources. I can get only 251 IP(s) because azure reserves 5 IPs from every subnet.
consider I'm creating a subnet called DMZ with subnet/cidr range as 10.1.2.0/24 and I'm going to get IP(s) from 10.1.2.4, 10.1.2.5, 10.1.2.6.......10.1.2.254 and please look into the below table for the reason and IP why they are not able to assign to user created azure resources.
IP | Purpose |
---|---|
10.1.2.0 | Network address |
10.1.2.1 | Reserved by Azure for the default gateway |
10.1.2.2, 10.1.2.3 | Reserved by Azure to map the Azure DNS IPs to the VNet space |
10.1.2.255 | Network broadcast address |
Helpful info
ReplyDelete