Tools – Wildcard Calculator

IP: 120.13.117.135 Wildcard Mask:177.192.15.222
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 120.13.117.135
01111000
.
00001101
.
01110101
.
10000111
Wildcard Mask 177.192.15.222
10110001
.
11000000
.
00001111
.
11011110
Bit Pattern ?1??100? . ??001101 . 0111???? . ??0????1
Networks Matched in [brackets]
(examples)
[72 - 73]
[88 - 89]
[104 - 105]
[120 - 121]
[200 - 201]
[216 - 217]
[232 - 233]
[248 - 249]
.
[13]
[77]
[141]
[205]
.
[112 - 127]
.
[1]
[3]
[5]
[7]
[9]
[11]
[13]
[15]
[17]
[19]
[21]
[23]
[25]
[27]
[29]
[31]
[65]
[67]
[69]
[71]
[73]
[75]
[77]
[79]
[81]
[83]
[85]
[87]
[89]
[91]
[93]
[95]
[129]
[131]
[133]
[135]
[137]
[139]
[141]
[143]
[145]
[147]
[149]
[151]
[153]
[155]
[157]
[159]
[193]
[195]
[197]
[199]
[201]
[203]
[205]
[207]
[209]
[211]
[213]
[215]
[217]
[219]
[221]
[223]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 72.13.112.1 177.192.15.222
Result Breakdown:
IP & WildCard Octet 1
[120.13.117.135 with WildCard mask 177.192.15.222]
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: 120 0 1 1 1 1 0 0 0
WC:(?) 177 1 0 1 1 0 0 0 1
= = = = = = = =
Bit pattern:(?) 0 or 1 1 0 or 1 0 or 1 1 0 0 0 or 1

IP & WildCard Octet 2
[120.13.117.135 with WildCard mask 177.192.15.222]
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: 13 0 0 0 0 1 1 0 1
WC:(?) 192 1 1 0 0 0 0 0 0
= = = = = = = =
Bit pattern:(?) 0 or 1 0 or 1 0 0 1 1 0 1

IP & WildCard Octet 3
[120.13.117.135 with WildCard mask 177.192.15.222]
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: 117 0 1 1 1 0 1 0 1
WC:(?) 15 0 0 0 0 1 1 1 1
= = = = = = = =
Bit pattern:(?) 0 1 1 1 0 or 1 0 or 1 0 or 1 0 or 1

IP & WildCard Octet 4
[120.13.117.135 with WildCard mask 177.192.15.222]
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: 135 1 0 0 0 0 1 1 1
WC:(?) 222 1 1 0 1 1 1 1 0
= = = = = = = =
Bit pattern:(?) 0 or 1 0 or 1 0 0 or 1 0 or 1 0 or 1 0 or 1 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 to Askenfeldt Cancel reply

Your email address will not be published. Required fields are marked *