IPv4 reference
IPv4 /0 prefix
IPv4 /0 prefix corresponds to /0, with 4,294,967,296 total addresses and 4,294,967,294 usable hosts.
Example network details for 0.0.0.0/0
- CIDR
- 0.0.0.0/0
- Prefix
- /0
- Network address
- 0.0.0.0
- Broadcast address
- 255.255.255.255
- First usable address
- 0.0.0.1
- Last usable address
- 255.255.255.254
- Subnet mask
- 0.0.0.0
- Wildcard mask
- 255.255.255.255
- Total addresses
- 4,294,967,296
- Usable hosts
- 4,294,967,294
Binary masks
Subnet: 00000000.00000000.00000000.00000000
Wildcard: 11111111.11111111.11111111.11111111
The first 0 bits identify the network. The remaining 32 bits identify addresses inside it.
First subdivision
Dividing this network into 4 equal blocks produces:
0.0.0.0/2— 1,073,741,822 usable hosts64.0.0.0/2— 1,073,741,822 usable hosts128.0.0.0/2— 1,073,741,822 usable hosts192.0.0.0/2— 1,073,741,822 usable hosts
Continue working with /0
What this result means
A /0 IPv4 network contains 4,294,967,296 consecutive addresses. The network and broadcast addresses are reserved in traditional LAN use, leaving 4,294,967,294 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.