Tools – Wildcard Calculator

IP: 126.57.96.120 Wildcard Mask:60.121.35.202
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 126.57.96.120
01111110
.
00111001
.
01100000
.
01111000
Wildcard Mask 60.121.35.202
00111100
.
01111001
.
00100011
.
11001010
Bit Pattern 01????10 . 0????00? . 01?000?? . ??11?0?0
Networks Matched in [brackets]
(examples)
[66]
[70]
[74]
[78]
[82]
[86]
[90]
[94]
[98]
[102]
[106]
[110]
[114]
[118]
[122]
[126]
.
[0 - 1]
[8 - 9]
[16 - 17]
[24 - 25]
[32 - 33]
[40 - 41]
[48 - 49]
[56 - 57]
[64 - 65]
[72 - 73]
[80 - 81]
[88 - 89]
[96 - 97]
[104 - 105]
[112 - 113]
[120 - 121]
.
[64 - 67]
[96 - 99]
.
[48]
[50]
[56]
[58]
[112]
[114]
[120]
[122]
[176]
[178]
[184]
[186]
[240]
[242]
[248]
[250]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 66.0.64.48 60.121.35.202
Result Breakdown:
IP & WildCard Octet 1
[126.57.96.120 with WildCard mask 60.121.35.202]
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: 126 0 1 1 1 1 1 1 0
WC:(?) 60 0 0 1 1 1 1 0 0
= = = = = = = =
Bit pattern:(?) 0 1 0 or 1 0 or 1 0 or 1 0 or 1 1 0

IP & WildCard Octet 2
[126.57.96.120 with WildCard mask 60.121.35.202]
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: 57 0 0 1 1 1 0 0 1
WC:(?) 121 0 1 1 1 1 0 0 1
= = = = = = = =
Bit pattern:(?) 0 0 or 1 0 or 1 0 or 1 0 or 1 0 0 0 or 1

IP & WildCard Octet 3
[126.57.96.120 with WildCard mask 60.121.35.202]
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: 96 0 1 1 0 0 0 0 0
WC:(?) 35 0 0 1 0 0 0 1 1
= = = = = = = =
Bit pattern:(?) 0 1 0 or 1 0 0 0 0 or 1 0 or 1

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