Tools – Wildcard Calculator

IP: 57.221.188.109 Wildcard Mask:61.118.41.14
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 57.221.188.109
00111001
.
11011101
.
10111100
.
01101101
Wildcard Mask 61.118.41.14
00111101
.
01110110
.
00101001
.
00001110
Bit Pattern 00????0? . 1???1??1 . 10?1?10? . 0110???1
Networks Matched in [brackets]
(examples)
[0 - 1]
[4 - 5]
[8 - 9]
[12 - 13]
[16 - 17]
[20 - 21]
[24 - 25]
[28 - 29]
[32 - 33]
[36 - 37]
[40 - 41]
[44 - 45]
[48 - 49]
[52 - 53]
[56 - 57]
[60 - 61]
.
[137]
[139]
[141]
[143]
[153]
[155]
[157]
[159]
[169]
[171]
[173]
[175]
[185]
[187]
[189]
[191]
[201]
[203]
[205]
[207]
[217]
[219]
[221]
[223]
[233]
[235]
[237]
[239]
[249]
[251]
[253]
[255]
.
[148 - 149]
[156 - 157]
[180 - 181]
[188 - 189]
.
[97]
[99]
[101]
[103]
[105]
[107]
[109]
[111]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 0.137.148.97 61.118.41.14
Result Breakdown:
IP & WildCard Octet 1
[57.221.188.109 with WildCard mask 61.118.41.14]
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: 57 0 0 1 1 1 0 0 1
WC:(?) 61 0 0 1 1 1 1 0 1
= = = = = = = =
Bit pattern:(?) 0 0 0 or 1 0 or 1 0 or 1 0 or 1 0 0 or 1

IP & WildCard Octet 2
[57.221.188.109 with WildCard mask 61.118.41.14]
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: 221 1 1 0 1 1 1 0 1
WC:(?) 118 0 1 1 1 0 1 1 0
= = = = = = = =
Bit pattern:(?) 1 0 or 1 0 or 1 0 or 1 1 0 or 1 0 or 1 1

IP & WildCard Octet 3
[57.221.188.109 with WildCard mask 61.118.41.14]
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: 188 1 0 1 1 1 1 0 0
WC:(?) 41 0 0 1 0 1 0 0 1
= = = = = = = =
Bit pattern:(?) 1 0 0 or 1 1 0 or 1 1 0 0 or 1

IP & WildCard Octet 4
[57.221.188.109 with WildCard mask 61.118.41.14]
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:(?) 14 0 0 0 0 1 1 1 0
= = = = = = = =
Bit pattern:(?) 0 1 1 0 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

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