Tools – Wildcard Calculator

IP: 18.254.218.38 Wildcard Mask:4.40.40.163
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 18.254.218.38
00010010
.
11111110
.
11011010
.
00100110
Wildcard Mask 4.40.40.163
00000100
.
00101000
.
00101000
.
10100011
Bit Pattern 00010?10 . 11?1?110 . 11?1?010 . ?0?001??
Networks Matched in [brackets]
(examples)
[18]
[22]
.
[214]
[222]
[246]
[254]
.
[210]
[218]
[242]
[250]
.
[4 - 7]
[36 - 39]
[132 - 135]
[164 - 167]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 18.214.210.4 4.40.40.163
Result Breakdown:
IP & WildCard Octet 1
[18.254.218.38 with WildCard mask 4.40.40.163]
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: 18 0 0 0 1 0 0 1 0
WC:(?) 4 0 0 0 0 0 1 0 0
= = = = = = = =
Bit pattern:(?) 0 0 0 1 0 0 or 1 1 0

IP & WildCard Octet 2
[18.254.218.38 with WildCard mask 4.40.40.163]
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: 254 1 1 1 1 1 1 1 0
WC:(?) 40 0 0 1 0 1 0 0 0
= = = = = = = =
Bit pattern:(?) 1 1 0 or 1 1 0 or 1 1 1 0

IP & WildCard Octet 3
[18.254.218.38 with WildCard mask 4.40.40.163]
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: 218 1 1 0 1 1 0 1 0
WC:(?) 40 0 0 1 0 1 0 0 0
= = = = = = = =
Bit pattern:(?) 1 1 0 or 1 1 0 or 1 0 1 0

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