Tools – Wildcard Calculator

IP: 7.158.222.100 Wildcard Mask:103.236.253.79
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 7.158.222.100
00000111
.
10011110
.
11011110
.
01100100
Wildcard Mask 103.236.253.79
01100111
.
11101100
.
11111101
.
01001111
Bit Pattern 0??00??? . ???1??10 . ??????1? . 0?10????
Networks Matched in [brackets]
(examples)
[0 - 7]
[32 - 39]
[64 - 71]
[96 - 103]
.
[18]
[22]
[26]
[30]
[50]
[54]
[58]
[62]
[82]
[86]
[90]
[94]
[114]
[118]
[122]
[126]
[146]
[150]
[154]
[158]
[178]
[182]
[186]
[190]
[210]
[214]
[218]
[222]
[242]
[246]
[250]
[254]
.
[2 - 3]
[6 - 7]
[10 - 11]
[14 - 15]
[18 - 19]
[22 - 23]
[26 - 27]
[30 - 31]
[34 - 35]
[38 - 39]
[42 - 43]
[46 - 47]
[50 - 51]
[54 - 55]
[58 - 59]
[62 - 63]
[66 - 67]
[70 - 71]
[74 - 75]
[78 - 79]
[82 - 83]
[86 - 87]
[90 - 91]
[94 - 95]
[98 - 99]
[102 - 103]
[106 - 107]
[110 - 111]
[114 - 115]
[118 - 119]
[122 - 123]
[126 - 127]
[130 - 131]
[134 - 135]
[138 - 139]
[142 - 143]
[146 - 147]
[150 - 151]
[154 - 155]
[158 - 159]
[162 - 163]
[166 - 167]
[170 - 171]
[174 - 175]
[178 - 179]
[182 - 183]
[186 - 187]
[190 - 191]
[194 - 195]
[198 - 199]
[202 - 203]
[206 - 207]
[210 - 211]
[214 - 215]
[218 - 219]
[222 - 223]
[226 - 227]
[230 - 231]
[234 - 235]
[238 - 239]
[242 - 243]
[246 - 247]
[250 - 251]
[254 - 255]
.
[32 - 47]
[96 - 111]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 0.18.2.32 103.236.253.79
Result Breakdown:
IP & WildCard Octet 1
[7.158.222.100 with WildCard mask 103.236.253.79]
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: 7 0 0 0 0 0 1 1 1
WC:(?) 103 0 1 1 0 0 1 1 1
= = = = = = = =
Bit pattern:(?) 0 0 or 1 0 or 1 0 0 0 or 1 0 or 1 0 or 1

IP & WildCard Octet 2
[7.158.222.100 with WildCard mask 103.236.253.79]
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: 158 1 0 0 1 1 1 1 0
WC:(?) 236 1 1 1 0 1 1 0 0
= = = = = = = =
Bit pattern:(?) 0 or 1 0 or 1 0 or 1 1 0 or 1 0 or 1 1 0

IP & WildCard Octet 3
[7.158.222.100 with WildCard mask 103.236.253.79]
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: 222 1 1 0 1 1 1 1 0
WC:(?) 253 1 1 1 1 1 1 0 1
= = = = = = = =
Bit pattern:(?) 0 or 1 0 or 1 0 or 1 0 or 1 0 or 1 0 or 1 1 0 or 1

IP & WildCard Octet 4
[7.158.222.100 with WildCard mask 103.236.253.79]
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: 100 0 1 1 0 0 1 0 0
WC:(?) 79 0 1 0 0 1 1 1 1
= = = = = = = =
Bit pattern:(?) 0 0 or 1 1 0 0 or 1 0 or 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 *