/4 subnet (240.0.0.0)
A /4 network has 268,435,456 addresses, of which 268,435,454 can be given to hosts after the network and broadcast addresses. A huge block covering a large share of the IPv4 address space, seen in routing and broad firewall rules.
- CIDR notation
- /4
- Subnet mask
- 240.0.0.0
- Wildcard mask
- 15.255.255.255
- Binary mask
- 11110000.00000000.00000000.00000000
- Total addresses
- 268,435,456
- Usable hosts
- 268,435,454
- Example network
- 0.0.0.0/4
- Example usable range
- 0.0.0.1 – 15.255.255.254
- /24 networks in a /4
- 1,048,576
Calculate a /4 for your own address
In firewall rules and investigations
A /4 rule matches every address from 0.0.0.0 to 15.255.255.255. In Cisco ACLs the same range is written with the wildcard mask 15.255.255.255. When an alert names an IP, checking whether it falls inside a known /4 (your own network, a cloud provider’s published range or a blocked range) is often the quickest first step.