/7 subnet (254.0.0.0)

A /7 network has 33,554,432 addresses, of which 33,554,430 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
/7
Subnet mask
254.0.0.0
Wildcard mask
1.255.255.255
Binary mask
11111110.00000000.00000000.00000000
Total addresses
33,554,432
Usable hosts
33,554,430
Example network
0.0.0.0/7
Example usable range
0.0.0.1 – 1.255.255.254
/24 networks in a /7
131,072

Calculate a /7 for your own address

In firewall rules and investigations

A /7 rule matches every address from 0.0.0.0 to 1.255.255.255. In Cisco ACLs the same range is written with the wildcard mask 1.255.255.255. When an alert names an IP, checking whether it falls inside a known /7 (your own network, a cloud provider’s published range or a blocked range) is often the quickest first step.