private address space

Ranges of IP addresses reserved for internal networks that are not routed on the public internet.

In more detail

RFC 1918 reserves three IPv4 ranges for private use: 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16. Private tells you how an address is routed, not whether a host should be allowed to connect. A rule that admits all of 10.0.0.0/8 is private, yet it lets over 16 million possible addresses, every laptop and test server on the internal network, reach the service.

Examples

{"IpProtocol": "-1", "IpRanges": [{"CidrIp": "10.0.0.0/8", "Description": "migration"}]}
ip_network("10.0.0.0/8").is_private   # True, but not inside the target

Related terms

Taught in

References