Tools – Wildcard Calculator

IP: 74.96.34.155 Wildcard Mask:18.95.163.173
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 74.96.34.155
01001010
.
01100000
.
00100010
.
10011011
Wildcard Mask 18.95.163.173
00010010
.
01011111
.
10100011
.
10101101
Bit Pattern 010?10?0 . 0?1????? . ?0?000?? . ?0?1??1?
Networks Matched in [brackets]
(examples)
[72]
[74]
[88]
[90]
.
[32 - 63]
[96 - 127]
.
[0 - 3]
[32 - 35]
[128 - 131]
[160 - 163]
.
[18 - 19]
[22 - 23]
[26 - 27]
[30 - 31]
[50 - 51]
[54 - 55]
[58 - 59]
[62 - 63]
[146 - 147]
[150 - 151]
[154 - 155]
[158 - 159]
[178 - 179]
[182 - 183]
[186 - 187]
[190 - 191]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 72.32.0.18 18.95.163.173
Result Breakdown:
IP & WildCard Octet 1
[74.96.34.155 with WildCard mask 18.95.163.173]
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: 74 0 1 0 0 1 0 1 0
WC:(?) 18 0 0 0 1 0 0 1 0
= = = = = = = =
Bit pattern:(?) 0 1 0 0 or 1 1 0 0 or 1 0

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

IP & WildCard Octet 3
[74.96.34.155 with WildCard mask 18.95.163.173]
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: 34 0 0 1 0 0 0 1 0
WC:(?) 163 1 0 1 0 0 0 1 1
= = = = = = = =
Bit pattern:(?) 0 or 1 0 0 or 1 0 0 0 0 or 1 0 or 1

IP & WildCard Octet 4
[74.96.34.155 with WildCard mask 18.95.163.173]
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: 155 1 0 0 1 1 0 1 1
WC:(?) 173 1 0 1 0 1 1 0 1
= = = = = = = =
Bit pattern:(?) 0 or 1 0 0 or 1 1 0 or 1 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 *