The calculation
A /24 block is typically a single standard VLAN or LAN segment. With the network 10.0.0.0, the wildcard 0.0.0.255 matches 10.0.0.0 through 10.0.0.255.
Using it in Cisco IOS
! standard ACL access-list 10 permit 10.0.0.0 0.0.0.255 ! named extended ACL ip access-list extended FROM-SITE permit ip 10.0.0.0 0.0.0.255 any ! OSPF router ospf 1 network 10.0.0.0 0.0.0.255 area 0
Junos, Arista EOS, MikroTik and Linux use the prefix form instead: 10.0.0.0/24.
Nearby prefixes
| Prefix | Subnet mask | Wildcard | Addresses |
|---|---|---|---|
| /22 | 255.255.252.0 | 0.0.3.255 | 1,024 |
| /23 | 255.255.254.0 | 0.0.1.255 | 512 |
| /24 | 255.255.255.0 | 0.0.0.255 | 256 |
| /25 | 255.255.255.128 | 0.0.0.127 | 128 |
| /26 | 255.255.255.192 | 0.0.0.63 | 64 |
Step by step
- /24 mask:
255.255.255.0. - In octet 4, the mask is 0 =
00000000in binary. - Flipping the bits: 00000000 → 11111111 = 255.
- Final wildcard:
0.0.0.255, leaving the 8 host bits free.
Blocks matched from 10.0.0.0
| Block | First address | Last address |
|---|---|---|
| 1 | 10.0.0.0 | 10.0.0.255 |
| 2 | 10.0.1.0 | 10.0.1.255 |
| 3 | 10.0.2.0 | 10.0.2.255 |
In practice
A permit 10.0.0.0 0.0.0.255 line covers 10.0.0.0 to 10.0.0.255. The next block starts at 10.0.1.0: if the range you need goes past that, use a larger wildcard or a second line. To cover twice as much, use the /23 wildcard (0.0.1.255); for half, the /25 wildcard (0.0.0.127).
To try other values, open the Wildcard mask calculator with these numbers already filled in.