Tools – Wildcard Calculator

IP: 50.212.47.213 Wildcard Mask:178.21.105.51
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 50.212.47.213
00110010
.
11010100
.
00101111
.
11010101
Wildcard Mask 178.21.105.51
10110010
.
00010101
.
01101001
.
00110011
Bit Pattern ?0??00?0 . 110?0?0? . 0??0?11? . 11??01??
Networks Matched in [brackets]
(examples)
[0]
[2]
[16]
[18]
[32]
[34]
[48]
[50]
[128]
[130]
[144]
[146]
[160]
[162]
[176]
[178]
.
[192 - 193]
[196 - 197]
[208 - 209]
[212 - 213]
.
[6 - 7]
[14 - 15]
[38 - 39]
[46 - 47]
[70 - 71]
[78 - 79]
[102 - 103]
[110 - 111]
.
[196 - 199]
[212 - 215]
[228 - 231]
[244 - 247]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 0.192.6.196 178.21.105.51
Result Breakdown:
IP & WildCard Octet 1
[50.212.47.213 with WildCard mask 178.21.105.51]
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: 50 0 0 1 1 0 0 1 0
WC:(?) 178 1 0 1 1 0 0 1 0
= = = = = = = =
Bit pattern:(?) 0 or 1 0 0 or 1 0 or 1 0 0 0 or 1 0

IP & WildCard Octet 2
[50.212.47.213 with WildCard mask 178.21.105.51]
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: 212 1 1 0 1 0 1 0 0
WC:(?) 21 0 0 0 1 0 1 0 1
= = = = = = = =
Bit pattern:(?) 1 1 0 0 or 1 0 0 or 1 0 0 or 1

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

IP & WildCard Octet 4
[50.212.47.213 with WildCard mask 178.21.105.51]
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: 213 1 1 0 1 0 1 0 1
WC:(?) 51 0 0 1 1 0 0 1 1
= = = = = = = =
Bit pattern:(?) 1 1 0 or 1 0 or 1 0 1 0 or 1 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 *