The calculation
255.255.255.255 − 255.255.0.0 = 0.0.255.255
A /16 block is typically a whole /16 campus or site block, for example every subnet of 10.0.0.0/16 in one ACL entry. With the network 10.0.0.0, the wildcard 0.0.255.255 matches 10.0.0.0 through 10.0.255.255.
Using it in Cisco IOS
! standard ACL access-list 10 permit 10.0.0.0 0.0.255.255 ! named extended ACL ip access-list extended FROM-SITE permit ip 10.0.0.0 0.0.255.255 any ! OSPF router ospf 1 network 10.0.0.0 0.0.255.255 area 0
Junos, Arista EOS, MikroTik and Linux use the prefix form instead: 10.0.0.0/16.
Nearby prefixes
| Prefix | Subnet mask | Wildcard | Addresses |
|---|---|---|---|
| /16 | 255.255.0.0 | 0.0.255.255 | 65,536 |
| /17 | 255.255.128.0 | 0.0.127.255 | 32,768 |
| /18 | 255.255.192.0 | 0.0.63.255 | 16,384 |