Tools – Wildcard Calculator

IP: 30.111.140.169 Wildcard Mask:174.49.172.201
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 30.111.140.169
00011110
.
01101111
.
10001100
.
10101001
Wildcard Mask 174.49.172.201
10101110
.
00110001
.
10101100
.
11001001
Bit Pattern ?0?1???0 . 01??111? . ?0?0??00 . ??10?00?
Networks Matched in [brackets]
(examples)
[16]
[18]
[20]
[22]
[24]
[26]
[28]
[30]
[48]
[50]
[52]
[54]
[56]
[58]
[60]
[62]
[144]
[146]
[148]
[150]
[152]
[154]
[156]
[158]
[176]
[178]
[180]
[182]
[184]
[186]
[188]
[190]
.
[78 - 79]
[94 - 95]
[110 - 111]
[126 - 127]
.
[0]
[4]
[8]
[12]
[32]
[36]
[40]
[44]
[128]
[132]
[136]
[140]
[160]
[164]
[168]
[172]
.
[32 - 33]
[40 - 41]
[96 - 97]
[104 - 105]
[160 - 161]
[168 - 169]
[224 - 225]
[232 - 233]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 16.78.0.32 174.49.172.201
Result Breakdown:
IP & WildCard Octet 1
[30.111.140.169 with WildCard mask 174.49.172.201]
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: 30 0 0 0 1 1 1 1 0
WC:(?) 174 1 0 1 0 1 1 1 0
= = = = = = = =
Bit pattern:(?) 0 or 1 0 0 or 1 1 0 or 1 0 or 1 0 or 1 0

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

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

IP & WildCard Octet 4
[30.111.140.169 with WildCard mask 174.49.172.201]
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: 169 1 0 1 0 1 0 0 1
WC:(?) 201 1 1 0 0 1 0 0 1
= = = = = = = =
Bit pattern:(?) 0 or 1 0 or 1 1 0 0 or 1 0 0 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 *