Tools – Wildcard Calculator

IP: 97.171.194.101 Wildcard Mask:4.6.59.169
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 97.171.194.101
01100001
.
10101011
.
11000010
.
01100101
Wildcard Mask 4.6.59.169
00000100
.
00000110
.
00111011
.
10101001
Bit Pattern 01100?01 . 10101??1 . 11???0?? . ?1?0?10?
Networks Matched in [brackets]
(examples)
[97]
[101]
.
[169]
[171]
[173]
[175]
.
[192 - 195]
[200 - 203]
[208 - 211]
[216 - 219]
[224 - 227]
[232 - 235]
[240 - 243]
[248 - 251]
.
[68 - 69]
[76 - 77]
[100 - 101]
[108 - 109]
[196 - 197]
[204 - 205]
[228 - 229]
[236 - 237]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 97.169.192.68 4.6.59.169
Result Breakdown:
IP & WildCard Octet 1
[97.171.194.101 with WildCard mask 4.6.59.169]
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: 97 0 1 1 0 0 0 0 1
WC:(?) 4 0 0 0 0 0 1 0 0
= = = = = = = =
Bit pattern:(?) 0 1 1 0 0 0 or 1 0 1

IP & WildCard Octet 2
[97.171.194.101 with WildCard mask 4.6.59.169]
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: 171 1 0 1 0 1 0 1 1
WC:(?) 6 0 0 0 0 0 1 1 0
= = = = = = = =
Bit pattern:(?) 1 0 1 0 1 0 or 1 0 or 1 1

IP & WildCard Octet 3
[97.171.194.101 with WildCard mask 4.6.59.169]
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: 194 1 1 0 0 0 0 1 0
WC:(?) 59 0 0 1 1 1 0 1 1
= = = = = = = =
Bit pattern:(?) 1 1 0 or 1 0 or 1 0 or 1 0 0 or 1 0 or 1

IP & WildCard Octet 4
[97.171.194.101 with WildCard mask 4.6.59.169]
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: 101 0 1 1 0 0 1 0 1
WC:(?) 169 1 0 1 0 1 0 0 1
= = = = = = = =
Bit pattern:(?) 0 or 1 1 0 or 1 0 0 or 1 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 to Askenfeldt Cancel reply

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