Tools – Wildcard Calculator

IP: 51.186.227.232 Wildcard Mask:55.185.161.86
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 51.186.227.232
00110011
.
10111010
.
11100011
.
11101000
Wildcard Mask 55.185.161.86
00110111
.
10111001
.
10100001
.
01010110
Bit Pattern 00??0??? . ?0???01? . ?1?0001? . 1?1?1??0
Networks Matched in [brackets]
(examples)
[0 - 7]
[16 - 23]
[32 - 39]
[48 - 55]
.
[2 - 3]
[10 - 11]
[18 - 19]
[26 - 27]
[34 - 35]
[42 - 43]
[50 - 51]
[58 - 59]
[130 - 131]
[138 - 139]
[146 - 147]
[154 - 155]
[162 - 163]
[170 - 171]
[178 - 179]
[186 - 187]
.
[66 - 67]
[98 - 99]
[194 - 195]
[226 - 227]
.
[168]
[170]
[172]
[174]
[184]
[186]
[188]
[190]
[232]
[234]
[236]
[238]
[248]
[250]
[252]
[254]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 0.2.66.168 55.185.161.86
Result Breakdown:
IP & WildCard Octet 1
[51.186.227.232 with WildCard mask 55.185.161.86]
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: 51 0 0 1 1 0 0 1 1
WC:(?) 55 0 0 1 1 0 1 1 1
= = = = = = = =
Bit pattern:(?) 0 0 0 or 1 0 or 1 0 0 or 1 0 or 1 0 or 1

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

IP & WildCard Octet 3
[51.186.227.232 with WildCard mask 55.185.161.86]
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: 227 1 1 1 0 0 0 1 1
WC:(?) 161 1 0 1 0 0 0 0 1
= = = = = = = =
Bit pattern:(?) 0 or 1 1 0 or 1 0 0 0 1 0 or 1

IP & WildCard Octet 4
[51.186.227.232 with WildCard mask 55.185.161.86]
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: 232 1 1 1 0 1 0 0 0
WC:(?) 86 0 1 0 1 0 1 1 0
= = = = = = = =
Bit pattern:(?) 1 0 or 1 1 0 or 1 1 0 or 1 0 or 1 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 *