CIDR Notation for 192.168.0.0 Subnet 255.255.255.252

CIDR Notation for 192.168.0.0 Subnet 255.255.255.252

Prev Question Next Question

Question

Which option is the correct CIDR notation for 192.168.0.0 subnet 255.255.255.252?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

B

The CIDR notation is a compact representation of an IP address and its associated network mask (also called subnet mask or prefix length). It expresses the number of network bits and the number of host bits in a given IP address, using the slash notation followed by a decimal number.

In this case, the IP address is 192.168.0.0 and the subnet mask is 255.255.255.252. This subnet mask has 30 bits set to 1 and 2 bits set to 0, which means it can accommodate up to 2 hosts per subnet (since the remaining 2 bits are for the host portion).

To determine the CIDR notation, we count the number of bits set to 1 in the subnet mask. In this case, we have:

255.255.255.252 = 11111111.11111111.11111111.11111100

There are 30 bits set to 1, so the CIDR notation is /30.

Therefore, the correct answer is option B, /30.