Tools – Wildcard Calculator

IP: 189.59.85.44 Wildcard Mask:50.212.29.80
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 189.59.85.44
10111101
.
00111011
.
01010101
.
00101100
Wildcard Mask 50.212.29.80
00110010
.
11010100
.
00011101
.
01010000
Bit Pattern 10??11?1 . ??1?1?11 . 010???0? . 0?1?1100
Networks Matched in [brackets]
(examples)
[141]
[143]
[157]
[159]
[173]
[175]
[189]
[191]
.
[43]
[47]
[59]
[63]
[107]
[111]
[123]
[127]
[171]
[175]
[187]
[191]
[235]
[239]
[251]
[255]
.
[64 - 65]
[68 - 69]
[72 - 73]
[76 - 77]
[80 - 81]
[84 - 85]
[88 - 89]
[92 - 93]
.
[44]
[60]
[108]
[124]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 141.43.64.44 50.212.29.80
Result Breakdown:
IP & WildCard Octet 1
[189.59.85.44 with WildCard mask 50.212.29.80]
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: 189 1 0 1 1 1 1 0 1
WC:(?) 50 0 0 1 1 0 0 1 0
= = = = = = = =
Bit pattern:(?) 1 0 0 or 1 0 or 1 1 1 0 or 1 1

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

IP & WildCard Octet 3
[189.59.85.44 with WildCard mask 50.212.29.80]
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: 85 0 1 0 1 0 1 0 1
WC:(?) 29 0 0 0 1 1 1 0 1
= = = = = = = =
Bit pattern:(?) 0 1 0 0 or 1 0 or 1 0 or 1 0 0 or 1

IP & WildCard Octet 4
[189.59.85.44 with WildCard mask 50.212.29.80]
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: 44 0 0 1 0 1 1 0 0
WC:(?) 80 0 1 0 1 0 0 0 0
= = = = = = = =
Bit pattern:(?) 0 0 or 1 1 0 or 1 1 1 0 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 *