Explain CIDR notation and calculate the number of usable hosts in a /24 subnet.

Prepare for the Network+ Exam using Jason Dion's Quiz. Study with flashcards and multiple choice questions, each providing hints and explanations. Get ready for your certification journey!

Multiple Choice

Explain CIDR notation and calculate the number of usable hosts in a /24 subnet.

Explanation:
CIDR notation shows how many leading bits are fixed as the network portion, using a slash and a prefix length. In IPv4, addresses are 32 bits, so the number of usable host addresses in a subnet is 2^(32 − prefix) minus 2 (subtracting the network and broadcast addresses). For a /24, the prefix is 24, leaving 8 host bits. That gives 2^8 = 256 total addresses in the subnet, and after removing the network and broadcast addresses, 256 − 2 = 254 usable hosts. A /24 also corresponds to the familiar subnet mask 255.255.255.0. The other options misstate how CIDR works or the math: CIDR isn’t color-coded or based on decimal length or octet count, and the resulting usable host counts shown don’t match the 8 host bits of a /24.

CIDR notation shows how many leading bits are fixed as the network portion, using a slash and a prefix length. In IPv4, addresses are 32 bits, so the number of usable host addresses in a subnet is 2^(32 − prefix) minus 2 (subtracting the network and broadcast addresses). For a /24, the prefix is 24, leaving 8 host bits. That gives 2^8 = 256 total addresses in the subnet, and after removing the network and broadcast addresses, 256 − 2 = 254 usable hosts. A /24 also corresponds to the familiar subnet mask 255.255.255.0. The other options misstate how CIDR works or the math: CIDR isn’t color-coded or based on decimal length or octet count, and the resulting usable host counts shown don’t match the 8 host bits of a /24.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy