Tools – Wildcard Calculator

IP: 20.89.28.212 Wildcard Mask:177.61.227.76
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 20.89.28.212
00010100
.
01011001
.
00011100
.
11010100
Wildcard Mask 177.61.227.76
10110001
.
00111101
.
11100011
.
01001100
Bit Pattern ?0??010? . 01????0? . ???111?? . 1?01??00
Networks Matched in [brackets]
(examples)
[4 - 5]
[20 - 21]
[36 - 37]
[52 - 53]
[132 - 133]
[148 - 149]
[164 - 165]
[180 - 181]
.
[64 - 65]
[68 - 69]
[72 - 73]
[76 - 77]
[80 - 81]
[84 - 85]
[88 - 89]
[92 - 93]
[96 - 97]
[100 - 101]
[104 - 105]
[108 - 109]
[112 - 113]
[116 - 117]
[120 - 121]
[124 - 125]
.
[28 - 31]
[60 - 63]
[92 - 95]
[124 - 127]
[156 - 159]
[188 - 191]
[220 - 223]
[252 - 255]
.
[144]
[148]
[152]
[156]
[208]
[212]
[216]
[220]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 4.64.28.144 177.61.227.76
Result Breakdown:
IP & WildCard Octet 1
[20.89.28.212 with WildCard mask 177.61.227.76]
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: 20 0 0 0 1 0 1 0 0
WC:(?) 177 1 0 1 1 0 0 0 1
= = = = = = = =
Bit pattern:(?) 0 or 1 0 0 or 1 0 or 1 0 1 0 0 or 1

IP & WildCard Octet 2
[20.89.28.212 with WildCard mask 177.61.227.76]
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:(?) 61 0 0 1 1 1 1 0 1
= = = = = = = =
Bit pattern:(?) 0 1 0 or 1 0 or 1 0 or 1 0 or 1 0 0 or 1

IP & WildCard Octet 3
[20.89.28.212 with WildCard mask 177.61.227.76]
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: 28 0 0 0 1 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 1 1 1 0 or 1 0 or 1

IP & WildCard Octet 4
[20.89.28.212 with WildCard mask 177.61.227.76]
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: 212 1 1 0 1 0 1 0 0
WC:(?) 76 0 1 0 0 1 1 0 0
= = = = = = = =
Bit pattern:(?) 1 0 or 1 0 1 0 or 1 0 or 1 0 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 to Andrew Cancel reply

Your email address will not be published. Required fields are marked *