Tools – Wildcard Calculator

IP: 158.219.74.140 Wildcard Mask:162.254.98.48
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 158.219.74.140
10011110
.
11011011
.
01001010
.
10001100
Wildcard Mask 162.254.98.48
10100010
.
11111110
.
01100010
.
00110000
Bit Pattern ?0?111?0 . ???????1 . 0??010?0 . 10??1100
Networks Matched in [brackets]
(examples)
[28]
[30]
[60]
[62]
[156]
[158]
[188]
[190]
.
[1]
[3]
[5]
[7]
[9]
[11]
[13]
[15]
[17]
[19]
[21]
[23]
[25]
[27]
[29]
[31]
[33]
[35]
[37]
[39]
[41]
[43]
[45]
[47]
[49]
[51]
[53]
[55]
[57]
[59]
[61]
[63]
[65]
[67]
[69]
[71]
[73]
[75]
[77]
[79]
[81]
[83]
[85]
[87]
[89]
[91]
[93]
[95]
[97]
[99]
[101]
[103]
[105]
[107]
[109]
[111]
[113]
[115]
[117]
[119]
[121]
[123]
[125]
[127]
[129]
[131]
[133]
[135]
[137]
[139]
[141]
[143]
[145]
[147]
[149]
[151]
[153]
[155]
[157]
[159]
[161]
[163]
[165]
[167]
[169]
[171]
[173]
[175]
[177]
[179]
[181]
[183]
[185]
[187]
[189]
[191]
[193]
[195]
[197]
[199]
[201]
[203]
[205]
[207]
[209]
[211]
[213]
[215]
[217]
[219]
[221]
[223]
[225]
[227]
[229]
[231]
[233]
[235]
[237]
[239]
[241]
[243]
[245]
[247]
[249]
[251]
[253]
[255]
.
[8]
[10]
[40]
[42]
[72]
[74]
[104]
[106]
.
[140]
[156]
[172]
[188]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 28.1.8.140 162.254.98.48
Result Breakdown:
IP & WildCard Octet 1
[158.219.74.140 with WildCard mask 162.254.98.48]
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: 158 1 0 0 1 1 1 1 0
WC:(?) 162 1 0 1 0 0 0 1 0
= = = = = = = =
Bit pattern:(?) 0 or 1 0 0 or 1 1 1 1 0 or 1 0

IP & WildCard Octet 2
[158.219.74.140 with WildCard mask 162.254.98.48]
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: 219 1 1 0 1 1 0 1 1
WC:(?) 254 1 1 1 1 1 1 1 0
= = = = = = = =
Bit pattern:(?) 0 or 1 0 or 1 0 or 1 0 or 1 0 or 1 0 or 1 0 or 1 1

IP & WildCard Octet 3
[158.219.74.140 with WildCard mask 162.254.98.48]
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: 74 0 1 0 0 1 0 1 0
WC:(?) 98 0 1 1 0 0 0 1 0
= = = = = = = =
Bit pattern:(?) 0 0 or 1 0 or 1 0 1 0 0 or 1 0

IP & WildCard Octet 4
[158.219.74.140 with WildCard mask 162.254.98.48]
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: 140 1 0 0 0 1 1 0 0
WC:(?) 48 0 0 1 1 0 0 0 0
= = = = = = = =
Bit pattern:(?) 1 0 0 or 1 0 or 1 1 1 0 0

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 *