172.16.4.0/22
Private (RFC 1918) RFC 1918Class B — /22 prefix — 1,022 usable hosts
Network address — the base address of the block (172.16.4.0). All devices in this subnet share this prefix. Cannot be assigned to a host.
Broadcast address — packets sent to 172.16.7.255 are delivered to every device in the subnet. Also reserved — not assignable.
Usable hosts — the 1,022 addresses between those two that you can assign to servers, VMs, or interfaces.
Subnet mask — 255.255.252.0 is the dotted-decimal equivalent of /22. Older tools and Cisco configs use this format instead of CIDR slash notation.
Full Details
| CIDR Notation | 172.16.4.0/22 |
| Network Address | 172.16.4.0 |
| Broadcast Address | 172.16.7.255 |
| Subnet Mask | 255.255.252.0 |
| Wildcard Mask | 0.0.3.255 |
| Prefix Length | /22 |
| IP Address Class | Class B |
| Total IP Addresses | 1,024 |
| Usable Host Addresses | 1,022 |
| First Usable IP | 172.16.4.1 |
| Last Usable IP | 172.16.7.254 |
| Network (Hex) | 0xAC100400 |
| Broadcast (Hex) | 0xAC1007FF |
| Governing RFC | RFC 1918 |
| Address Type | Private (RFC 1918) |
Binary Representation
The first 22 bits (1s in the mask) identify the network. The remaining 10 bits identify hosts within the network.
Subnet Breakdown — splitting into /23
This /22 block can be divided into 2 /23 subnets.
| CIDR | Network | Broadcast | First Usable | Last Usable | Hosts |
|---|---|---|---|---|---|
| 172.16.4.0/23 | 172.16.4.0 | 172.16.5.255 | 172.16.4.1 | 172.16.5.254 | 510 |
| 172.16.6.0/23 | 172.16.6.0 | 172.16.7.255 | 172.16.6.1 | 172.16.7.254 | 510 |