Tools – Wildcard Calculator

IP: 74.232.96.202 Wildcard Mask:34.235.134.112
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 74.232.96.202
01001010
.
11101000
.
01100000
.
11001010
Wildcard Mask 34.235.134.112
00100010
.
11101011
.
10000110
.
01110000
Bit Pattern 01?010?0 . ???0?0?? . ?1100??0 . 1???1010
Networks Matched in [brackets]
(examples)
[72]
[74]
[104]
[106]
.
[0 - 3]
[8 - 11]
[32 - 35]
[40 - 43]
[64 - 67]
[72 - 75]
[96 - 99]
[104 - 107]
[128 - 131]
[136 - 139]
[160 - 163]
[168 - 171]
[192 - 195]
[200 - 203]
[224 - 227]
[232 - 235]
.
[96]
[98]
[100]
[102]
[224]
[226]
[228]
[230]
.
[138]
[154]
[170]
[186]
[202]
[218]
[234]
[250]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 72.0.96.138 34.235.134.112
Result Breakdown:
IP & WildCard Octet 1
[74.232.96.202 with WildCard mask 34.235.134.112]
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:(?) 34 0 0 1 0 0 0 1 0
= = = = = = = =
Bit pattern:(?) 0 1 0 or 1 0 1 0 0 or 1 0

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

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

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