Tools – Wildcard Calculator

IP: 64.171.50.112 Wildcard Mask:116.167.53.48
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 64.171.50.112
01000000
.
10101011
.
00110010
.
01110000
Wildcard Mask 116.167.53.48
01110100
.
10100111
.
00110101
.
00110000
Bit Pattern 0???0?00 . ?0?01??? . 00??0?1? . 01??0000
Networks Matched in [brackets]
(examples)
[0]
[4]
[16]
[20]
[32]
[36]
[48]
[52]
[64]
[68]
[80]
[84]
[96]
[100]
[112]
[116]
.
[8 - 15]
[40 - 47]
[136 - 143]
[168 - 175]
.
[2 - 3]
[6 - 7]
[18 - 19]
[22 - 23]
[34 - 35]
[38 - 39]
[50 - 51]
[54 - 55]
.
[64]
[80]
[96]
[112]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 0.8.2.64 116.167.53.48
Result Breakdown:
IP & WildCard Octet 1
[64.171.50.112 with WildCard mask 116.167.53.48]
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: 64 0 1 0 0 0 0 0 0
WC:(?) 116 0 1 1 1 0 1 0 0
= = = = = = = =
Bit pattern:(?) 0 0 or 1 0 or 1 0 or 1 0 0 or 1 0 0

IP & WildCard Octet 2
[64.171.50.112 with WildCard mask 116.167.53.48]
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: 171 1 0 1 0 1 0 1 1
WC:(?) 167 1 0 1 0 0 1 1 1
= = = = = = = =
Bit pattern:(?) 0 or 1 0 0 or 1 0 1 0 or 1 0 or 1 0 or 1

IP & WildCard Octet 3
[64.171.50.112 with WildCard mask 116.167.53.48]
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: 50 0 0 1 1 0 0 1 0
WC:(?) 53 0 0 1 1 0 1 0 1
= = = = = = = =
Bit pattern:(?) 0 0 0 or 1 0 or 1 0 0 or 1 1 0 or 1

IP & WildCard Octet 4
[64.171.50.112 with WildCard mask 116.167.53.48]
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: 112 0 1 1 1 0 0 0 0
WC:(?) 48 0 0 1 1 0 0 0 0
= = = = = = = =
Bit pattern:(?) 0 1 0 or 1 0 or 1 0 0 0 0

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 *