Tools – Wildcard Calculator

IP: 161.108.173.123 Wildcard Mask:58.201.221.210
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 161.108.173.123
10100001
.
01101100
.
10101101
.
01111011
Wildcard Mask 58.201.221.210
00111010
.
11001001
.
11011101
.
11010010
Bit Pattern 10???0?1 . ??10?10? . ??1???0? . ??1?10?1
Networks Matched in [brackets]
(examples)
[129]
[131]
[137]
[139]
[145]
[147]
[153]
[155]
[161]
[163]
[169]
[171]
[177]
[179]
[185]
[187]
.
[36 - 37]
[44 - 45]
[100 - 101]
[108 - 109]
[164 - 165]
[172 - 173]
[228 - 229]
[236 - 237]
.
[32 - 33]
[36 - 37]
[40 - 41]
[44 - 45]
[48 - 49]
[52 - 53]
[56 - 57]
[60 - 61]
[96 - 97]
[100 - 101]
[104 - 105]
[108 - 109]
[112 - 113]
[116 - 117]
[120 - 121]
[124 - 125]
[160 - 161]
[164 - 165]
[168 - 169]
[172 - 173]
[176 - 177]
[180 - 181]
[184 - 185]
[188 - 189]
[224 - 225]
[228 - 229]
[232 - 233]
[236 - 237]
[240 - 241]
[244 - 245]
[248 - 249]
[252 - 253]
.
[41]
[43]
[57]
[59]
[105]
[107]
[121]
[123]
[169]
[171]
[185]
[187]
[233]
[235]
[249]
[251]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 129.36.32.41 58.201.221.210
Result Breakdown:
IP & WildCard Octet 1
[161.108.173.123 with WildCard mask 58.201.221.210]
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: 161 1 0 1 0 0 0 0 1
WC:(?) 58 0 0 1 1 1 0 1 0
= = = = = = = =
Bit pattern:(?) 1 0 0 or 1 0 or 1 0 or 1 0 0 or 1 1

IP & WildCard Octet 2
[161.108.173.123 with WildCard mask 58.201.221.210]
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: 108 0 1 1 0 1 1 0 0
WC:(?) 201 1 1 0 0 1 0 0 1
= = = = = = = =
Bit pattern:(?) 0 or 1 0 or 1 1 0 0 or 1 1 0 0 or 1

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

IP & WildCard Octet 4
[161.108.173.123 with WildCard mask 58.201.221.210]
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:(?) 210 1 1 0 1 0 0 1 0
= = = = = = = =
Bit pattern:(?) 0 or 1 0 or 1 1 0 or 1 1 0 0 or 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 *