Tools – Wildcard Calculator

IP: 32.152.47.102 Wildcard Mask:37.109.127.181
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 32.152.47.102
00100000
.
10011000
.
00101111
.
01100110
Wildcard Mask 37.109.127.181
00100101
.
01101101
.
01111111
.
10110101
Bit Pattern 00?00?0? . 1??1??0? . 0??????? . ?1??0?1?
Networks Matched in [brackets]
(examples)
[0 - 1]
[4 - 5]
[32 - 33]
[36 - 37]
.
[144 - 145]
[148 - 149]
[152 - 153]
[156 - 157]
[176 - 177]
[180 - 181]
[184 - 185]
[188 - 189]
[208 - 209]
[212 - 213]
[216 - 217]
[220 - 221]
[240 - 241]
[244 - 245]
[248 - 249]
[252 - 253]
.
[0 - 127]
.
[66 - 67]
[70 - 71]
[82 - 83]
[86 - 87]
[98 - 99]
[102 - 103]
[114 - 115]
[118 - 119]
[194 - 195]
[198 - 199]
[210 - 211]
[214 - 215]
[226 - 227]
[230 - 231]
[242 - 243]
[246 - 247]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 0.144.0.66 37.109.127.181
Result Breakdown:
IP & WildCard Octet 1
[32.152.47.102 with WildCard mask 37.109.127.181]
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: 32 0 0 1 0 0 0 0 0
WC:(?) 37 0 0 1 0 0 1 0 1
= = = = = = = =
Bit pattern:(?) 0 0 0 or 1 0 0 0 or 1 0 0 or 1

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

IP & WildCard Octet 3
[32.152.47.102 with WildCard mask 37.109.127.181]
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: 47 0 0 1 0 1 1 1 1
WC:(?) 127 0 1 1 1 1 1 1 1
= = = = = = = =
Bit pattern:(?) 0 0 or 1 0 or 1 0 or 1 0 or 1 0 or 1 0 or 1 0 or 1

IP & WildCard Octet 4
[32.152.47.102 with WildCard mask 37.109.127.181]
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: 102 0 1 1 0 0 1 1 0
WC:(?) 181 1 0 1 1 0 1 0 1
= = = = = = = =
Bit pattern:(?) 0 or 1 1 0 or 1 0 or 1 0 0 or 1 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 *