Tools – Wildcard Calculator

IP: 7.152.99.162 Wildcard Mask:82.169.238.16
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 7.152.99.162
00000111
.
10011000
.
01100011
.
10100010
Wildcard Mask 82.169.238.16
01010010
.
10101001
.
11101110
.
00010000
Bit Pattern 0?0?01?1 . ?0?1?00? . ???0???1 . 101?0010
Networks Matched in [brackets]
(examples)
[5]
[7]
[21]
[23]
[69]
[71]
[85]
[87]
.
[16 - 17]
[24 - 25]
[48 - 49]
[56 - 57]
[144 - 145]
[152 - 153]
[176 - 177]
[184 - 185]
.
[1]
[3]
[5]
[7]
[9]
[11]
[13]
[15]
[33]
[35]
[37]
[39]
[41]
[43]
[45]
[47]
[65]
[67]
[69]
[71]
[73]
[75]
[77]
[79]
[97]
[99]
[101]
[103]
[105]
[107]
[109]
[111]
[129]
[131]
[133]
[135]
[137]
[139]
[141]
[143]
[161]
[163]
[165]
[167]
[169]
[171]
[173]
[175]
[193]
[195]
[197]
[199]
[201]
[203]
[205]
[207]
[225]
[227]
[229]
[231]
[233]
[235]
[237]
[239]
.
[162]
[178]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 5.16.1.162 82.169.238.16
Result Breakdown:
IP & WildCard Octet 1
[7.152.99.162 with WildCard mask 82.169.238.16]
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:(?) 82 0 1 0 1 0 0 1 0
= = = = = = = =
Bit pattern:(?) 0 0 or 1 0 0 or 1 0 1 0 or 1 1

IP & WildCard Octet 2
[7.152.99.162 with WildCard mask 82.169.238.16]
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: 152 1 0 0 1 1 0 0 0
WC:(?) 169 1 0 1 0 1 0 0 1
= = = = = = = =
Bit pattern:(?) 0 or 1 0 0 or 1 1 0 or 1 0 0 0 or 1

IP & WildCard Octet 3
[7.152.99.162 with WildCard mask 82.169.238.16]
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: 99 0 1 1 0 0 0 1 1
WC:(?) 238 1 1 1 0 1 1 1 0
= = = = = = = =
Bit pattern:(?) 0 or 1 0 or 1 0 or 1 0 0 or 1 0 or 1 0 or 1 1

IP & WildCard Octet 4
[7.152.99.162 with WildCard mask 82.169.238.16]
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: 162 1 0 1 0 0 0 1 0
WC:(?) 16 0 0 0 1 0 0 0 0
= = = = = = = =
Bit pattern:(?) 1 0 1 0 or 1 0 0 1 0

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 *