Tools – Wildcard Calculator

IP: 151.56.103.101 Wildcard Mask:144.147.97.129
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 151.56.103.101
10010111
.
00111000
.
01100111
.
01100101
Wildcard Mask 144.147.97.129
10010000
.
10010011
.
01100001
.
10000001
Bit Pattern ?00?0111 . ?01?10?? . 0??0011? . ?110010?
Networks Matched in [brackets]
(examples)
[7]
[23]
[135]
[151]
.
[40 - 43]
[56 - 59]
[168 - 171]
[184 - 187]
.
[6 - 7]
[38 - 39]
[70 - 71]
[102 - 103]
.
[100 - 101]
[228 - 229]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 7.40.6.100 144.147.97.129
Result Breakdown:
IP & WildCard Octet 1
[151.56.103.101 with WildCard mask 144.147.97.129]
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: 151 1 0 0 1 0 1 1 1
WC:(?) 144 1 0 0 1 0 0 0 0
= = = = = = = =
Bit pattern:(?) 0 or 1 0 0 0 or 1 0 1 1 1

IP & WildCard Octet 2
[151.56.103.101 with WildCard mask 144.147.97.129]
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: 56 0 0 1 1 1 0 0 0
WC:(?) 147 1 0 0 1 0 0 1 1
= = = = = = = =
Bit pattern:(?) 0 or 1 0 1 0 or 1 1 0 0 or 1 0 or 1

IP & WildCard Octet 3
[151.56.103.101 with WildCard mask 144.147.97.129]
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: 103 0 1 1 0 0 1 1 1
WC:(?) 97 0 1 1 0 0 0 0 1
= = = = = = = =
Bit pattern:(?) 0 0 or 1 0 or 1 0 0 1 1 0 or 1

IP & WildCard Octet 4
[151.56.103.101 with WildCard mask 144.147.97.129]
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: 101 0 1 1 0 0 1 0 1
WC:(?) 129 1 0 0 0 0 0 0 1
= = = = = = = =
Bit pattern:(?) 0 or 1 1 1 0 0 1 0 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 *