What subnet mask corresponds to a /24 prefix?

Prepare for your Telecom and Networking Test with targeted quizzes. Access comprehensive multiple-choice questions with detailed explanations to boost your confidence and knowledge. Ace your Networking Test!

Multiple Choice

What subnet mask corresponds to a /24 prefix?

Explanation:
A /24 prefix uses 24 bits for the network and 8 bits for hosts, so the mask has 24 ones followed by 8 zeros. In binary that’s 11111111.11111111.11111111.00000000, which converts to 255.255.255.0. This is the standard subnet mask for a /24, giving 256 total addresses in the subnet (2^8), with 254 usable for hosts after reserving the network and broadcast addresses. The other masks correspond to different prefix lengths: 255.0.0.0 is /8, 255.255.0.0 is /16, and 255.255.255.255 is /32 (a single IP, not a typical /24 subnet).

A /24 prefix uses 24 bits for the network and 8 bits for hosts, so the mask has 24 ones followed by 8 zeros. In binary that’s 11111111.11111111.11111111.00000000, which converts to 255.255.255.0. This is the standard subnet mask for a /24, giving 256 total addresses in the subnet (2^8), with 254 usable for hosts after reserving the network and broadcast addresses. The other masks correspond to different prefix lengths: 255.0.0.0 is /8, 255.255.0.0 is /16, and 255.255.255.255 is /32 (a single IP, not a typical /24 subnet).

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy