Tools – Wildcard Calculator

IP: 156.185.203.205 Wildcard Mask:8.104.25.152
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 156.185.203.205
10011100
.
10111001
.
11001011
.
11001101
Wildcard Mask 8.104.25.152
00001000
.
01101000
.
00011001
.
10011000
Bit Pattern 1001?100 . 1??1?001 . 110??01? . ?10??101
Networks Matched in [brackets]
(examples)
[148]
[156]
.
[145]
[153]
[177]
[185]
[209]
[217]
[241]
[249]
.
[194 - 195]
[202 - 203]
[210 - 211]
[218 - 219]
.
[69]
[77]
[85]
[93]
[197]
[205]
[213]
[221]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 148.145.194.69 8.104.25.152
Result Breakdown:
IP & WildCard Octet 1
[156.185.203.205 with WildCard mask 8.104.25.152]
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: 156 1 0 0 1 1 1 0 0
WC:(?) 8 0 0 0 0 1 0 0 0
= = = = = = = =
Bit pattern:(?) 1 0 0 1 0 or 1 1 0 0

IP & WildCard Octet 2
[156.185.203.205 with WildCard mask 8.104.25.152]
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: 185 1 0 1 1 1 0 0 1
WC:(?) 104 0 1 1 0 1 0 0 0
= = = = = = = =
Bit pattern:(?) 1 0 or 1 0 or 1 1 0 or 1 0 0 1

IP & WildCard Octet 3
[156.185.203.205 with WildCard mask 8.104.25.152]
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: 203 1 1 0 0 1 0 1 1
WC:(?) 25 0 0 0 1 1 0 0 1
= = = = = = = =
Bit pattern:(?) 1 1 0 0 or 1 0 or 1 0 1 0 or 1

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