Tools – Wildcard Calculator

IP: 142.181.229.63 Wildcard Mask:34.154.207.53
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 142.181.229.63
10001110
.
10110101
.
11100101
.
00111111
Wildcard Mask 34.154.207.53
00100010
.
10011010
.
11001111
.
00110101
Bit Pattern 10?011?0 . ?01??1?1 . ??10???? . 00??1?1?
Networks Matched in [brackets]
(examples)
[140]
[142]
[172]
[174]
.
[37]
[39]
[45]
[47]
[53]
[55]
[61]
[63]
[165]
[167]
[173]
[175]
[181]
[183]
[189]
[191]
.
[32 - 47]
[96 - 111]
[160 - 175]
[224 - 239]
.
[10 - 11]
[14 - 15]
[26 - 27]
[30 - 31]
[42 - 43]
[46 - 47]
[58 - 59]
[62 - 63]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 140.37.32.10 34.154.207.53
Result Breakdown:
IP & WildCard Octet 1
[142.181.229.63 with WildCard mask 34.154.207.53]
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: 142 1 0 0 0 1 1 1 0
WC:(?) 34 0 0 1 0 0 0 1 0
= = = = = = = =
Bit pattern:(?) 1 0 0 or 1 0 1 1 0 or 1 0

IP & WildCard Octet 2
[142.181.229.63 with WildCard mask 34.154.207.53]
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: 181 1 0 1 1 0 1 0 1
WC:(?) 154 1 0 0 1 1 0 1 0
= = = = = = = =
Bit pattern:(?) 0 or 1 0 1 0 or 1 0 or 1 1 0 or 1 1

IP & WildCard Octet 3
[142.181.229.63 with WildCard mask 34.154.207.53]
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: 229 1 1 1 0 0 1 0 1
WC:(?) 207 1 1 0 0 1 1 1 1
= = = = = = = =
Bit pattern:(?) 0 or 1 0 or 1 1 0 0 or 1 0 or 1 0 or 1 0 or 1

IP & WildCard Octet 4
[142.181.229.63 with WildCard mask 34.154.207.53]
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: 63 0 0 1 1 1 1 1 1
WC:(?) 53 0 0 1 1 0 1 0 1
= = = = = = = =
Bit pattern:(?) 0 0 0 or 1 0 or 1 1 0 or 1 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 *