Soru

Zorluk: ZorIPv4 Addressing and Subnetting

A network engineer is provisioning subnets within a corporate network allocation of 172.16.96.0/21172.16.96.0/21. The engineer must create subnets that each accommodate at least 200200 usable host IP addresses while minimizing wasted address space. If these subnets are assigned sequentially starting from the beginning of the block, what is the broadcast address of the second subnet?

  1. 172.16.97.255172.16.97.255Cevap
  2. B
    172.16.96.255172.16.96.255
  3. C
    172.16.97.254172.16.97.254
  4. D
    172.16.99.255172.16.99.255

Cevap

The broadcast address of the second subnet is 172.16.97.255.
To host at least 200200 usable devices, 88 host bits (282=2542^8 - 2 = 254 usable IPs) are required, resulting in a /24/24 prefix (subnet mask 255.255.255.0255.255.255.0). Starting from 172.16.96.0172.16.96.0, the first /24/24 subnet spans 172.16.96.0172.16.96.0 - 172.16.96.255172.16.96.255. The second /24/24 subnet spans 172.16.97.0172.16.97.0 - 172.16.97.255172.16.97.255. The broadcast address of this second subnet is 172.16.97.255172.16.97.255.

Adım Adım Çözüm

1
Determine the required host bits and subnet mask prefix.
Using the formula 2n22002^n - 2 \ge 200, n=8n = 8 bits are needed for host addressing (282=2542^8 - 2 = 254 usable hosts). The prefix length is 328=/2432 - 8 = /24.
Choosing 8 host bits minimizes address waste while meeting the requirement of at least 200 usable host IPs.
2
Identify the block boundaries of the subnets.
A /24/24 subnet increments by 11 in the third octet. The first subnet is 172.16.96.0/24172.16.96.0/24 (172.16.96.0172.16.96.0 to 172.16.96.255172.16.96.255). The second sequential subnet is 172.16.97.0/24172.16.97.0/24 (172.16.97.0172.16.97.0 to 172.16.97.255172.16.97.255).
Subnetting starts sequentially at the beginning of the 172.16.96.0/21172.16.96.0/21 parent block.
3
Determine the broadcast address of the second subnet.
The highest address in the 172.16.97.0/24172.16.97.0/24 range is 172.16.97.255172.16.97.255.
The broadcast address is the last IP address in the subnet block.

Anahtar Kavram

Subnet sizing with CIDR and sequential block allocation
Bu soruyu puanla