Tools – Wildcard Calculator

IP: 48.188.196.218 Wildcard Mask:105.228.72.122
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 48.188.196.218
00110000
.
10111100
.
11000100
.
11011010
Wildcard Mask 105.228.72.122
01101001
.
11100100
.
01001000
.
01111010
Bit Pattern 0??1?00? . ???11?00 . 1?00?100 . 1????0?0
Networks Matched in [brackets]
(examples)
[16 - 17]
[24 - 25]
[48 - 49]
[56 - 57]
[80 - 81]
[88 - 89]
[112 - 113]
[120 - 121]
.
[24]
[28]
[56]
[60]
[88]
[92]
[120]
[124]
[152]
[156]
[184]
[188]
[216]
[220]
[248]
[252]
.
[132]
[140]
[196]
[204]
.
[128]
[130]
[136]
[138]
[144]
[146]
[152]
[154]
[160]
[162]
[168]
[170]
[176]
[178]
[184]
[186]
[192]
[194]
[200]
[202]
[208]
[210]
[216]
[218]
[224]
[226]
[232]
[234]
[240]
[242]
[248]
[250]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 16.24.132.128 105.228.72.122
Result Breakdown:
IP & WildCard Octet 1
[48.188.196.218 with WildCard mask 105.228.72.122]
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: 48 0 0 1 1 0 0 0 0
WC:(?) 105 0 1 1 0 1 0 0 1
= = = = = = = =
Bit pattern:(?) 0 0 or 1 0 or 1 1 0 or 1 0 0 0 or 1

IP & WildCard Octet 2
[48.188.196.218 with WildCard mask 105.228.72.122]
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: 188 1 0 1 1 1 1 0 0
WC:(?) 228 1 1 1 0 0 1 0 0
= = = = = = = =
Bit pattern:(?) 0 or 1 0 or 1 0 or 1 1 1 0 or 1 0 0

IP & WildCard Octet 3
[48.188.196.218 with WildCard mask 105.228.72.122]
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: 196 1 1 0 0 0 1 0 0
WC:(?) 72 0 1 0 0 1 0 0 0
= = = = = = = =
Bit pattern:(?) 1 0 or 1 0 0 0 or 1 1 0 0

IP & WildCard Octet 4
[48.188.196.218 with WildCard mask 105.228.72.122]
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: 218 1 1 0 1 1 0 1 0
WC:(?) 122 0 1 1 1 1 0 1 0
= = = = = = = =
Bit pattern:(?) 1 0 or 1 0 or 1 0 or 1 0 or 1 0 0 or 1 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 *