Tools – Wildcard Calculator

IP: 10.241.243.152 Wildcard Mask:182.86.26.39
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 10.241.243.152
00001010
.
11110001
.
11110011
.
10011000
Wildcard Mask 182.86.26.39
10110110
.
01010110
.
00011010
.
00100111
Bit Pattern ?0??1??0 . 1?1?0??1 . 111??0?1 . 10?11???
Networks Matched in [brackets]
(examples)
[8]
[10]
[12]
[14]
[24]
[26]
[28]
[30]
[40]
[42]
[44]
[46]
[56]
[58]
[60]
[62]
[136]
[138]
[140]
[142]
[152]
[154]
[156]
[158]
[168]
[170]
[172]
[174]
[184]
[186]
[188]
[190]
.
[161]
[163]
[165]
[167]
[177]
[179]
[181]
[183]
[225]
[227]
[229]
[231]
[241]
[243]
[245]
[247]
.
[225]
[227]
[233]
[235]
[241]
[243]
[249]
[251]
.
[152 - 159]
[184 - 191]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 8.161.225.152 182.86.26.39
Result Breakdown:
IP & WildCard Octet 1
[10.241.243.152 with WildCard mask 182.86.26.39]
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: 10 0 0 0 0 1 0 1 0
WC:(?) 182 1 0 1 1 0 1 1 0
= = = = = = = =
Bit pattern:(?) 0 or 1 0 0 or 1 0 or 1 1 0 or 1 0 or 1 0

IP & WildCard Octet 2
[10.241.243.152 with WildCard mask 182.86.26.39]
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: 241 1 1 1 1 0 0 0 1
WC:(?) 86 0 1 0 1 0 1 1 0
= = = = = = = =
Bit pattern:(?) 1 0 or 1 1 0 or 1 0 0 or 1 0 or 1 1

IP & WildCard Octet 3
[10.241.243.152 with WildCard mask 182.86.26.39]
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: 243 1 1 1 1 0 0 1 1
WC:(?) 26 0 0 0 1 1 0 1 0
= = = = = = = =
Bit pattern:(?) 1 1 1 0 or 1 0 or 1 0 0 or 1 1

IP & WildCard Octet 4
[10.241.243.152 with WildCard mask 182.86.26.39]
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: 152 1 0 0 1 1 0 0 0
WC:(?) 39 0 0 1 0 0 1 1 1
= = = = = = = =
Bit pattern:(?) 1 0 0 or 1 1 1 0 or 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 *