Tools – Wildcard Calculator

IP: 144.38.186.38 Wildcard Mask:144.16.151.253
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 144.38.186.38
10010000
.
00100110
.
10111010
.
00100110
Wildcard Mask 144.16.151.253
10010000
.
00010000
.
10010111
.
11111101
Bit Pattern ?00?0000 . 001?0110 . ?01?1??? . ??????1?
Networks Matched in [brackets]
(examples)
[0]
[16]
[128]
[144]
.
[38]
[54]
.
[40 - 47]
[56 - 63]
[168 - 175]
[184 - 191]
.
[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]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 0.38.40.2 144.16.151.253
Result Breakdown:
IP & WildCard Octet 1
[144.38.186.38 with WildCard mask 144.16.151.253]
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: 144 1 0 0 1 0 0 0 0
WC:(?) 144 1 0 0 1 0 0 0 0
= = = = = = = =
Bit pattern:(?) 0 or 1 0 0 0 or 1 0 0 0 0

IP & WildCard Octet 2
[144.38.186.38 with WildCard mask 144.16.151.253]
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: 38 0 0 1 0 0 1 1 0
WC:(?) 16 0 0 0 1 0 0 0 0
= = = = = = = =
Bit pattern:(?) 0 0 1 0 or 1 0 1 1 0

IP & WildCard Octet 3
[144.38.186.38 with WildCard mask 144.16.151.253]
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: 186 1 0 1 1 1 0 1 0
WC:(?) 151 1 0 0 1 0 1 1 1
= = = = = = = =
Bit pattern:(?) 0 or 1 0 1 0 or 1 1 0 or 1 0 or 1 0 or 1

IP & WildCard Octet 4
[144.38.186.38 with WildCard mask 144.16.151.253]
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: 38 0 0 1 0 0 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

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 *