Tools – Wildcard Calculator

IP: 94.28.236.123 Wildcard Mask:107.153.158.173
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 94.28.236.123
01011110
.
00011100
.
11101100
.
01111011
Wildcard Mask 107.153.158.173
01101011
.
10011001
.
10011110
.
10101101
Bit Pattern 0??1?1?? . ?00??10? . ?11????0 . ?1?1??1?
Networks Matched in [brackets]
(examples)
[20 - 23]
[28 - 31]
[52 - 55]
[60 - 63]
[84 - 87]
[92 - 95]
[116 - 119]
[124 - 127]
.
[4 - 5]
[12 - 13]
[20 - 21]
[28 - 29]
[132 - 133]
[140 - 141]
[148 - 149]
[156 - 157]
.
[96]
[98]
[100]
[102]
[104]
[106]
[108]
[110]
[112]
[114]
[116]
[118]
[120]
[122]
[124]
[126]
[224]
[226]
[228]
[230]
[232]
[234]
[236]
[238]
[240]
[242]
[244]
[246]
[248]
[250]
[252]
[254]
.
[82 - 83]
[86 - 87]
[90 - 91]
[94 - 95]
[114 - 115]
[118 - 119]
[122 - 123]
[126 - 127]
[210 - 211]
[214 - 215]
[218 - 219]
[222 - 223]
[242 - 243]
[246 - 247]
[250 - 251]
[254 - 255]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 20.4.96.82 107.153.158.173
Result Breakdown:
IP & WildCard Octet 1
[94.28.236.123 with WildCard mask 107.153.158.173]
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: 94 0 1 0 1 1 1 1 0
WC:(?) 107 0 1 1 0 1 0 1 1
= = = = = = = =
Bit pattern:(?) 0 0 or 1 0 or 1 1 0 or 1 1 0 or 1 0 or 1

IP & WildCard Octet 2
[94.28.236.123 with WildCard mask 107.153.158.173]
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: 28 0 0 0 1 1 1 0 0
WC:(?) 153 1 0 0 1 1 0 0 1
= = = = = = = =
Bit pattern:(?) 0 or 1 0 0 0 or 1 0 or 1 1 0 0 or 1

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

IP & WildCard Octet 4
[94.28.236.123 with WildCard mask 107.153.158.173]
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: 123 0 1 1 1 1 0 1 1
WC:(?) 173 1 0 1 0 1 1 0 1
= = = = = = = =
Bit pattern:(?) 0 or 1 1 0 or 1 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 *