MTCNA practice question 1 of 30

How many usable IP addresses are there in a 20-bit subnet?

Full set: 214 questions
Answer options
A: 2047
B: 4096
C: 2048
D: 2046
E: 4094 Correct answer
Correct Answer:
E. 4094
Explanation

A 20-bit subnet mask (/20) leaves 12 bits for host addressing ($32 - 20 = 12$). The total number of IP addresses contained within a /20 block is $2^{12} = 4096$. In standard IPv4 subnetting, two addresses are reserved and cannot be assigned to hosts: the network address (all host bits 0) and the subnet broadcast address (all host bits 1). Subtracting these two reserved addresses ($4096 - 2$) leaves exactly 4094 usable IP host addresses.

Why Incorrect

A: 2047 is an incorrect calculation and does not accurately represent host bit powers of two. B: 4096 is the total number of IP addresses in the subnet, including non-usable network and broadcast IDs. C: 2048 is the total address count of a /21 subnet ($2^{11}$), not a /20 subnet. D: 2046 represents the usable host IP address count for a /21 subnet ($2048 - 2$).

References

1. IETF RFC 4632: Classless Inter-domain Routing (CIDR): The Internet Address Assignment and Aggregation Plan, Section 3.1.

2. MikroTik Documentation: Manual:IP/Address, Section "Subnetting and Masking".

Scroll to Top