← All Subnets • /16 CIDR Guide

RFC1918 Docker / VPN (172.16–31.x.x)

172.21.0.0/16 Subnet Range & Network Details

Private RFC1918 /16 network block within the 172.16.0.0/12 range, commonly used for Docker custom bridges and corporate VPN pools.

Usable Host Range172.21.0.1 – 172.21.255.254
Subnet Mask255.255.0.0
Broadcast Address172.21.255.255
Usable Hosts65,534
Advertisement Slot

Complete IPv4 Breakdown for 172.21.0.0/16

CIDR Notation172.21.0.0/16
Network ID172.21.0.0
First Usable Host IP172.21.0.1
Last Usable Host IP172.21.255.254
Broadcast Address172.21.255.255
Subnet Mask255.255.0.0
Wildcard Mask0.0.255.255
Total / Usable Addresses65,536 total / 65,534 usable
Binary Network ID10101100.00010101.00000000.00000000
Hexadecimal Representation0xAC150000

Ready-to-Paste Configs for 172.21.0.0/16

Windows PowerShell Static IP Assignment

New-NetIPAddress -InterfaceAlias "Ethernet" -IPAddress "172.21.0.10" -PrefixLength 16 -DefaultGateway "172.21.0.1"

Cisco IOS Router Interface & ACL

interface GigabitEthernet0/0
 ip address 172.21.0.1 255.255.0.0
! Permit traffic from 172.21.0.0/16
access-list 101 permit ip 172.21.0.0 0.0.255.255 any

Linux ip route & iptables

ip route add 172.21.0.0/16 via 172.21.0.1 dev eth0
iptables -A INPUT -s 172.21.0.0/16 -j ACCEPT

Frequently Asked Questions about 172.21.0.0/16

What is the usable IP range for 172.21.0.0/16?

The usable host IP range for 172.21.0.0/16 is 172.21.0.1 to 172.21.255.254, providing 65,534 usable host addresses.

What is the subnet mask and wildcard mask for 172.21.0.0/16?

A /16 prefix uses the subnet mask 255.255.0.0 and the inverse wildcard mask 0.0.255.255.

What is the broadcast address for 172.21.0.0/16?

The network ID is 172.21.0.0 and the broadcast address is 172.21.255.255.

How many total IP addresses are in 172.21.0.0/16?

The 172.21.0.0/16 block contains 65,536 total IPv4 addresses, of which 65,534 are assignable to hosts.


← 172.20.0.0/16 172.22.0.0/16 →