Tools – Wildcard Calculator

IP: 22.73.220.128 Wildcard Mask:10.83.216.208
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 22.73.220.128
00010110
.
01001001
.
11011100
.
10000000
Wildcard Mask 10.83.216.208
00001010
.
01010011
.
11011000
.
11010000
Bit Pattern 0001?1?0 . 0?0?10?? . ??0??100 . ??0?0000
Networks Matched in [brackets]
(examples)
[20]
[22]
[28]
[30]
.
[8 - 11]
[24 - 27]
[72 - 75]
[88 - 91]
.
[4]
[12]
[20]
[28]
[68]
[76]
[84]
[92]
[132]
[140]
[148]
[156]
[196]
[204]
[212]
[220]
.
[0]
[16]
[64]
[80]
[128]
[144]
[192]
[208]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 20.8.4.0 10.83.216.208
Result Breakdown:
IP & WildCard Octet 1
[22.73.220.128 with WildCard mask 10.83.216.208]
Octet bits value/pos 128
bit 8
64
bit 7
32
bit 6
16
bit 5
8
bit 4
4
bit 3
2
bit 2
1
bit 1
IP: 22 0 0 0 1 0 1 1 0
WC:(?) 10 0 0 0 0 1 0 1 0
= = = = = = = =
Bit pattern:(?) 0 0 0 1 0 or 1 1 0 or 1 0

IP & WildCard Octet 2
[22.73.220.128 with WildCard mask 10.83.216.208]
Octet bits value/pos 128
bit 8
64
bit 7
32
bit 6
16
bit 5
8
bit 4
4
bit 3
2
bit 2
1
bit 1
IP: 73 0 1 0 0 1 0 0 1
WC:(?) 83 0 1 0 1 0 0 1 1
= = = = = = = =
Bit pattern:(?) 0 0 or 1 0 0 or 1 1 0 0 or 1 0 or 1

IP & WildCard Octet 3
[22.73.220.128 with WildCard mask 10.83.216.208]
Octet bits value/pos 128
bit 8
64
bit 7
32
bit 6
16
bit 5
8
bit 4
4
bit 3
2
bit 2
1
bit 1
IP: 220 1 1 0 1 1 1 0 0
WC:(?) 216 1 1 0 1 1 0 0 0
= = = = = = = =
Bit pattern:(?) 0 or 1 0 or 1 0 0 or 1 0 or 1 1 0 0

IP & WildCard Octet 4
[22.73.220.128 with WildCard mask 10.83.216.208]
Octet bits value/pos: 128
bit 8
64
bit 7
32
bit 6
16
bit 5
8
bit 4
4
bit 3
2
bit 2
1
bit 1
IP: 128 1 0 0 0 0 0 0 0
WC:(?) 208 1 1 0 1 0 0 0 0
= = = = = = = =
Bit pattern:(?) 0 or 1 0 or 1 0 0 or 1 0 0 0 0

Use the calculators at your own risk.
version:
V0.4

4 thoughts on “Tools – Wildcard Calculator”

  1. Hey, I hope someone will find this Calculator useful, it was mostly aimed at wildcard masks for Cisco equipment. I will make a setting to change it to work for Juniper devices as well.
    Any suggestions & Feedback will be more than welcome.

  2. Excellent tool, thank you very much! Please keep this active as its very useful, you must get loads of hits as not many sites do proper wild card calculations. This works perfectly!

Leave a Reply

Your email address will not be published. Required fields are marked *