A cloud engineer is tasked with designing a subnet for a new VPC that will host approximately 120 virtual machines. Each virtual machine requires a unique IP address within the subnet. To allow for ample growth, they decide to design the subnet to support double the current number of required addresses. Which of the following subnet masks would allow for at least 240 addresses to be used for these virtual machines?
A subnet mask of 255.255.255.0, or /24, allows for 256 IP addresses, ranging from 0 to 255. With two addresses reserved for the network address and the broadcast address, 254 usable IP addresses remain, sufficiently providing for at least 240 virtual machine addresses plus growth.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a subnet mask and how does it work?
Open an interactive chat with Bash
Why is it important to reserve addresses for network and broadcast?
Open an interactive chat with Bash
What are the implications of choosing a smaller subnet mask?