CIDR Notation for 192.168.0.0 Subnet 255.255.255.252

# CIDR Notation for 192.168.0.0 Subnet 255.255.255.252

### Question

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

### Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A

CIDR notation is used to represent IP addresses and their associated subnet masks in a simplified format. It is represented in the form of an IP address followed by a forward slash (/) and a number, which indicates the number of significant bits in the subnet mask.

To determine the correct CIDR notation for the given subnet mask 255.255.255.252, we need to count the number of significant bits in the subnet mask.

A subnet mask of 255.255.255.252 represents a network that can have a maximum of 2 hosts, which means it has a subnet size of 4 IP addresses. The two host addresses are reserved for the first and last IP address in the subnet, leaving only two usable IP addresses for hosts.

To determine the number of significant bits, we need to convert the subnet mask to binary format.

255.255.255.252 in binary format is 11111111.11111111.11111111.11111100

Counting the number of consecutive 1s from left to right gives us the number of significant bits in the subnet mask. In this case, there are 30 consecutive 1s in the subnet mask, which means the CIDR notation for this subnet is /30.

Therefore, the correct answer is A. 30.