Question

Difficulty: MediumIPv4 Addressing and Subnetting

A network engineer is allocated the IPv4 address block 172.16.64.0/21172.16.64.0/21 to provision point-to-point WAN links between branch offices. Each link is configured with a /30/30 subnet mask to conserve address space. What is the maximum number of /30/30 subnets that can be created from this /21/21 block?

Answer: 512 subnets

Answer

The maximum number of /30/30 subnets that can be created is 512.
To calculate the total number of subnets created, subtract the starting prefix length from the target prefix length: 3021=930 - 21 = 9 borrowed subnet bits. Applying the formula 2n2^n yields 29=5122^9 = 512 subnets.

Step-by-Step Solution

1
Calculate the number of borrowed subnet bits.
9 subnet bits borrowed (3021=930 - 21 = 9).
Subnetting a /21/21 network block into /30/30 subnets requires extending the prefix by 9 bits.
2
Calculate the total number of available subnets.
512 subnets (29=5122^9 = 512).
Each borrowed bit doubles the number of created subnets, yielding 29=5122^9 = 512 total subnets.

Key Concept

Calculating the total number of subnets created by borrowing host bits from an IPv4 CIDR prefix.
Rate this question