Skip to content
Mailwel
Theme

Wildcard mask calculator

See which addresses a Cisco wildcard mask matches, test an IP against it, and turn CIDR blocks or ranges into access-list lines.

What does a wildcard match?

Try:

Optional. Type any IPv4 address to check it against the address and wildcard above.

Example: type your own address and wildcard mask above.

ACL entry192.0.2.0 0.0.0.63
Addresses matched64
First match
192.0.2.0
Last match
192.0.2.63
Same as CIDR
192.0.2.0/26

The first 16 matches, and the last

  • 192.0.2.0
  • 192.0.2.1
  • 192.0.2.2
  • 192.0.2.3
  • 192.0.2.4
  • 192.0.2.5
  • 192.0.2.6
  • 192.0.2.7
  • 192.0.2.8
  • 192.0.2.9
  • 192.0.2.10
  • 192.0.2.11
  • 192.0.2.12
  • 192.0.2.13
  • 192.0.2.14
  • 192.0.2.15
  • …
  • 192.0.2.63

Write ACL lines

One per line, or separated by commas. Ranges are split into the fewest blocks.

Try:
Action
Access list type
6 entries from 3 items
access-list 10 permit 192.0.2.0 0.0.0.255
access-list 10 permit 198.51.100.10 0.0.0.1
access-list 10 permit 198.51.100.12 0.0.0.3
access-list 10 permit 198.51.100.16 0.0.0.3
access-list 10 permit host 198.51.100.20
access-list 10 permit host 203.0.113.5