Intermediate Computer Networks
Q70 / 100

How do you calculate the number of usable hosts in a subnet given a CIDR prefix?

Correct! Well done.

Incorrect.

The correct answer is C) 2^(host bits) − 2, subtracting the network address and broadcast address from the total addresses in the subnet

C

Correct Answer

2^(host bits) − 2, subtracting the network address and broadcast address from the total addresses in the subnet

Explanation

A /26 subnet has 6 host bits, giving 2^6 = 64 total addresses. Subtracting the network address and broadcast address leaves 62 usable host addresses — the standard formula is 2^(host bits) − 2.

Progress
70/100