Tools – Wildcard Calculator

IP: 42.22.250.195 Wildcard Mask:186.47.57.38
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 42.22.250.195
00101010
.
00010110
.
11111010
.
11000011
Wildcard Mask 186.47.57.38
10111010
.
00101111
.
00111001
.
00100110
Bit Pattern ?0???0?0 . 00?1???? . 11???01? . 11?00??1
Networks Matched in [brackets]
(examples)
[0]
[2]
[8]
[10]
[16]
[18]
[24]
[26]
[32]
[34]
[40]
[42]
[48]
[50]
[56]
[58]
[128]
[130]
[136]
[138]
[144]
[146]
[152]
[154]
[160]
[162]
[168]
[170]
[176]
[178]
[184]
[186]
.
[16 - 31]
[48 - 63]
.
[194 - 195]
[202 - 203]
[210 - 211]
[218 - 219]
[226 - 227]
[234 - 235]
[242 - 243]
[250 - 251]
.
[193]
[195]
[197]
[199]
[225]
[227]
[229]
[231]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 0.16.194.193 186.47.57.38
Result Breakdown:
IP & WildCard Octet 1
[42.22.250.195 with WildCard mask 186.47.57.38]
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: 42 0 0 1 0 1 0 1 0
WC:(?) 186 1 0 1 1 1 0 1 0
= = = = = = = =
Bit pattern:(?) 0 or 1 0 0 or 1 0 or 1 0 or 1 0 0 or 1 0

IP & WildCard Octet 2
[42.22.250.195 with WildCard mask 186.47.57.38]
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: 22 0 0 0 1 0 1 1 0
WC:(?) 47 0 0 1 0 1 1 1 1
= = = = = = = =
Bit pattern:(?) 0 0 0 or 1 1 0 or 1 0 or 1 0 or 1 0 or 1

IP & WildCard Octet 3
[42.22.250.195 with WildCard mask 186.47.57.38]
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: 250 1 1 1 1 1 0 1 0
WC:(?) 57 0 0 1 1 1 0 0 1
= = = = = = = =
Bit pattern:(?) 1 1 0 or 1 0 or 1 0 or 1 0 1 0 or 1

IP & WildCard Octet 4
[42.22.250.195 with WildCard mask 186.47.57.38]
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: 195 1 1 0 0 0 0 1 1
WC:(?) 38 0 0 1 0 0 1 1 0
= = = = = = = =
Bit pattern:(?) 1 1 0 or 1 0 0 0 or 1 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 *