What subnet mask is needed if an IPv4 network has 40 devices that need IP addresses and address space is not to be wasted?

IT Exam Items RepositoryCategory: CCNAWhat subnet mask is needed if an IPv4 network has 40 devices that need IP addresses and address space is not to be wasted?

Question:

What subnet mask is needed if an IPv4 network has 40 devices that need IP addresses and address space is not to be wasted?

  • 255.255.255.240
  • 255.255.255.128
  • 255.255.255.224
  • 255.255.255.192
  • 255.255.255.0

Explanation: In order to accommodate 40 devices, 6 host bits are needed. With 6 bits, 64 addresses are possible, but one address is for the subnet number and one address is for a broadcast. This leaves 62 addresses that can be assigned to network devices. The mask associated with leaving 6 host bits for addressing is 255.255.255.192.

Related exam: CCNA 1 v7 Course Final Exam Answers
Related exam: Networking Essentials 3.0 Checkpoint Exam: IP Addressing
Related exam: CCNA 1 ITN (v5.0.3 + v6.0) Final Exam Answers