Practice mode Computer Networks

What is the longest IPv4 prefix that gives a subnet at least 50 usable host addresses?

Correct answer C. /26

Explanation

Five host bits give only 30 usable addresses, while six bits give 2^6 minus 2, which is 62 and enough for 50. Six host bits leave a 26-bit prefix. A /25 would also fit but wastes addresses and is not the longest, and /27 is one bit too long to fit 50 hosts.

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.