Tools – Wildcard Calculator

IP: 150.123.160.229 Wildcard Mask:24.142.203.201
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 150.123.160.229
10010110
.
01111011
.
10100000
.
11100101
Wildcard Mask 24.142.203.201
00011000
.
10001110
.
11001011
.
11001001
Bit Pattern 100??110 . ?111???1 . ??10?0?? . ??10?10?
Networks Matched in [brackets]
(examples)
[134]
[142]
[150]
[158]
.
[113]
[115]
[117]
[119]
[121]
[123]
[125]
[127]
[241]
[243]
[245]
[247]
[249]
[251]
[253]
[255]
.
[32 - 35]
[40 - 43]
[96 - 99]
[104 - 107]
[160 - 163]
[168 - 171]
[224 - 227]
[232 - 235]
.
[36 - 37]
[44 - 45]
[100 - 101]
[108 - 109]
[164 - 165]
[172 - 173]
[228 - 229]
[236 - 237]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 134.113.32.36 24.142.203.201
Result Breakdown:
IP & WildCard Octet 1
[150.123.160.229 with WildCard mask 24.142.203.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: 150 1 0 0 1 0 1 1 0
WC:(?) 24 0 0 0 1 1 0 0 0
= = = = = = = =
Bit pattern:(?) 1 0 0 0 or 1 0 or 1 1 1 0

IP & WildCard Octet 2
[150.123.160.229 with WildCard mask 24.142.203.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: 123 0 1 1 1 1 0 1 1
WC:(?) 142 1 0 0 0 1 1 1 0
= = = = = = = =
Bit pattern:(?) 0 or 1 1 1 1 0 or 1 0 or 1 0 or 1 1

IP & WildCard Octet 3
[150.123.160.229 with WildCard mask 24.142.203.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: 160 1 0 1 0 0 0 0 0
WC:(?) 203 1 1 0 0 1 0 1 1
= = = = = = = =
Bit pattern:(?) 0 or 1 0 or 1 1 0 0 or 1 0 0 or 1 0 or 1

IP & WildCard Octet 4
[150.123.160.229 with WildCard mask 24.142.203.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: 229 1 1 1 0 0 1 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 1 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 *