Tools – Wildcard Calculator

IP: 32.238.168.81 Wildcard Mask:75.103.203.45
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 32.238.168.81
00100000
.
11101110
.
10101000
.
01010001
Wildcard Mask 75.103.203.45
01001011
.
01100111
.
11001011
.
00101101
Bit Pattern 0?10?0?? . 1??01??? . ??10?0?? . 01?1??0?
Networks Matched in [brackets]
(examples)
[32 - 35]
[40 - 43]
[96 - 99]
[104 - 107]
.
[136 - 143]
[168 - 175]
[200 - 207]
[232 - 239]
.
[32 - 35]
[40 - 43]
[96 - 99]
[104 - 107]
[160 - 163]
[168 - 171]
[224 - 227]
[232 - 235]
.
[80 - 81]
[84 - 85]
[88 - 89]
[92 - 93]
[112 - 113]
[116 - 117]
[120 - 121]
[124 - 125]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 32.136.32.80 75.103.203.45
Result Breakdown:
IP & WildCard Octet 1
[32.238.168.81 with WildCard mask 75.103.203.45]
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: 32 0 0 1 0 0 0 0 0
WC:(?) 75 0 1 0 0 1 0 1 1
= = = = = = = =
Bit pattern:(?) 0 0 or 1 1 0 0 or 1 0 0 or 1 0 or 1

IP & WildCard Octet 2
[32.238.168.81 with WildCard mask 75.103.203.45]
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: 238 1 1 1 0 1 1 1 0
WC:(?) 103 0 1 1 0 0 1 1 1
= = = = = = = =
Bit pattern:(?) 1 0 or 1 0 or 1 0 1 0 or 1 0 or 1 0 or 1

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

IP & WildCard Octet 4
[32.238.168.81 with WildCard mask 75.103.203.45]
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: 81 0 1 0 1 0 0 0 1
WC:(?) 45 0 0 1 0 1 1 0 1
= = = = = = = =
Bit pattern:(?) 0 1 0 or 1 1 0 or 1 0 or 1 0 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 *