Tools – Wildcard Calculator

IP: 101.151.254.188 Wildcard Mask:74.36.145.231
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 101.151.254.188
01100101
.
10010111
.
11111110
.
10111100
Wildcard Mask 74.36.145.231
01001010
.
00100100
.
10010001
.
11100111
Bit Pattern 0?10?1?1 . 10?10?11 . ?11?111? . ???11???
Networks Matched in [brackets]
(examples)
[37]
[39]
[45]
[47]
[101]
[103]
[109]
[111]
.
[147]
[151]
[179]
[183]
.
[110 - 111]
[126 - 127]
[238 - 239]
[254 - 255]
.
[24 - 31]
[56 - 63]
[88 - 95]
[120 - 127]
[152 - 159]
[184 - 191]
[216 - 223]
[248 - 255]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 37.147.110.24 74.36.145.231
Result Breakdown:
IP & WildCard Octet 1
[101.151.254.188 with WildCard mask 74.36.145.231]
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:(?) 74 0 1 0 0 1 0 1 0
= = = = = = = =
Bit pattern:(?) 0 0 or 1 1 0 0 or 1 1 0 or 1 1

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

IP & WildCard Octet 3
[101.151.254.188 with WildCard mask 74.36.145.231]
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: 254 1 1 1 1 1 1 1 0
WC:(?) 145 1 0 0 1 0 0 0 1
= = = = = = = =
Bit pattern:(?) 0 or 1 1 1 0 or 1 1 1 1 0 or 1

IP & WildCard Octet 4
[101.151.254.188 with WildCard mask 74.36.145.231]
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:(?) 231 1 1 1 0 0 1 1 1
= = = = = = = =
Bit pattern:(?) 0 or 1 0 or 1 0 or 1 1 1 0 or 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 *