Tools – Wildcard Calculator

IP: 128.243.7.141 Wildcard Mask:29.101.223.27
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 128.243.7.141
10000000
.
11110011
.
00000111
.
10001101
Wildcard Mask 29.101.223.27
00011101
.
01100101
.
11011111
.
00011011
Bit Pattern 100???0? . 1??10?1? . ??0????? . 100??1??
Networks Matched in [brackets]
(examples)
[128 - 129]
[132 - 133]
[136 - 137]
[140 - 141]
[144 - 145]
[148 - 149]
[152 - 153]
[156 - 157]
.
[146 - 147]
[150 - 151]
[178 - 179]
[182 - 183]
[210 - 211]
[214 - 215]
[242 - 243]
[246 - 247]
.
[0 - 31]
[64 - 95]
[128 - 159]
[192 - 223]
.
[132 - 135]
[140 - 143]
[148 - 151]
[156 - 159]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 128.146.0.132 29.101.223.27
Result Breakdown:
IP & WildCard Octet 1
[128.243.7.141 with WildCard mask 29.101.223.27]
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: 128 1 0 0 0 0 0 0 0
WC:(?) 29 0 0 0 1 1 1 0 1
= = = = = = = =
Bit pattern:(?) 1 0 0 0 or 1 0 or 1 0 or 1 0 0 or 1

IP & WildCard Octet 2
[128.243.7.141 with WildCard mask 29.101.223.27]
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:(?) 101 0 1 1 0 0 1 0 1
= = = = = = = =
Bit pattern:(?) 1 0 or 1 0 or 1 1 0 0 or 1 1 0 or 1

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

IP & WildCard Octet 4
[128.243.7.141 with WildCard mask 29.101.223.27]
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: 141 1 0 0 0 1 1 0 1
WC:(?) 27 0 0 0 1 1 0 1 1
= = = = = = = =
Bit pattern:(?) 1 0 0 0 or 1 0 or 1 1 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 *