IPv4 reference

IPv4 /22 prefix

IPv4 /22 prefix corresponds to /22, with 1,024 total addresses and 1,022 usable hosts.

Example network details for 0.0.0.0/22

CIDR
0.0.0.0/22
Prefix
/22
Network address
0.0.0.0
Broadcast address
0.0.3.255
First usable address
0.0.0.1
Last usable address
0.0.3.254
Subnet mask
255.255.252.0
Wildcard mask
0.0.3.255
Total addresses
1,024
Usable hosts
1,022

Binary masks

Subnet: 11111111.11111111.11111100.00000000

Wildcard: 00000000.00000000.00000011.11111111

The first 22 bits identify the network. The remaining 10 bits identify addresses inside it.

First subdivision

Dividing this network into 4 equal blocks produces:

Continue working with /22

What this result means

A /22 IPv4 network contains 1,024 consecutive addresses. The network and broadcast addresses are reserved in traditional LAN use, leaving 1,022 usable host addresses.

Use the wildcard mask in access lists and routing policy where a device expects inverse mask bits. Always verify vendor syntax before applying generated values to production equipment.