Soru

Zorluk: OrtaCreate and Configure Virtual Networks and Subnets

An administrator configures a virtual network named `VNet-Prod` with an address space of 10.0.0.0/2410.0.0.0/24. The virtual network contains a subnet named `AzureBastionSubnet` with an address space of 10.0.0.0/2610.0.0.0/26, and a subnet named `Subnet-App` with an address space of 10.0.0.64/2610.0.0.64/26. `Subnet-App` must support at least 60 virtual machines. Statement: The proposed configuration is valid and provides enough usable IP addresses for the virtual machines in `Subnet-App`. Is the statement true?

Cevap: Cevap

Cevap

The statement is false because a /26 subnet in Azure only provides 59 usable IP addresses, which is insufficient to support the required 60 virtual machines.
The statement is false because a /26 prefix provides 64 total IP addresses. After subtracting Azure's 5 reserved IP addresses, only 59 usable addresses remain, which is not enough to support the 60 virtual machines required in the subnet.

Adım Adım Çözüm

1
Calculate the total number of IP addresses in a /26 subnet prefix.
64 total IP addresses (23226=642^{32 - 26} = 64).
To determine the maximum address pool size for the subnet prefix.
2
Apply the Azure-specific reserved IP address constraint.
59 usable IP addresses (645=5964 - 5 = 59).
Azure reserves 5 IP addresses per subnet: the network address, default gateway, two DNS/DHCP addresses, and the broadcast address.
3
Compare the available usable IP addresses in the subnet against the workload requirement.
59 usable IP addresses is less than the required 60 virtual machines.
To determine if the configuration meets the specified virtual machine capacity.

Anahtar Kavram

Azure subnets reserve 5 IP addresses (the first 4 and the last 1 address), which reduces the number of usable IP addresses available for resources.
Bu soruyu puanla