Tools – Wildcard Calculator

IP: 136.155.247.156 Wildcard Mask:185.77.147.95
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 136.155.247.156
10001000
.
10011011
.
11110111
.
10011100
Wildcard Mask 185.77.147.95
10111001
.
01001101
.
10010011
.
01011111
Bit Pattern ?0???00? . 1?01??1? . ?11?01?? . 1?0?????
Networks Matched in [brackets]
(examples)
[0 - 1]
[8 - 9]
[16 - 17]
[24 - 25]
[32 - 33]
[40 - 41]
[48 - 49]
[56 - 57]
[128 - 129]
[136 - 137]
[144 - 145]
[152 - 153]
[160 - 161]
[168 - 169]
[176 - 177]
[184 - 185]
.
[146 - 147]
[150 - 151]
[154 - 155]
[158 - 159]
[210 - 211]
[214 - 215]
[218 - 219]
[222 - 223]
.
[100 - 103]
[116 - 119]
[228 - 231]
[244 - 247]
.
[128 - 159]
[192 - 223]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 0.146.100.128 185.77.147.95
Result Breakdown:
IP & WildCard Octet 1
[136.155.247.156 with WildCard mask 185.77.147.95]
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: 136 1 0 0 0 1 0 0 0
WC:(?) 185 1 0 1 1 1 0 0 1
= = = = = = = =
Bit pattern:(?) 0 or 1 0 0 or 1 0 or 1 0 or 1 0 0 0 or 1

IP & WildCard Octet 2
[136.155.247.156 with WildCard mask 185.77.147.95]
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: 155 1 0 0 1 1 0 1 1
WC:(?) 77 0 1 0 0 1 1 0 1
= = = = = = = =
Bit pattern:(?) 1 0 or 1 0 1 0 or 1 0 or 1 1 0 or 1

IP & WildCard Octet 3
[136.155.247.156 with WildCard mask 185.77.147.95]
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: 247 1 1 1 1 0 1 1 1
WC:(?) 147 1 0 0 1 0 0 1 1
= = = = = = = =
Bit pattern:(?) 0 or 1 1 1 0 or 1 0 1 0 or 1 0 or 1

IP & WildCard Octet 4
[136.155.247.156 with WildCard mask 185.77.147.95]
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:(?) 95 0 1 0 1 1 1 1 1
= = = = = = = =
Bit pattern:(?) 1 0 or 1 0 0 or 1 0 or 1 0 or 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 *