Practice mode Computer Networks

How many usable host addresses does an IPv4 /24 subnet provide?

Correct answer B. 254

Explanation

A /24 leaves 8 host bits, giving 2 to the power 8, or 256 addresses. The all-zeros value names the network and the all-ones value is the directed broadcast, so 254 can be assigned to hosts. The formula 2^n minus 2 applies to ordinary subnets, while /31 point-to-point links are a special case.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.