Tools – Wildcard Calculator

IP: 69.123.20.124 Wildcard Mask:125.79.105.173
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 69.123.20.124
01000101
.
01111011
.
00010100
.
01111100
Wildcard Mask 125.79.105.173
01111101
.
01001111
.
01101001
.
10101101
Bit Pattern 0?????0? . 0?11???? . 0??1?10? . ?1?1??0?
Networks Matched in [brackets]
(examples)
[0 - 1]
[4 - 5]
[8 - 9]
[12 - 13]
[16 - 17]
[20 - 21]
[24 - 25]
[28 - 29]
[32 - 33]
[36 - 37]
[40 - 41]
[44 - 45]
[48 - 49]
[52 - 53]
[56 - 57]
[60 - 61]
[64 - 65]
[68 - 69]
[72 - 73]
[76 - 77]
[80 - 81]
[84 - 85]
[88 - 89]
[92 - 93]
[96 - 97]
[100 - 101]
[104 - 105]
[108 - 109]
[112 - 113]
[116 - 117]
[120 - 121]
[124 - 125]
.
[48 - 63]
[112 - 127]
.
[20 - 21]
[28 - 29]
[52 - 53]
[60 - 61]
[84 - 85]
[92 - 93]
[116 - 117]
[124 - 125]
.
[80 - 81]
[84 - 85]
[88 - 89]
[92 - 93]
[112 - 113]
[116 - 117]
[120 - 121]
[124 - 125]
[208 - 209]
[212 - 213]
[216 - 217]
[220 - 221]
[240 - 241]
[244 - 245]
[248 - 249]
[252 - 253]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 0.48.20.80 125.79.105.173
Result Breakdown:
IP & WildCard Octet 1
[69.123.20.124 with WildCard mask 125.79.105.173]
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: 69 0 1 0 0 0 1 0 1
WC:(?) 125 0 1 1 1 1 1 0 1
= = = = = = = =
Bit pattern:(?) 0 0 or 1 0 or 1 0 or 1 0 or 1 0 or 1 0 0 or 1

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

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

IP & WildCard Octet 4
[69.123.20.124 with WildCard mask 125.79.105.173]
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: 124 0 1 1 1 1 1 0 0
WC:(?) 173 1 0 1 0 1 1 0 1
= = = = = = = =
Bit pattern:(?) 0 or 1 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 *