If a network uses IPv4 addresses and has a subnet mask of 255.255.255.224, how…
2024
If a network uses IPv4 addresses and has a subnet mask of 255.255.255.224, how many subnets can be created, and how many hosts are possible in each subnet ?
- A.
8 subnets, 30 hosts per subnet
- B.
16 subnets, 16 hosts per subnet
- C.
64 subnets, 6 hosts per subnet
- D.
128 subnets, 2 hosts per subnet
Attempted by 58 students.
Show answer & explanation
Correct answer: A
The subnet mask 255.255.255.224 in binary is 11111111.11111111.11111111.11100000, which corresponds to a /27 prefix length. This means 3 bits are borrowed from the host portion for subnetting, creating 2^3 = 8 subnets. The remaining 5 host bits allow for 2^5 - 2 = 30 usable hosts per subnet, accounting for the network and broadcast addresses.