Tools – Wildcard Calculator

IP: 172.51.166.167 Wildcard Mask:145.176.65.208
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 172.51.166.167
10101100
.
00110011
.
10100110
.
10100111
Wildcard Mask 145.176.65.208
10010001
.
10110000
.
01000001
.
11010000
Bit Pattern ?01?110? . ?0??0011 . 1?10011? . ??1?0111
Networks Matched in [brackets]
(examples)
[44 - 45]
[60 - 61]
[172 - 173]
[188 - 189]
.
[3]
[19]
[35]
[51]
[131]
[147]
[163]
[179]
.
[166 - 167]
[230 - 231]
.
[39]
[55]
[103]
[119]
[167]
[183]
[231]
[247]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 44.3.166.39 145.176.65.208
Result Breakdown:
IP & WildCard Octet 1
[172.51.166.167 with WildCard mask 145.176.65.208]
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: 172 1 0 1 0 1 1 0 0
WC:(?) 145 1 0 0 1 0 0 0 1
= = = = = = = =
Bit pattern:(?) 0 or 1 0 1 0 or 1 1 1 0 0 or 1

IP & WildCard Octet 2
[172.51.166.167 with WildCard mask 145.176.65.208]
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: 51 0 0 1 1 0 0 1 1
WC:(?) 176 1 0 1 1 0 0 0 0
= = = = = = = =
Bit pattern:(?) 0 or 1 0 0 or 1 0 or 1 0 0 1 1

IP & WildCard Octet 3
[172.51.166.167 with WildCard mask 145.176.65.208]
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:(?) 65 0 1 0 0 0 0 0 1
= = = = = = = =
Bit pattern:(?) 1 0 or 1 1 0 0 1 1 0 or 1

IP & WildCard Octet 4
[172.51.166.167 with WildCard mask 145.176.65.208]
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: 167 1 0 1 0 0 1 1 1
WC:(?) 208 1 1 0 1 0 0 0 0
= = = = = = = =
Bit pattern:(?) 0 or 1 0 or 1 1 0 or 1 0 1 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 *