Tools – Wildcard Calculator

IP: 10.96.51.105 Wildcard Mask:45.211.85.41
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 10.96.51.105
00001010
.
01100000
.
00110011
.
01101001
Wildcard Mask 45.211.85.41
00101101
.
11010011
.
01010101
.
00101001
Bit Pattern 00?0??1? . ??1?00?? . 0?1?0?1? . 01?0?00?
Networks Matched in [brackets]
(examples)
[2 - 3]
[6 - 7]
[10 - 11]
[14 - 15]
[34 - 35]
[38 - 39]
[42 - 43]
[46 - 47]
.
[32 - 35]
[48 - 51]
[96 - 99]
[112 - 115]
[160 - 163]
[176 - 179]
[224 - 227]
[240 - 243]
.
[34 - 35]
[38 - 39]
[50 - 51]
[54 - 55]
[98 - 99]
[102 - 103]
[114 - 115]
[118 - 119]
.
[64 - 65]
[72 - 73]
[96 - 97]
[104 - 105]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 2.32.34.64 45.211.85.41
Result Breakdown:
IP & WildCard Octet 1
[10.96.51.105 with WildCard mask 45.211.85.41]
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: 10 0 0 0 0 1 0 1 0
WC:(?) 45 0 0 1 0 1 1 0 1
= = = = = = = =
Bit pattern:(?) 0 0 0 or 1 0 0 or 1 0 or 1 1 0 or 1

IP & WildCard Octet 2
[10.96.51.105 with WildCard mask 45.211.85.41]
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: 96 0 1 1 0 0 0 0 0
WC:(?) 211 1 1 0 1 0 0 1 1
= = = = = = = =
Bit pattern:(?) 0 or 1 0 or 1 1 0 or 1 0 0 0 or 1 0 or 1

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

IP & WildCard Octet 4
[10.96.51.105 with WildCard mask 45.211.85.41]
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:(?) 41 0 0 1 0 1 0 0 1
= = = = = = = =
Bit pattern:(?) 0 1 0 or 1 0 0 or 1 0 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 to Andrew Cancel reply

Your email address will not be published. Required fields are marked *