/22 Subnet

A /22 has 1,024 addresses, 1,022 of them usable by hosts. Its netmask is 255.255.252.0. Enter any address below to see its /22 network.

  • Free
  • No Sign-Up
  • Runs in Your Browser

Examples:

IPv4 network

1,022 usable hosts · 192.168.0.1 to 192.168.3.254

Private (RFC 1918)

Details

Netmask
Wildcard Mask
Broadcast
First Usable
Last Usable
Usable Hosts
Total Addresses
Netmask in Binary
Address Entered

Split Into Subnets

192.168.0.0/23192.168.0.0 – 192.168.1.255
192.168.2.0/23192.168.2.0 – 192.168.3.255

Subnet Calculator

/22 at a glance

CIDR Prefix/22
Netmask255.255.252.0
Wildcard Mask0.0.3.255
Netmask (Hex)0xFFFFFC00
Total Addresses1,024
Usable Hosts1,022
Host Bits10
Contains /24s4
Binary Mask11111111.11111111.11111100.00000000

A /22 fixes the first 22 bits of the address as the network and leaves 10 bits for hosts, so it holds 2^10 = 1,024 addresses. The first is the network address and the last is the broadcast address, leaving 1,022 for hosts.

Four /24s. A typical first allocation for a hosting company, and the size RIPE NCC gave new members from its last IPv4 pool.

A /22 can be announced in BGP on its own: /24 is the longest prefix most networks accept.

Questions

How many usable IP addresses are in a /22?
1,022. A /22 has 1,024 addresses; the network and broadcast addresses are not usable by hosts.
What is the subnet mask for /22?
255.255.252.0. The wildcard (inverse) mask, used in Cisco ACLs, is 0.0.3.255.
How many /24 networks are in a /22?
4. Each step from /22 to /24 doubles the number of networks.
Is 255.255.252.0 the same as /22?
Yes. 255.255.252.0 written in binary is 22 ones followed by 10 zeros, which is what /22 means.

Every address on your network, watched

Frabs maps each IP to the VM that owns it and stops the abuse coming from it, on Proxmox, Virtualizor, VirtFusion and SolusVM.