Tools – Wildcard Calculator

IP: 168.7.60.243 Wildcard Mask:57.200.115.217
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 168.7.60.243
10101000
.
00000111
.
00111100
.
11110011
Wildcard Mask 57.200.115.217
00111001
.
11001000
.
01110011
.
11011001
Bit Pattern 10???00? . ??00?111 . 0???11?? . ??1??01?
Networks Matched in [brackets]
(examples)
[128 - 129]
[136 - 137]
[144 - 145]
[152 - 153]
[160 - 161]
[168 - 169]
[176 - 177]
[184 - 185]
.
[7]
[15]
[71]
[79]
[135]
[143]
[199]
[207]
.
[12 - 15]
[28 - 31]
[44 - 47]
[60 - 63]
[76 - 79]
[92 - 95]
[108 - 111]
[124 - 127]
.
[34 - 35]
[42 - 43]
[50 - 51]
[58 - 59]
[98 - 99]
[106 - 107]
[114 - 115]
[122 - 123]
[162 - 163]
[170 - 171]
[178 - 179]
[186 - 187]
[226 - 227]
[234 - 235]
[242 - 243]
[250 - 251]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 128.7.12.34 57.200.115.217
Result Breakdown:
IP & WildCard Octet 1
[168.7.60.243 with WildCard mask 57.200.115.217]
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: 168 1 0 1 0 1 0 0 0
WC:(?) 57 0 0 1 1 1 0 0 1
= = = = = = = =
Bit pattern:(?) 1 0 0 or 1 0 or 1 0 or 1 0 0 0 or 1

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

IP & WildCard Octet 3
[168.7.60.243 with WildCard mask 57.200.115.217]
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: 60 0 0 1 1 1 1 0 0
WC:(?) 115 0 1 1 1 0 0 1 1
= = = = = = = =
Bit pattern:(?) 0 0 or 1 0 or 1 0 or 1 1 1 0 or 1 0 or 1

IP & WildCard Octet 4
[168.7.60.243 with WildCard mask 57.200.115.217]
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: 243 1 1 1 1 0 0 1 1
WC:(?) 217 1 1 0 1 1 0 0 1
= = = = = = = =
Bit pattern:(?) 0 or 1 0 or 1 1 0 or 1 0 or 1 0 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 *