Tools – Wildcard Calculator

IP: 111.5.105.0 Wildcard Mask:71.111.157.231
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 111.5.105.0
01101111
.
00000101
.
01101001
.
00000000
Wildcard Mask 71.111.157.231
01000111
.
01101111
.
10011101
.
11100111
Bit Pattern 0?101??? . 0??0???? . ?11???0? . ???00???
Networks Matched in [brackets]
(examples)
[40 - 47]
[104 - 111]
.
[0 - 15]
[32 - 47]
[64 - 79]
[96 - 111]
.
[96 - 97]
[100 - 101]
[104 - 105]
[108 - 109]
[112 - 113]
[116 - 117]
[120 - 121]
[124 - 125]
[224 - 225]
[228 - 229]
[232 - 233]
[236 - 237]
[240 - 241]
[244 - 245]
[248 - 249]
[252 - 253]
.
[0 - 7]
[32 - 39]
[64 - 71]
[96 - 103]
[128 - 135]
[160 - 167]
[192 - 199]
[224 - 231]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 40.0.96.0 71.111.157.231
Result Breakdown:
IP & WildCard Octet 1
[111.5.105.0 with WildCard mask 71.111.157.231]
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: 111 0 1 1 0 1 1 1 1
WC:(?) 71 0 1 0 0 0 1 1 1
= = = = = = = =
Bit pattern:(?) 0 0 or 1 1 0 1 0 or 1 0 or 1 0 or 1

IP & WildCard Octet 2
[111.5.105.0 with WildCard mask 71.111.157.231]
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: 5 0 0 0 0 0 1 0 1
WC:(?) 111 0 1 1 0 1 1 1 1
= = = = = = = =
Bit pattern:(?) 0 0 or 1 0 or 1 0 0 or 1 0 or 1 0 or 1 0 or 1

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

IP & WildCard Octet 4
[111.5.105.0 with WildCard mask 71.111.157.231]
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: 0 0 0 0 0 0 0 0 0
WC:(?) 231 1 1 1 0 0 1 1 1
= = = = = = = =
Bit pattern:(?) 0 or 1 0 or 1 0 or 1 0 0 0 or 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 to Andrew Cancel reply

Your email address will not be published. Required fields are marked *