Which one of the following CIDR prefixes exactly represents the range of IP…
2024
Which one of the following CIDR prefixes exactly represents the range of IP addresses 10.12.2.0 to 10.12.3.255?
- A.
10.12.2.0/23
- B.
10.12.2.0/24
- C.
10.12.0.0/22
- D.
10.12.2.0/22
Attempted by 210 students.
Show answer & explanation
Correct answer: A
Answer: 10.12.2.0/23
Why this is correct:
/23 corresponds to mask 255.255.254.0, so there are 9 host bits (2^9 = 512 addresses).
Starting network address is 10.12.2.0. With a 512-address block, the range runs from 10.12.2.0 up to the broadcast 10.12.3.255.
Therefore 10.12.2.0/23 exactly matches the desired address span 10.12.2.0–10.12.3.255.
A video solution is available for this question — log in and enroll to watch it.