A network engineer is provisioning a high-availability database cluster across a single network segment. The segment is assigned the IPv4 address block . How many total usable host IPv4 addresses are available for assignable endpoints in this subnet?
Answer: 4094 addresses
Answer
4094 usable host IPv4 addresses
For a /20 prefix length, there are 12 host bits available (32 - 20 = 12). The total number of IP addresses is 2^12 = 4096. Subtracting 2 for the reserved network ID and broadcast address gives 4094 usable host IP addresses.
Step-by-Step Solution
Key Concept
Calculating usable IPv4 host addresses from a CIDR prefix length