IPv4 reference

IPv4 /5 prefix

IPv4 /5 prefix corresponds to /5, with 134,217,728 total addresses and 134,217,726 usable hosts.

Example network details for 0.0.0.0/5

CIDR
0.0.0.0/5
Prefix
/5
Network address
0.0.0.0
Broadcast address
7.255.255.255
First usable address
0.0.0.1
Last usable address
7.255.255.254
Subnet mask
248.0.0.0
Wildcard mask
7.255.255.255
Total addresses
134,217,728
Usable hosts
134,217,726

Binary masks

Subnet: 11111000.00000000.00000000.00000000

Wildcard: 00000111.11111111.11111111.11111111

The first 5 bits identify the network. The remaining 27 bits identify addresses inside it.

First subdivision

Dividing this network into 4 equal blocks produces:

Continue working with /5

What this result means

A /5 IPv4 network contains 134,217,728 consecutive addresses. The network and broadcast addresses are reserved in traditional LAN use, leaving 134,217,726 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.