Tools – Wildcard Calculator

IP: 46.16.35.243 Wildcard Mask:106.211.199.146
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 46.16.35.243
00101110
.
00010000
.
00100011
.
11110011
Wildcard Mask 106.211.199.146
01101010
.
11010011
.
11000111
.
10010010
Bit Pattern 0??0?1?0 . ??0?00?? . ??100??? . ?11?00?1
Networks Matched in [brackets]
(examples)
[4]
[6]
[12]
[14]
[36]
[38]
[44]
[46]
[68]
[70]
[76]
[78]
[100]
[102]
[108]
[110]
.
[0 - 3]
[16 - 19]
[64 - 67]
[80 - 83]
[128 - 131]
[144 - 147]
[192 - 195]
[208 - 211]
.
[32 - 39]
[96 - 103]
[160 - 167]
[224 - 231]
.
[97]
[99]
[113]
[115]
[225]
[227]
[241]
[243]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 4.0.32.97 106.211.199.146
Result Breakdown:
IP & WildCard Octet 1
[46.16.35.243 with WildCard mask 106.211.199.146]
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: 46 0 0 1 0 1 1 1 0
WC:(?) 106 0 1 1 0 1 0 1 0
= = = = = = = =
Bit pattern:(?) 0 0 or 1 0 or 1 0 0 or 1 1 0 or 1 0

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

IP & WildCard Octet 3
[46.16.35.243 with WildCard mask 106.211.199.146]
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: 35 0 0 1 0 0 0 1 1
WC:(?) 199 1 1 0 0 0 1 1 1
= = = = = = = =
Bit pattern:(?) 0 or 1 0 or 1 1 0 0 0 or 1 0 or 1 0 or 1

IP & WildCard Octet 4
[46.16.35.243 with WildCard mask 106.211.199.146]
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: 243 1 1 1 1 0 0 1 1
WC:(?) 146 1 0 0 1 0 0 1 0
= = = = = = = =
Bit pattern:(?) 0 or 1 1 1 0 or 1 0 0 0 or 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 *