Tools – Wildcard Calculator

IP: 169.161.110.211 Wildcard Mask:40.245.182.77
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 169.161.110.211
10101001
.
10100001
.
01101110
.
11010011
Wildcard Mask 40.245.182.77
00101000
.
11110101
.
10110110
.
01001101
Bit Pattern 10?0?001 . ????0?0? . ?1??1??0 . 1?01??1?
Networks Matched in [brackets]
(examples)
[129]
[137]
[161]
[169]
.
[0 - 1]
[4 - 5]
[16 - 17]
[20 - 21]
[32 - 33]
[36 - 37]
[48 - 49]
[52 - 53]
[64 - 65]
[68 - 69]
[80 - 81]
[84 - 85]
[96 - 97]
[100 - 101]
[112 - 113]
[116 - 117]
[128 - 129]
[132 - 133]
[144 - 145]
[148 - 149]
[160 - 161]
[164 - 165]
[176 - 177]
[180 - 181]
[192 - 193]
[196 - 197]
[208 - 209]
[212 - 213]
[224 - 225]
[228 - 229]
[240 - 241]
[244 - 245]
.
[72]
[74]
[76]
[78]
[88]
[90]
[92]
[94]
[104]
[106]
[108]
[110]
[120]
[122]
[124]
[126]
[200]
[202]
[204]
[206]
[216]
[218]
[220]
[222]
[232]
[234]
[236]
[238]
[248]
[250]
[252]
[254]
.
[146 - 147]
[150 - 151]
[154 - 155]
[158 - 159]
[210 - 211]
[214 - 215]
[218 - 219]
[222 - 223]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 129.0.72.146 40.245.182.77
Result Breakdown:
IP & WildCard Octet 1
[169.161.110.211 with WildCard mask 40.245.182.77]
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: 169 1 0 1 0 1 0 0 1
WC:(?) 40 0 0 1 0 1 0 0 0
= = = = = = = =
Bit pattern:(?) 1 0 0 or 1 0 0 or 1 0 0 1

IP & WildCard Octet 2
[169.161.110.211 with WildCard mask 40.245.182.77]
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: 161 1 0 1 0 0 0 0 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 0 0 or 1 0 0 or 1

IP & WildCard Octet 3
[169.161.110.211 with WildCard mask 40.245.182.77]
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: 110 0 1 1 0 1 1 1 0
WC:(?) 182 1 0 1 1 0 1 1 0
= = = = = = = =
Bit pattern:(?) 0 or 1 1 0 or 1 0 or 1 1 0 or 1 0 or 1 0

IP & WildCard Octet 4
[169.161.110.211 with WildCard mask 40.245.182.77]
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: 211 1 1 0 1 0 0 1 1
WC:(?) 77 0 1 0 0 1 1 0 1
= = = = = = = =
Bit pattern:(?) 1 0 or 1 0 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 *