Tools – Wildcard Calculator

IP: 165.89.47.204 Wildcard Mask:142.124.153.227
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 165.89.47.204
10100101
.
01011001
.
00101111
.
11001100
Wildcard Mask 142.124.153.227
10001110
.
01111100
.
10011001
.
11100011
Bit Pattern ?010???1 . 0?????01 . ?01??11? . ???011??
Networks Matched in [brackets]
(examples)
[33]
[35]
[37]
[39]
[41]
[43]
[45]
[47]
[161]
[163]
[165]
[167]
[169]
[171]
[173]
[175]
.
[1]
[5]
[9]
[13]
[17]
[21]
[25]
[29]
[33]
[37]
[41]
[45]
[49]
[53]
[57]
[61]
[65]
[69]
[73]
[77]
[81]
[85]
[89]
[93]
[97]
[101]
[105]
[109]
[113]
[117]
[121]
[125]
.
[38 - 39]
[46 - 47]
[54 - 55]
[62 - 63]
[166 - 167]
[174 - 175]
[182 - 183]
[190 - 191]
.
[12 - 15]
[44 - 47]
[76 - 79]
[108 - 111]
[140 - 143]
[172 - 175]
[204 - 207]
[236 - 239]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 33.1.38.12 142.124.153.227
Result Breakdown:
IP & WildCard Octet 1
[165.89.47.204 with WildCard mask 142.124.153.227]
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: 165 1 0 1 0 0 1 0 1
WC:(?) 142 1 0 0 0 1 1 1 0
= = = = = = = =
Bit pattern:(?) 0 or 1 0 1 0 0 or 1 0 or 1 0 or 1 1

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

IP & WildCard Octet 3
[165.89.47.204 with WildCard mask 142.124.153.227]
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:(?) 153 1 0 0 1 1 0 0 1
= = = = = = = =
Bit pattern:(?) 0 or 1 0 1 0 or 1 0 or 1 1 1 0 or 1

IP & WildCard Octet 4
[165.89.47.204 with WildCard mask 142.124.153.227]
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: 204 1 1 0 0 1 1 0 0
WC:(?) 227 1 1 1 0 0 0 1 1
= = = = = = = =
Bit pattern:(?) 0 or 1 0 or 1 0 or 1 0 1 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 *