Tools – Wildcard Calculator

IP: 173.144.200.241 Wildcard Mask:25.53.149.241
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 173.144.200.241
10101101
.
10010000
.
11001000
.
11110001
Wildcard Mask 25.53.149.241
00011001
.
00110101
.
10010101
.
11110001
Bit Pattern 101??10? . 10??0?0? . ?10?1?0? . ????000?
Networks Matched in [brackets]
(examples)
[164 - 165]
[172 - 173]
[180 - 181]
[188 - 189]
.
[128 - 129]
[132 - 133]
[144 - 145]
[148 - 149]
[160 - 161]
[164 - 165]
[176 - 177]
[180 - 181]
.
[72 - 73]
[76 - 77]
[88 - 89]
[92 - 93]
[200 - 201]
[204 - 205]
[216 - 217]
[220 - 221]
.
[0 - 1]
[16 - 17]
[32 - 33]
[48 - 49]
[64 - 65]
[80 - 81]
[96 - 97]
[112 - 113]
[128 - 129]
[144 - 145]
[160 - 161]
[176 - 177]
[192 - 193]
[208 - 209]
[224 - 225]
[240 - 241]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 164.128.72.0 25.53.149.241
Result Breakdown:
IP & WildCard Octet 1
[173.144.200.241 with WildCard mask 25.53.149.241]
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: 173 1 0 1 0 1 1 0 1
WC:(?) 25 0 0 0 1 1 0 0 1
= = = = = = = =
Bit pattern:(?) 1 0 1 0 or 1 0 or 1 1 0 0 or 1

IP & WildCard Octet 2
[173.144.200.241 with WildCard mask 25.53.149.241]
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: 144 1 0 0 1 0 0 0 0
WC:(?) 53 0 0 1 1 0 1 0 1
= = = = = = = =
Bit pattern:(?) 1 0 0 or 1 0 or 1 0 0 or 1 0 0 or 1

IP & WildCard Octet 3
[173.144.200.241 with WildCard mask 25.53.149.241]
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: 200 1 1 0 0 1 0 0 0
WC:(?) 149 1 0 0 1 0 1 0 1
= = = = = = = =
Bit pattern:(?) 0 or 1 1 0 0 or 1 1 0 or 1 0 0 or 1

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