Choose an RFC 1918 private address that is not directly routed on the Internet.
Which address is private?
RFC 1918 ranges are 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16.
Detailed explanation
172.15.10.20Incorrect. 172.15 is outside the 172.16/12 private range.
Incorrect. 172.15 is outside the 172.16/12 private range.
192.0.2.25Incorrect. 192.0.2.0/24 is a documentation range.
Incorrect. 192.0.2.0/24 is a documentation range.
198.51.100.8Incorrect. 198.51.100.0/24 is a documentation range.
Incorrect. 198.51.100.0/24 is a documentation range.
172.20.10.20Correct. 172.20 is within 172.16-31.
Correct. 172.20 is within 172.16-31.
Try it yourself
An example you can run in a temporary verification environment.
python3 -c "import ipaddress; print(ipaddress.ip_address('172.20.10.20').is_private)"Expected result
TrueKey points
- 10/8
- 172.16/12
- 192.168/16
Notes
- Environment: Python 3 ipaddress
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.