Enter an IPv4 address with a mask, such as 10.0.0.0/8 or 192.168.1.10 255.255.255.0.
This is not a valid IPv4 address.
Enter an IPv4 address with a mask, such as 10.0.0.0/8 or 192.168.1.10 255.255.255.0.
Network
- Addresses
- Usable hosts
- Network address
- Broadcast
- Mask
- Wildcard mask
- Host range
Bits
- Address
- Mask
- Network
Split into subnets
How to use it in three steps
Step by step, with this page's example.
- 01
Enter an address with a mask, such as 192.168.1.0/24.
- 02
Read the range, broadcast and host count.
- 03
Split the network into smaller subnets if needed.
192.168.1.0/24
Mask 255.255.255.0
Host range 192.168.1.1 - 192.168.1.254 (254)
Broadcast 192.168.1.255 Questions
- What is CIDR?
- It is a way of writing an IP network as an address plus the number of mask bits, for example 192.168.1.0/24, where /24 means the mask 255.255.255.0. The tool works out the range, broadcast, host count and subnets from it.
- How many hosts do a /24, /16 and /8 network have?
- A /24 has 254 usable addresses, a /16 has 65,534 and a /8 has 16,777,214. The network address and the broadcast are subtracted from the total. The exceptions are /31 (point-to-point link, 2 addresses) and /32 (a single address).
- Why does /24 have 254 hosts, not 256?
- The first address is the network address and the last is the broadcast. That leaves 254 for devices.
- What is a wildcard mask?
- It is the inverted subnet mask, for example 0.0.0.255 for /24. It is used in access lists and routing protocol rules, and the tool shows it for every network.
- How does this help with a firewall?
- A rule for a whole subnet is one CIDR entry. The tool shows which addresses that entry covers.