tip
~/geeksubnet/masks/32

/32 subnet mask: 255.255.255.255

Every value on this page is reproducible in the calculator.

The /32 prefix means the first 32 bits of the address identify the network and the remaining 0 identify the host. Written out, the mask is 255.255.255.255, in binary 11111111.11111111.11111111.11111111, and its Cisco wildcard or inverse form is 0.0.0.0. It covers 1 addresses, of which 1 can be given to hosts.

/32 at a glance

CIDR prefix/32
Subnet mask255.255.255.255
Mask in binary11111111.11111111.11111111.11111111
Wildcard (inverse) mask0.0.0.0
Host bits0
Total addresses1
Usable hosts1
Block size (magic number)whole octet 4

Every /32 inside 192.168.1.0/24

A 192.168.1.0/24 contains 256 subnets of /32. Here are the first 8, which is enough to see the pattern: each one starts 256 after the last in octet 4.

NetworkFirst hostLast hostBroadcast
192.168.1.0/32192.168.1.0192.168.1.0n/a
192.168.1.1/32192.168.1.1192.168.1.1n/a
192.168.1.2/32192.168.1.2192.168.1.2n/a
192.168.1.3/32192.168.1.3192.168.1.3n/a
192.168.1.4/32192.168.1.4192.168.1.4n/a
192.168.1.5/32192.168.1.5192.168.1.5n/a
192.168.1.6/32192.168.1.6192.168.1.6n/a
192.168.1.7/32192.168.1.7192.168.1.7n/a

The magic number for /32

A /32 falls exactly on an octet boundary, so there is no magic number to work out: octet 4 of the mask is 255 and every subnet starts where the previous one ended, counting octet 4 up by one.

Where a /32 shows up in practice

A /32 is a single address. You use it for loopback interfaces, host routes, and any access list or firewall rule that needs to match one machine and nothing else. In routing it means "this exact host, nowhere else".

Frequently asked questions

How many hosts are in a /32?

A /32 is a single address, so it holds exactly one host and has no network or broadcast address to reserve.

What is the subnet mask for /32?

The /32 subnet mask is 255.255.255.255 in dotted-decimal notation.

What is the wildcard mask for /32?

The wildcard mask, also called the inverse mask, is 0.0.0.0. It is the bitwise inverse of 255.255.255.255 and is what Cisco access lists and OSPF network statements expect.

What is /32 in binary?

The /32 mask written out bit by bit is 11111111.11111111.11111111.11111111: 32 ones followed by 0 zeros.

How many /32 subnets fit in a /24?

A /24 splits into 256 subnets of /32.

Neighbouring masks: /31 is one bit shorter and holds twice as many addresses.
full cheat sheet subnetting basics open the calculator