Soru

Zorluk: ZorIPv4 Addressing and Subnetting

An enterprise network administrator is assigned the IPv4 network block 192.168.16.0/22192.168.16.0/22 to provision subnets for a new regional office. Using Variable Length Subnet Masking (VLSM) to minimize address waste, subnets are created for the following minimum usable host requirements:

- Department A: 250250 usable host IPs
- Department B: 120120 usable host IPs
- Department C: 6060 usable host IPs
- Department D: 2525 usable host IPs

What is the total number of unallocated IP addresses (including network and broadcast addresses) remaining in the original 192.168.16.0/22192.168.16.0/22 block after these subnets are assigned?

Cevap: 544 addresses

Cevap

544 unallocated IP addresses remain in the original /22 block.
A /22 block provides 10241024 total addresses. By sizing each subnet to the smallest power of 2 that accommodates host requirements plus network and broadcast overhead, the allocations consume 256256 (/24), 128128 (/25), 6464 (/26), and 3232 (/27) addresses, totaling 480480 addresses. Subtracting 480480 from 10241024 leaves 544544 unallocated addresses.

Adım Adım Çözüm

1
Determine total capacity of the assigned prefix
A /22 subnet contains 210=10242^{10} = 1024 total IP addresses.
The prefix length of /22 leaves 3222=1032 - 22 = 10 host bits.
2
Calculate required CIDR subnet block size for each department using VLSM rules
Dept A needs 256 IPs (/24); Dept B needs 128 IPs (/25); Dept C needs 64 IPs (/26); Dept D needs 32 IPs (/27).
Each subnet must accommodate the usable hosts plus 2 overhead addresses (network ID and broadcast address), rounded up to the smallest power of 2.
3
Sum total allocated IP addresses
256+128+64+32=480256 + 128 + 64 + 32 = 480 IP addresses allocated.
Combining block sizes yields the total addresses consumed across all four departmental subnets.
4
Calculate remaining unallocated IP addresses
1024480=5441024 - 480 = 544 unallocated IP addresses.
Subtracting allocated addresses from the total block size leaves the unassigned address space.

Anahtar Kavram

VLSM Subnet Block Size Calculation & Host Address Allocation
Bu soruyu puanla