Tools – Wildcard Calculator

IP: 120.229.195.157 Wildcard Mask:144.220.150.37
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 120.229.195.157
01111000
.
11100101
.
11000011
.
10011101
Wildcard Mask 144.220.150.37
10010000
.
11011100
.
10010110
.
00100101
Bit Pattern ?11?1000 . ??1???01 . ?10?0??1 . 10?11?0?
Networks Matched in [brackets]
(examples)
[104]
[120]
[232]
[248]
.
[33]
[37]
[41]
[45]
[49]
[53]
[57]
[61]
[97]
[101]
[105]
[109]
[113]
[117]
[121]
[125]
[161]
[165]
[169]
[173]
[177]
[181]
[185]
[189]
[225]
[229]
[233]
[237]
[241]
[245]
[249]
[253]
.
[65]
[67]
[69]
[71]
[81]
[83]
[85]
[87]
[193]
[195]
[197]
[199]
[209]
[211]
[213]
[215]
.
[152 - 153]
[156 - 157]
[184 - 185]
[188 - 189]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 104.33.65.152 144.220.150.37
Result Breakdown:
IP & WildCard Octet 1
[120.229.195.157 with WildCard mask 144.220.150.37]
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: 120 0 1 1 1 1 0 0 0
WC:(?) 144 1 0 0 1 0 0 0 0
= = = = = = = =
Bit pattern:(?) 0 or 1 1 1 0 or 1 1 0 0 0

IP & WildCard Octet 2
[120.229.195.157 with WildCard mask 144.220.150.37]
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:(?) 220 1 1 0 1 1 1 0 0
= = = = = = = =
Bit pattern:(?) 0 or 1 0 or 1 1 0 or 1 0 or 1 0 or 1 0 1

IP & WildCard Octet 3
[120.229.195.157 with WildCard mask 144.220.150.37]
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: 195 1 1 0 0 0 0 1 1
WC:(?) 150 1 0 0 1 0 1 1 0
= = = = = = = =
Bit pattern:(?) 0 or 1 1 0 0 or 1 0 0 or 1 0 or 1 1

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