The calculation
255.255.255.255 − 255.255.248.0 = 0.0.7.255
A /21 block is typically a group of eight /24s, a typical aggregate for a medium branch. With the network 10.0.0.0, the wildcard 0.0.7.255 matches 10.0.0.0 through 10.0.7.255.
Using it in Cisco IOS
! standard ACL access-list 10 permit 10.0.0.0 0.0.7.255 ! named extended ACL ip access-list extended FROM-SITE permit ip 10.0.0.0 0.0.7.255 any ! OSPF router ospf 1 network 10.0.0.0 0.0.7.255 area 0
Junos, Arista EOS, MikroTik and Linux use the prefix form instead: 10.0.0.0/21.
Nearby prefixes
| Prefix | Subnet mask | Wildcard | Addresses |
|---|---|---|---|
| /19 | 255.255.224.0 | 0.0.31.255 | 8,192 |
| /20 | 255.255.240.0 | 0.0.15.255 | 4,096 |
| /21 | 255.255.248.0 | 0.0.7.255 | 2,048 |
| /22 | 255.255.252.0 | 0.0.3.255 | 1,024 |
| /23 | 255.255.254.0 | 0.0.1.255 | 512 |