Subnets·IPv4 /0
IPv4
/0
0.0.0.0

/0 subnet — mask 0.0.0.0

/0 means the first 0 bits are the network and 32 are left for hosts. That is 4,294,967,296 addresses, with mask 0.0.0.0.

Addresses are 32 bits, so the mask is written in four dotted parts: 255.255.255.0.

Prefix
/0
Subnet mask
0.0.0.0
Wildcard
255.255.255.255
Mask in hex
00000000
Host bits
32
Addresses
4,294,967,296
Usable hosts
4,294,967,294
/24 networks inside
16,777,216
Nibble boundary
Yes

Seen as bits

The leading ones are the network part and the trailing zeros the host part. Add one more one and the network splits in two, halving the addresses.

Prefixes either side

How to read this

  • /24 means the first 24 bits are the network; the remaining 8 hold the addresses inside it.
  • Each extra bit splits the network in two and halves the addresses.
  • Usable addresses are normally the total minus two — the network and broadcast addresses.
  • IPv6 has no broadcast, so nothing is subtracted. One network is conventionally a /64.

Frequently asked questions

Q. How many addresses are in a /0?

4,294,967,296, of which 4,294,967,294 can actually be handed out.

Q. What is the subnet mask for /0?

0.0.0.0, with wildcard 255.255.255.255.

Q. How many /24 networks fit in a /0?

16,777,216.

Q. How many host bits are there?

32. Each extra network bit halves the addresses.