Soru

Zorluk: OrtaIPv4 Addressing and Subnetting

A network engineer is allocated the IPv4 address block 10.240.16.0/2010.240.16.0/20 to create subnets for distinct department segments. Each segment requires a minimum of 120120 usable host IP addresses. What is the maximum number of subnets of this minimum required size that can be created from the given block?

Cevap: 32 subnets

Cevap

The maximum number of subnets of the minimum required size that can be created is 32.
To support a minimum of 120 hosts, 7 host bits are required (272=1261202^7 - 2 = 126 \ge 120). A subnet with 7 host bits has a prefix length of /25/25 (327=2532 - 7 = 25). Partitioning a /20/20 block into /25/25 subnets borrows 5 bits (2520=525 - 20 = 5), resulting in 25=322^5 = 32 subnets.

Adım Adım Çözüm

1
Calculate the host bits required for the minimum host capacity requirement
7 host bits are required because 272=1261202^7 - 2 = 126 \ge 120.
Using 6 host bits only provides 262=622^6 - 2 = 62 usable addresses, which fails to meet the 120 host requirement.
2
Calculate the required subnet mask prefix length
The prefix length is /25/25, calculated as 327=2532 - 7 = 25.
Subtracting host bits from the 32 total IPv4 address bits determines the network prefix.
3
Calculate the total subnets formed by splitting a /20/20 block into /25/25 subnets
22520=25=322^{25 - 20} = 2^5 = 32 subnets.
The number of subnets created is 2 raised to the power of the borrowed subnet bits.

Anahtar Kavram

IPv4 Subnetting and Host Capacity Calculation
Bu soruyu puanla