Which CIDR notation corresponds to the subnet mask 255.255.240.0?

Study for the Router and Routing Basics Test with interactive quizzes. Tackle multiple choice questions, explore hints, and review explanations. Prepare for your exam effectively!

Multiple Choice

Which CIDR notation corresponds to the subnet mask 255.255.240.0?

Explanation:
CIDR notation equals the number of leading 1 bits in the subnet mask. For 255.255.240.0, convert each octet to binary: 255 is 11111111, 255 is 11111111, 240 is 11110000, and 0 is 00000000. Counting the 1 bits from left to right gives 8 + 8 + 4 + 0 = 20. So the CIDR notation is /20. This matches the option that shows /20. To see why the others don’t fit: /8 would require 11111111.00000000.00000000.00000000, /16 would be 11111111.11111111.00000000.00000000, and /24 would be 11111111.11111111.11111111.00000000. The given mask has 4 ones in the third octet, producing 20 total.

CIDR notation equals the number of leading 1 bits in the subnet mask. For 255.255.240.0, convert each octet to binary: 255 is 11111111, 255 is 11111111, 240 is 11110000, and 0 is 00000000. Counting the 1 bits from left to right gives 8 + 8 + 4 + 0 = 20. So the CIDR notation is /20.

This matches the option that shows /20. To see why the others don’t fit: /8 would require 11111111.00000000.00000000.00000000, /16 would be 11111111.11111111.00000000.00000000, and /24 would be 11111111.11111111.11111111.00000000. The given mask has 4 ones in the third octet, producing 20 total.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy