Tools – Wildcard Calculator

IP: 100.199.166.152 Wildcard Mask:173.81.0.43
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 100.199.166.152
01100100
.
11000111
.
10100110
.
10011000
Wildcard Mask 173.81.0.43
10101101
.
01010001
.
00000000
.
00101011
Bit Pattern ?1?0??0? . 1?0?011? . 10100110 . 10?1?0??
Networks Matched in [brackets]
(examples)
[64 - 65]
[68 - 69]
[72 - 73]
[76 - 77]
[96 - 97]
[100 - 101]
[104 - 105]
[108 - 109]
[192 - 193]
[196 - 197]
[200 - 201]
[204 - 205]
[224 - 225]
[228 - 229]
[232 - 233]
[236 - 237]
.
[134 - 135]
[150 - 151]
[198 - 199]
[214 - 215]
.
[166]
.
[144 - 147]
[152 - 155]
[176 - 179]
[184 - 187]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 64.134.166.144 173.81.0.43
Result Breakdown:
IP & WildCard Octet 1
[100.199.166.152 with WildCard mask 173.81.0.43]
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: 100 0 1 1 0 0 1 0 0
WC:(?) 173 1 0 1 0 1 1 0 1
= = = = = = = =
Bit pattern:(?) 0 or 1 1 0 or 1 0 0 or 1 0 or 1 0 0 or 1

IP & WildCard Octet 2
[100.199.166.152 with WildCard mask 173.81.0.43]
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: 199 1 1 0 0 0 1 1 1
WC:(?) 81 0 1 0 1 0 0 0 1
= = = = = = = =
Bit pattern:(?) 1 0 or 1 0 0 or 1 0 1 1 0 or 1

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

IP & WildCard Octet 4
[100.199.166.152 with WildCard mask 173.81.0.43]
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: 152 1 0 0 1 1 0 0 0
WC:(?) 43 0 0 1 0 1 0 1 1
= = = = = = = =
Bit pattern:(?) 1 0 0 or 1 1 0 or 1 0 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 *