Tools – Wildcard Calculator

IP: 115.183.185.133 Wildcard Mask:167.27.249.236
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 115.183.185.133
01110011
.
10110111
.
10111001
.
10000101
Wildcard Mask 167.27.249.236
10100111
.
00011011
.
11111001
.
11101100
Bit Pattern ?1?10??? . 101??1?? . ?????00? . ???0??01
Networks Matched in [brackets]
(examples)
[80 - 87]
[112 - 119]
[208 - 215]
[240 - 247]
.
[164 - 167]
[172 - 175]
[180 - 183]
[188 - 191]
.
[0 - 1]
[8 - 9]
[16 - 17]
[24 - 25]
[32 - 33]
[40 - 41]
[48 - 49]
[56 - 57]
[64 - 65]
[72 - 73]
[80 - 81]
[88 - 89]
[96 - 97]
[104 - 105]
[112 - 113]
[120 - 121]
[128 - 129]
[136 - 137]
[144 - 145]
[152 - 153]
[160 - 161]
[168 - 169]
[176 - 177]
[184 - 185]
[192 - 193]
[200 - 201]
[208 - 209]
[216 - 217]
[224 - 225]
[232 - 233]
[240 - 241]
[248 - 249]
.
[1]
[5]
[9]
[13]
[33]
[37]
[41]
[45]
[65]
[69]
[73]
[77]
[97]
[101]
[105]
[109]
[129]
[133]
[137]
[141]
[161]
[165]
[169]
[173]
[193]
[197]
[201]
[205]
[225]
[229]
[233]
[237]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 80.164.0.1 167.27.249.236
Result Breakdown:
IP & WildCard Octet 1
[115.183.185.133 with WildCard mask 167.27.249.236]
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: 115 0 1 1 1 0 0 1 1
WC:(?) 167 1 0 1 0 0 1 1 1
= = = = = = = =
Bit pattern:(?) 0 or 1 1 0 or 1 1 0 0 or 1 0 or 1 0 or 1

IP & WildCard Octet 2
[115.183.185.133 with WildCard mask 167.27.249.236]
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: 183 1 0 1 1 0 1 1 1
WC:(?) 27 0 0 0 1 1 0 1 1
= = = = = = = =
Bit pattern:(?) 1 0 1 0 or 1 0 or 1 1 0 or 1 0 or 1

IP & WildCard Octet 3
[115.183.185.133 with WildCard mask 167.27.249.236]
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: 185 1 0 1 1 1 0 0 1
WC:(?) 249 1 1 1 1 1 0 0 1
= = = = = = = =
Bit pattern:(?) 0 or 1 0 or 1 0 or 1 0 or 1 0 or 1 0 0 0 or 1

IP & WildCard Octet 4
[115.183.185.133 with WildCard mask 167.27.249.236]
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: 133 1 0 0 0 0 1 0 1
WC:(?) 236 1 1 1 0 1 1 0 0
= = = = = = = =
Bit pattern:(?) 0 or 1 0 or 1 0 or 1 0 0 or 1 0 or 1 0 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 *