Question

Difficulty: MediumIPv4 Addressing and Subnetting

A network administrator is selecting an IPv4 subnetwork block for a new internal department segment that requires support for up to 6060 usable host interfaces. The network design policy requires using an RFC 1918 private IPv4 address block and selecting the most efficient prefix length to avoid wasting addresses. Which subnetwork address and CIDR prefix satisfies all requirements?

  1. 10.40.16.0/2610.40.16.0/26Answer
  2. B
    172.32.16.0/26172.32.16.0/26
  3. C
    10.40.16.0/2710.40.16.0/27
  4. D
    192.168.10.0/25192.168.10.0/25

Answer

The subnetwork 10.40.16.0/2610.40.16.0/26 meets all design requirements by using an RFC 1918 private IPv4 address and providing 6262 usable host IP addresses, which is the most efficient subnet size for 6060 hosts.
The subnetwork 10.40.16.0/2610.40.16.0/26 utilizes an address within the RFC 1918 Class A private block (10.0.0.0/810.0.0.0/8). A /26/26 prefix leaves 66 host bits (3226=632 - 26 = 6), providing 262=622^6 - 2 = 62 usable host IP addresses. This accommodates the required 6060 host interfaces with the minimum possible address waste.

Step-by-Step Solution

1
Determine the required number of host bits (hh) for 6060 usable hosts
Using the formula 2h2602^h - 2 \ge 60, we test h=530h = 5 \rightarrow 30 usable hosts (too small) and h=662h = 6 \rightarrow 62 usable hosts (sufficient). Thus, 66 host bits are needed.
Two addresses in every IPv4 subnet are reserved for the network ID and the directed broadcast address.
2
Calculate the CIDR prefix length
Prefix length =326=/26= 32 - 6 = /26.
An IPv4 address consists of 32 total bits.
3
Verify RFC 1918 private IPv4 address range compliance
10.40.16.010.40.16.0 is inside the 10.0.0.0/810.0.0.0/8 private address block (10.0.0.010.0.0.0 to 10.255.255.25510.255.255.255).
RFC 1918 defines private address spaces: 10.0.0.0/810.0.0.0/8, 172.16.0.0/12172.16.0.0/12, and 192.168.0.0/16192.168.0.0/16.

Key Concept

IPv4 Subnet Sizing and RFC 1918 Private Addressing
Rate this question