Tools – Wildcard Calculator

IP: 4.173.110.239 Wildcard Mask:126.107.192.162
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 4.173.110.239
00000100
.
10101101
.
01101110
.
11101111
Wildcard Mask 126.107.192.162
01111110
.
01101011
.
11000000
.
10100010
Bit Pattern 0??????0 . 1??0?1?? . ??101110 . ?1?011?1
Networks Matched in [brackets]
(examples)
[0]
[2]
[4]
[6]
[8]
[10]
[12]
[14]
[16]
[18]
[20]
[22]
[24]
[26]
[28]
[30]
[32]
[34]
[36]
[38]
[40]
[42]
[44]
[46]
[48]
[50]
[52]
[54]
[56]
[58]
[60]
[62]
[64]
[66]
[68]
[70]
[72]
[74]
[76]
[78]
[80]
[82]
[84]
[86]
[88]
[90]
[92]
[94]
[96]
[98]
[100]
[102]
[104]
[106]
[108]
[110]
[112]
[114]
[116]
[118]
[120]
[122]
[124]
[126]
.
[132 - 135]
[140 - 143]
[164 - 167]
[172 - 175]
[196 - 199]
[204 - 207]
[228 - 231]
[236 - 239]
.
[46]
[110]
[174]
[238]
.
[77]
[79]
[109]
[111]
[205]
[207]
[237]
[239]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 0.132.46.77 126.107.192.162
Result Breakdown:
IP & WildCard Octet 1
[4.173.110.239 with WildCard mask 126.107.192.162]
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: 4 0 0 0 0 0 1 0 0
WC:(?) 126 0 1 1 1 1 1 1 0
= = = = = = = =
Bit pattern:(?) 0 0 or 1 0 or 1 0 or 1 0 or 1 0 or 1 0 or 1 0

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

IP & WildCard Octet 3
[4.173.110.239 with WildCard mask 126.107.192.162]
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: 110 0 1 1 0 1 1 1 0
WC:(?) 192 1 1 0 0 0 0 0 0
= = = = = = = =
Bit pattern:(?) 0 or 1 0 or 1 1 0 1 1 1 0

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