Tools – Wildcard Calculator

IP: 146.141.144.33 Wildcard Mask:54.195.118.251
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 146.141.144.33
10010010
.
10001101
.
10010000
.
00100001
Wildcard Mask 54.195.118.251
00110110
.
11000011
.
01110110
.
11111011
Bit Pattern 10??0??0 . ??0011?? . 1???0??0 . ?????0??
Networks Matched in [brackets]
(examples)
[128]
[130]
[132]
[134]
[144]
[146]
[148]
[150]
[160]
[162]
[164]
[166]
[176]
[178]
[180]
[182]
.
[12 - 15]
[76 - 79]
[140 - 143]
[204 - 207]
.
[128]
[130]
[132]
[134]
[144]
[146]
[148]
[150]
[160]
[162]
[164]
[166]
[176]
[178]
[180]
[182]
[192]
[194]
[196]
[198]
[208]
[210]
[212]
[214]
[224]
[226]
[228]
[230]
[240]
[242]
[244]
[246]
.
[0 - 3]
[8 - 11]
[16 - 19]
[24 - 27]
[32 - 35]
[40 - 43]
[48 - 51]
[56 - 59]
[64 - 67]
[72 - 75]
[80 - 83]
[88 - 91]
[96 - 99]
[104 - 107]
[112 - 115]
[120 - 123]
[128 - 131]
[136 - 139]
[144 - 147]
[152 - 155]
[160 - 163]
[168 - 171]
[176 - 179]
[184 - 187]
[192 - 195]
[200 - 203]
[208 - 211]
[216 - 219]
[224 - 227]
[232 - 235]
[240 - 243]
[248 - 251]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 128.12.128.0 54.195.118.251
Result Breakdown:
IP & WildCard Octet 1
[146.141.144.33 with WildCard mask 54.195.118.251]
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: 146 1 0 0 1 0 0 1 0
WC:(?) 54 0 0 1 1 0 1 1 0
= = = = = = = =
Bit pattern:(?) 1 0 0 or 1 0 or 1 0 0 or 1 0 or 1 0

IP & WildCard Octet 2
[146.141.144.33 with WildCard mask 54.195.118.251]
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: 141 1 0 0 0 1 1 0 1
WC:(?) 195 1 1 0 0 0 0 1 1
= = = = = = = =
Bit pattern:(?) 0 or 1 0 or 1 0 0 1 1 0 or 1 0 or 1

IP & WildCard Octet 3
[146.141.144.33 with WildCard mask 54.195.118.251]
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:(?) 118 0 1 1 1 0 1 1 0
= = = = = = = =
Bit pattern:(?) 1 0 or 1 0 or 1 0 or 1 0 0 or 1 0 or 1 0

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