| IP Address | |
| Network / CIDR | |
| Subnet Mask | |
| Wildcard Mask | |
| Broadcast | |
| First Usable Host | |
| Last Usable Host | |
| Usable Hosts |
| Wildcard | CIDR | Subnet Mask | Hosts | Common Use |
|---|
A subnet mask marks the network bits with binary 1s. A wildcard mask does the reverse: it marks the variable host bits with binary 1s. Because of this, a wildcard mask is often called an inverse mask.
For example, the subnet mask 255.255.255.0 becomes the wildcard mask 0.0.0.255. In Cisco ACL syntax, this can match every host in a /24 network. A host-specific ACL normally uses 0.0.0.0 because no bits are allowed to vary.
This converter is useful when building Cisco access lists, route maps, NAT rules, object groups or documentation where one system uses CIDR notation and another expects wildcard notation.
Is a wildcard mask the same as a subnet mask? No. It is the inverse of the subnet mask. Subnet masks identify fixed network bits; wildcard masks identify bits that may change.
What wildcard matches one host? Use 0.0.0.0 for a single host match.
What wildcard matches a /24 network? A /24 network uses subnet mask 255.255.255.0 and wildcard mask 0.0.0.255.