Tools – Wildcard Calculator

IP: 117.20.157.123 Wildcard Mask:132.54.70.20
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 117.20.157.123
01110101
.
00010100
.
10011101
.
01111011
Wildcard Mask 132.54.70.20
10000100
.
00110110
.
01000110
.
00010100
Bit Pattern ?1110?01 . 00??0??0 . 1?011??1 . 011?1?11
Networks Matched in [brackets]
(examples)
[113]
[117]
[241]
[245]
.
[0]
[2]
[4]
[6]
[16]
[18]
[20]
[22]
[32]
[34]
[36]
[38]
[48]
[50]
[52]
[54]
.
[153]
[155]
[157]
[159]
[217]
[219]
[221]
[223]
.
[107]
[111]
[123]
[127]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 113.0.153.107 132.54.70.20
Result Breakdown:
IP & WildCard Octet 1
[117.20.157.123 with WildCard mask 132.54.70.20]
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: 117 0 1 1 1 0 1 0 1
WC:(?) 132 1 0 0 0 0 1 0 0
= = = = = = = =
Bit pattern:(?) 0 or 1 1 1 1 0 0 or 1 0 1

IP & WildCard Octet 2
[117.20.157.123 with WildCard mask 132.54.70.20]
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: 20 0 0 0 1 0 1 0 0
WC:(?) 54 0 0 1 1 0 1 1 0
= = = = = = = =
Bit pattern:(?) 0 0 0 or 1 0 or 1 0 0 or 1 0 or 1 0

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

IP & WildCard Octet 4
[117.20.157.123 with WildCard mask 132.54.70.20]
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: 123 0 1 1 1 1 0 1 1
WC:(?) 20 0 0 0 1 0 1 0 0
= = = = = = = =
Bit pattern:(?) 0 1 1 0 or 1 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 *