IPv4 reference
IPv4 /18 prefix
IPv4 /18 prefix corresponds to /18, with 16,384 total addresses and 16,382 usable hosts.
Example network details for 0.0.0.0/18
- CIDR
- 0.0.0.0/18
- Prefix
- /18
- Network address
- 0.0.0.0
- Broadcast address
- 0.0.63.255
- First usable address
- 0.0.0.1
- Last usable address
- 0.0.63.254
- Subnet mask
- 255.255.192.0
- Wildcard mask
- 0.0.63.255
- Total addresses
- 16,384
- Usable hosts
- 16,382
Binary masks
Subnet: 11111111.11111111.11000000.00000000
Wildcard: 00000000.00000000.00111111.11111111
The first 18 bits identify the network. The remaining 14 bits identify addresses inside it.
First subdivision
Dividing this network into 4 equal blocks produces:
0.0.0.0/20— 4,094 usable hosts0.0.16.0/20— 4,094 usable hosts0.0.32.0/20— 4,094 usable hosts0.0.48.0/20— 4,094 usable hosts
Continue working with /18
What this result means
A /18 IPv4 network contains 16,384 consecutive addresses. The network and broadcast addresses are reserved in traditional LAN use, leaving 16,382 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.