Tools – Wildcard Calculator

IP: 12.168.8.114 Wildcard Mask:94.2.109.119
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 12.168.8.114
00001100
.
10101000
.
00001000
.
01110010
Wildcard Mask 94.2.109.119
01011110
.
00000010
.
01101101
.
01110111
Bit Pattern 0?0????0 . 101010?0 . 0??0??0? . 0???0???
Networks Matched in [brackets]
(examples)
[0]
[2]
[4]
[6]
[8]
[10]
[12]
[14]
[16]
[18]
[20]
[22]
[24]
[26]
[28]
[30]
[64]
[66]
[68]
[70]
[72]
[74]
[76]
[78]
[80]
[82]
[84]
[86]
[88]
[90]
[92]
[94]
.
[168]
[170]
.
[0 - 1]
[4 - 5]
[8 - 9]
[12 - 13]
[32 - 33]
[36 - 37]
[40 - 41]
[44 - 45]
[64 - 65]
[68 - 69]
[72 - 73]
[76 - 77]
[96 - 97]
[100 - 101]
[104 - 105]
[108 - 109]
.
[0 - 7]
[16 - 23]
[32 - 39]
[48 - 55]
[64 - 71]
[80 - 87]
[96 - 103]
[112 - 119]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 0.168.0.0 94.2.109.119
Result Breakdown:
IP & WildCard Octet 1
[12.168.8.114 with WildCard mask 94.2.109.119]
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: 12 0 0 0 0 1 1 0 0
WC:(?) 94 0 1 0 1 1 1 1 0
= = = = = = = =
Bit pattern:(?) 0 0 or 1 0 0 or 1 0 or 1 0 or 1 0 or 1 0

IP & WildCard Octet 2
[12.168.8.114 with WildCard mask 94.2.109.119]
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: 168 1 0 1 0 1 0 0 0
WC:(?) 2 0 0 0 0 0 0 1 0
= = = = = = = =
Bit pattern:(?) 1 0 1 0 1 0 0 or 1 0

IP & WildCard Octet 3
[12.168.8.114 with WildCard mask 94.2.109.119]
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: 8 0 0 0 0 1 0 0 0
WC:(?) 109 0 1 1 0 1 1 0 1
= = = = = = = =
Bit pattern:(?) 0 0 or 1 0 or 1 0 0 or 1 0 or 1 0 0 or 1

IP & WildCard Octet 4
[12.168.8.114 with WildCard mask 94.2.109.119]
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: 114 0 1 1 1 0 0 1 0
WC:(?) 119 0 1 1 1 0 1 1 1
= = = = = = = =
Bit pattern:(?) 0 0 or 1 0 or 1 0 or 1 0 0 or 1 0 or 1 0 or 1

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 *