Tools – Wildcard Calculator

IP: 17.105.130.54 Wildcard Mask:21.142.22.203
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 17.105.130.54
00010001
.
01101001
.
10000010
.
00110110
Wildcard Mask 21.142.22.203
00010101
.
10001110
.
00010110
.
11001011
Bit Pattern 000?0?0? . ?110???1 . 100?0??0 . ??11?1??
Networks Matched in [brackets]
(examples)
[0 - 1]
[4 - 5]
[16 - 17]
[20 - 21]
.
[97]
[99]
[101]
[103]
[105]
[107]
[109]
[111]
[225]
[227]
[229]
[231]
[233]
[235]
[237]
[239]
.
[128]
[130]
[132]
[134]
[144]
[146]
[148]
[150]
.
[52 - 55]
[60 - 63]
[116 - 119]
[124 - 127]
[180 - 183]
[188 - 191]
[244 - 247]
[252 - 255]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 0.97.128.52 21.142.22.203
Result Breakdown:
IP & WildCard Octet 1
[17.105.130.54 with WildCard mask 21.142.22.203]
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: 17 0 0 0 1 0 0 0 1
WC:(?) 21 0 0 0 1 0 1 0 1
= = = = = = = =
Bit pattern:(?) 0 0 0 0 or 1 0 0 or 1 0 0 or 1

IP & WildCard Octet 2
[17.105.130.54 with WildCard mask 21.142.22.203]
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: 105 0 1 1 0 1 0 0 1
WC:(?) 142 1 0 0 0 1 1 1 0
= = = = = = = =
Bit pattern:(?) 0 or 1 1 1 0 0 or 1 0 or 1 0 or 1 1

IP & WildCard Octet 3
[17.105.130.54 with WildCard mask 21.142.22.203]
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: 130 1 0 0 0 0 0 1 0
WC:(?) 22 0 0 0 1 0 1 1 0
= = = = = = = =
Bit pattern:(?) 1 0 0 0 or 1 0 0 or 1 0 or 1 0

IP & WildCard Octet 4
[17.105.130.54 with WildCard mask 21.142.22.203]
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: 54 0 0 1 1 0 1 1 0
WC:(?) 203 1 1 0 0 1 0 1 1
= = = = = = = =
Bit pattern:(?) 0 or 1 0 or 1 1 1 0 or 1 1 0 or 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 *