Back

Private IP Ranges

172.16.0.0/12 Private IP Range Explained

Learn which 172 addresses are private, how 172.16.0.0/12 is subnetted, and why it is common in VPN, cloud, and container networks.

Published: Jul 20, 20263 min read

Quick answer: 172.16.0.0/12 is an RFC 1918 private IPv4 block covering 172.16.0.0 through 172.31.255.255. It contains 1,048,576 addresses, but addresses outside that interval are not private merely because they begin with 172.

RFC 1918172.16.0.0/12IPV4Private
Range Start
172.16.0.0
Range End
172.31.255.255
Address Count
1,048,576
Prefix
/12

What does 172.16.0.0/12 mean?

The /12 prefix fixes the first 12 bits of the address. Its subnet mask is 255.240.0.0, which makes the valid private interval easy to recognise: the first octet must be 172, and the second octet must be between 16 and 31 inclusive.

For example, 172.16.5.10 and 172.31.200.1 are private, while 172.15.255.255 and 172.32.0.1 are outside the block.

Why do networks use this range?

The block is smaller than 10.0.0.0/8 but substantially larger than 192.168.0.0/16. That balance makes it useful for:

  • remote-access and site-to-site VPN address pools;
  • cloud VPCs and isolated application environments;
  • container bridges and internal orchestration networks;
  • a separate address space for systems that should not overlap a core network using 10.0.0.0/8.

It can also reduce the likelihood of collisions with home networks that commonly use 192.168.0.0/16, although no private range can guarantee that overlaps will never occur.

Common subnetting options

The 172.16.0.0/12 block contains more than one million addresses, so real deployments rarely use it as one flat network. VPNs, cloud VPCs, and container platforms normally divide it into smaller subnets that give sites, application environments, and services clear boundaries.

The main benefits include:

  • Isolating environments: Production, testing, VPN clients, and container networks can use separate subnets with their own access policies.
  • Limiting faults and broadcasts: A configuration error or unusual traffic in one subnet is less likely to affect the entire /12 address space.
  • Reducing overlap risk: Documented subnet assignments make conflicts easier to detect before connecting cloud, VPN, or partner networks.

The following are three common ways to divide 172.16.0.0/12:

Subnet sizeAddresses per subnetSubnets available inside 172.16.0.0/12CIDR examplesTypical use
/1665,53616172.16.0.0/16172.20.0.0/16172.31.0.0/16One large block per site or environment
/204,096256172.16.0.0/20172.16.16.0/20172.20.0.0/20Cloud application or VPN pools
/242564,096172.16.0.0/24172.16.1.0/24172.20.10.0/24Smaller VLANs and service networks

The CIDR examples show how network boundaries change with the prefix length. Each one is a valid private subnet, but it should still be checked against existing routes before use in a VPC, VPN, or container network.

These are total address counts. Conventional network and broadcast reservations, plus provider-specific reserved addresses, may reduce the number assignable to devices.

Cloud, VPN, and container conflicts

This range is not automatically conflict-free. Container tools and cloud templates often allocate subnets from the 172.16.0.0/12 space. A laptop can therefore connect to a VPN and discover that a remote route overlaps a local container bridge, causing traffic to follow the wrong interface.

Before assigning a subnet, check existing VPN pools, VPCs, container networks, partner routes, and on-premises networks. Smaller deliberate allocations are easier to document and migrate than treating the entire /12 as one undifferentiated pool.

Is 172.16.0.0/12 publicly routable?

No. Internet routers should not carry RFC 1918 source or destination addresses. Devices in this range usually reach public services through NAT, a proxy, or another gateway.

The word “private” describes routing scope, not guaranteed security. Internal traffic still needs suitable firewall rules, segmentation, authentication, monitoring, and encryption.

172.16.0.0/12 FAQ

Are all IP addresses beginning with 172 private?
No. Only 172.16.0.0 through 172.31.255.255 are private. Addresses such as 172.15.0.1 and 172.32.0.1 are outside the RFC 1918 block.
Is 172.20.0.1 a private IP address?
Yes. Its second octet is 20, which falls within the private interval from 16 through 31.
Why can a VPN conflict with Docker or another container tool?
Both systems may independently select overlapping 172.16.0.0/12 subnets. When that happens, the operating system may send traffic to the local container bridge instead of the remote VPN route, or vice versa.

See the overview of all private IP ranges, compare 10.0.0.0/8 and 192.168.0.0/16, or review the difference between an intranet and the internet.