Tools – Wildcard Calculator

IP: 134.99.113.147 Wildcard Mask:167.106.215.12
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 134.99.113.147
10000110
.
01100011
.
01110001
.
10010011
Wildcard Mask 167.106.215.12
10100111
.
01101010
.
11010111
.
00001100
Bit Pattern ?0?00??? . 0??0?0?1 . ??1?0??? . 1001??11
Networks Matched in [brackets]
(examples)
[0 - 7]
[32 - 39]
[128 - 135]
[160 - 167]
.
[1]
[3]
[9]
[11]
[33]
[35]
[41]
[43]
[65]
[67]
[73]
[75]
[97]
[99]
[105]
[107]
.
[32 - 39]
[48 - 55]
[96 - 103]
[112 - 119]
[160 - 167]
[176 - 183]
[224 - 231]
[240 - 247]
.
[147]
[151]
[155]
[159]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 0.1.32.147 167.106.215.12
Result Breakdown:
IP & WildCard Octet 1
[134.99.113.147 with WildCard mask 167.106.215.12]
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: 134 1 0 0 0 0 1 1 0
WC:(?) 167 1 0 1 0 0 1 1 1
= = = = = = = =
Bit pattern:(?) 0 or 1 0 0 or 1 0 0 0 or 1 0 or 1 0 or 1

IP & WildCard Octet 2
[134.99.113.147 with WildCard mask 167.106.215.12]
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: 99 0 1 1 0 0 0 1 1
WC:(?) 106 0 1 1 0 1 0 1 0
= = = = = = = =
Bit pattern:(?) 0 0 or 1 0 or 1 0 0 or 1 0 0 or 1 1

IP & WildCard Octet 3
[134.99.113.147 with WildCard mask 167.106.215.12]
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: 113 0 1 1 1 0 0 0 1
WC:(?) 215 1 1 0 1 0 1 1 1
= = = = = = = =
Bit pattern:(?) 0 or 1 0 or 1 1 0 or 1 0 0 or 1 0 or 1 0 or 1

IP & WildCard Octet 4
[134.99.113.147 with WildCard mask 167.106.215.12]
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: 147 1 0 0 1 0 0 1 1
WC:(?) 12 0 0 0 0 1 1 0 0
= = = = = = = =
Bit pattern:(?) 1 0 0 1 0 or 1 0 or 1 1 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 *