Tools – Wildcard Calculator

IP: 158.6.98.248 Wildcard Mask:4.27.76.182
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 158.6.98.248
10011110
.
00000110
.
01100010
.
11111000
Wildcard Mask 4.27.76.182
00000100
.
00011011
.
01001100
.
10110110
Bit Pattern 10011?10 . 000??1?? . 0?10??10 . ?1??1??0
Networks Matched in [brackets]
(examples)
[154]
[158]
.
[4 - 7]
[12 - 15]
[20 - 23]
[28 - 31]
.
[34]
[38]
[42]
[46]
[98]
[102]
[106]
[110]
.
[72]
[74]
[76]
[78]
[88]
[90]
[92]
[94]
[104]
[106]
[108]
[110]
[120]
[122]
[124]
[126]
[200]
[202]
[204]
[206]
[216]
[218]
[220]
[222]
[232]
[234]
[236]
[238]
[248]
[250]
[252]
[254]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 154.4.34.72 4.27.76.182
Result Breakdown:
IP & WildCard Octet 1
[158.6.98.248 with WildCard mask 4.27.76.182]
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: 158 1 0 0 1 1 1 1 0
WC:(?) 4 0 0 0 0 0 1 0 0
= = = = = = = =
Bit pattern:(?) 1 0 0 1 1 0 or 1 1 0

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

IP & WildCard Octet 3
[158.6.98.248 with WildCard mask 4.27.76.182]
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: 98 0 1 1 0 0 0 1 0
WC:(?) 76 0 1 0 0 1 1 0 0
= = = = = = = =
Bit pattern:(?) 0 0 or 1 1 0 0 or 1 0 or 1 1 0

IP & WildCard Octet 4
[158.6.98.248 with WildCard mask 4.27.76.182]
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: 248 1 1 1 1 1 0 0 0
WC:(?) 182 1 0 1 1 0 1 1 0
= = = = = = = =
Bit pattern:(?) 0 or 1 1 0 or 1 0 or 1 1 0 or 1 0 or 1 0

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 *