Tools – Wildcard Calculator

IP: 169.5.161.93 Wildcard Mask:154.105.98.149
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 169.5.161.93
10101001
.
00000101
.
10100001
.
01011101
Wildcard Mask 154.105.98.149
10011010
.
01101001
.
01100010
.
10010101
Bit Pattern ?01??0?1 . 0??0?10? . 1??000?1 . ?10?1?0?
Networks Matched in [brackets]
(examples)
[33]
[35]
[41]
[43]
[49]
[51]
[57]
[59]
[161]
[163]
[169]
[171]
[177]
[179]
[185]
[187]
.
[4 - 5]
[12 - 13]
[36 - 37]
[44 - 45]
[68 - 69]
[76 - 77]
[100 - 101]
[108 - 109]
.
[129]
[131]
[161]
[163]
[193]
[195]
[225]
[227]
.
[72 - 73]
[76 - 77]
[88 - 89]
[92 - 93]
[200 - 201]
[204 - 205]
[216 - 217]
[220 - 221]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 33.4.129.72 154.105.98.149
Result Breakdown:
IP & WildCard Octet 1
[169.5.161.93 with WildCard mask 154.105.98.149]
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: 169 1 0 1 0 1 0 0 1
WC:(?) 154 1 0 0 1 1 0 1 0
= = = = = = = =
Bit pattern:(?) 0 or 1 0 1 0 or 1 0 or 1 0 0 or 1 1

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

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

IP & WildCard Octet 4
[169.5.161.93 with WildCard mask 154.105.98.149]
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: 93 0 1 0 1 1 1 0 1
WC:(?) 149 1 0 0 1 0 1 0 1
= = = = = = = =
Bit pattern:(?) 0 or 1 1 0 0 or 1 1 0 or 1 0 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 *