Tools – Wildcard Calculator

IP: 122.229.139.175 Wildcard Mask:187.46.87.245
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 122.229.139.175
01111010
.
11100101
.
10001011
.
10101111
Wildcard Mask 187.46.87.245
10111011
.
00101110
.
01010111
.
11110101
Bit Pattern ?1???0?? . 11?0???1 . 1?0?1??? . ????1?1?
Networks Matched in [brackets]
(examples)
[64 - 67]
[72 - 75]
[80 - 83]
[88 - 91]
[96 - 99]
[104 - 107]
[112 - 115]
[120 - 123]
[192 - 195]
[200 - 203]
[208 - 211]
[216 - 219]
[224 - 227]
[232 - 235]
[240 - 243]
[248 - 251]
.
[193]
[195]
[197]
[199]
[201]
[203]
[205]
[207]
[225]
[227]
[229]
[231]
[233]
[235]
[237]
[239]
.
[136 - 143]
[152 - 159]
[200 - 207]
[216 - 223]
.
[10 - 11]
[14 - 15]
[26 - 27]
[30 - 31]
[42 - 43]
[46 - 47]
[58 - 59]
[62 - 63]
[74 - 75]
[78 - 79]
[90 - 91]
[94 - 95]
[106 - 107]
[110 - 111]
[122 - 123]
[126 - 127]
[138 - 139]
[142 - 143]
[154 - 155]
[158 - 159]
[170 - 171]
[174 - 175]
[186 - 187]
[190 - 191]
[202 - 203]
[206 - 207]
[218 - 219]
[222 - 223]
[234 - 235]
[238 - 239]
[250 - 251]
[254 - 255]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 64.193.136.10 187.46.87.245
Result Breakdown:
IP & WildCard Octet 1
[122.229.139.175 with WildCard mask 187.46.87.245]
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: 122 0 1 1 1 1 0 1 0
WC:(?) 187 1 0 1 1 1 0 1 1
= = = = = = = =
Bit pattern:(?) 0 or 1 1 0 or 1 0 or 1 0 or 1 0 0 or 1 0 or 1

IP & WildCard Octet 2
[122.229.139.175 with WildCard mask 187.46.87.245]
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: 229 1 1 1 0 0 1 0 1
WC:(?) 46 0 0 1 0 1 1 1 0
= = = = = = = =
Bit pattern:(?) 1 1 0 or 1 0 0 or 1 0 or 1 0 or 1 1

IP & WildCard Octet 3
[122.229.139.175 with WildCard mask 187.46.87.245]
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: 139 1 0 0 0 1 0 1 1
WC:(?) 87 0 1 0 1 0 1 1 1
= = = = = = = =
Bit pattern:(?) 1 0 or 1 0 0 or 1 1 0 or 1 0 or 1 0 or 1

IP & WildCard Octet 4
[122.229.139.175 with WildCard mask 187.46.87.245]
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: 175 1 0 1 0 1 1 1 1
WC:(?) 245 1 1 1 1 0 1 0 1
= = = = = = = =
Bit pattern:(?) 0 or 1 0 or 1 0 or 1 0 or 1 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 *