CompTIA Network+ (N10-009) — Question 283

A network administrator needs to assign IP addresses to a newly installed network. They choose 192.168.1.0/24 as their network address and need to create three subnets with 30 hosts on each subnet. Which of the following is a valid subnet mask that will meet the requirements?

Answer options

Correct answer: C

Explanation

The correct answer is C, 255.255.255.224, which provides 32 IP addresses per subnet, allowing for 30 usable hosts after accounting for the network and broadcast addresses. Option A (255.255.255.128) allows for only 126 hosts and does not create enough subnets, B (255.255.255.192) offers only 62 hosts, which is also insufficient, while D (255.255.255.240) yields too few addresses for the requirement.