Tools – Wildcard Calculator

IP: 157.38.166.109 Wildcard Mask:30.68.57.230
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 157.38.166.109
10011101
.
00100110
.
10100110
.
01101101
Wildcard Mask 30.68.57.230
00011110
.
01000100
.
00111001
.
11100110
Bit Pattern 100????1 . 0?100?10 . 10???11? . ???01??1
Networks Matched in [brackets]
(examples)
[129]
[131]
[133]
[135]
[137]
[139]
[141]
[143]
[145]
[147]
[149]
[151]
[153]
[155]
[157]
[159]
.
[34]
[38]
[98]
[102]
.
[134 - 135]
[142 - 143]
[150 - 151]
[158 - 159]
[166 - 167]
[174 - 175]
[182 - 183]
[190 - 191]
.
[9]
[11]
[13]
[15]
[41]
[43]
[45]
[47]
[73]
[75]
[77]
[79]
[105]
[107]
[109]
[111]
[137]
[139]
[141]
[143]
[169]
[171]
[173]
[175]
[201]
[203]
[205]
[207]
[233]
[235]
[237]
[239]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 129.34.134.9 30.68.57.230
Result Breakdown:
IP & WildCard Octet 1
[157.38.166.109 with WildCard mask 30.68.57.230]
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: 157 1 0 0 1 1 1 0 1
WC:(?) 30 0 0 0 1 1 1 1 0
= = = = = = = =
Bit pattern:(?) 1 0 0 0 or 1 0 or 1 0 or 1 0 or 1 1

IP & WildCard Octet 2
[157.38.166.109 with WildCard mask 30.68.57.230]
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:(?) 68 0 1 0 0 0 1 0 0
= = = = = = = =
Bit pattern:(?) 0 0 or 1 1 0 0 0 or 1 1 0

IP & WildCard Octet 3
[157.38.166.109 with WildCard mask 30.68.57.230]
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: 166 1 0 1 0 0 1 1 0
WC:(?) 57 0 0 1 1 1 0 0 1
= = = = = = = =
Bit pattern:(?) 1 0 0 or 1 0 or 1 0 or 1 1 1 0 or 1

IP & WildCard Octet 4
[157.38.166.109 with WildCard mask 30.68.57.230]
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: 109 0 1 1 0 1 1 0 1
WC:(?) 230 1 1 1 0 0 1 1 0
= = = = = = = =
Bit pattern:(?) 0 or 1 0 or 1 0 or 1 0 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

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