Tools – Wildcard Calculator

IP: 8.176.134.150 Wildcard Mask:108.91.124.43
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 8.176.134.150
00001000
.
10110000
.
10000110
.
10010110
Wildcard Mask 108.91.124.43
01101100
.
01011011
.
01111100
.
00101011
Bit Pattern 0??0??00 . 1?1??0?? . 1?????10 . 10?1?1??
Networks Matched in [brackets]
(examples)
[0]
[4]
[8]
[12]
[32]
[36]
[40]
[44]
[64]
[68]
[72]
[76]
[96]
[100]
[104]
[108]
.
[160 - 163]
[168 - 171]
[176 - 179]
[184 - 187]
[224 - 227]
[232 - 235]
[240 - 243]
[248 - 251]
.
[130]
[134]
[138]
[142]
[146]
[150]
[154]
[158]
[162]
[166]
[170]
[174]
[178]
[182]
[186]
[190]
[194]
[198]
[202]
[206]
[210]
[214]
[218]
[222]
[226]
[230]
[234]
[238]
[242]
[246]
[250]
[254]
.
[148 - 151]
[156 - 159]
[180 - 183]
[188 - 191]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 0.160.130.148 108.91.124.43
Result Breakdown:
IP & WildCard Octet 1
[8.176.134.150 with WildCard mask 108.91.124.43]
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: 8 0 0 0 0 1 0 0 0
WC:(?) 108 0 1 1 0 1 1 0 0
= = = = = = = =
Bit pattern:(?) 0 0 or 1 0 or 1 0 0 or 1 0 or 1 0 0

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

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

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