Tools – Wildcard Calculator

IP: 126.229.51.101 Wildcard Mask:147.62.185.103
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 126.229.51.101
01111110
.
11100101
.
00110011
.
01100101
Wildcard Mask 147.62.185.103
10010011
.
00111110
.
10111001
.
01100111
Bit Pattern ?11?11?? . 11?????1 . ?0???01? . 0??00???
Networks Matched in [brackets]
(examples)
[108 - 111]
[124 - 127]
[236 - 239]
[252 - 255]
.
[193]
[195]
[197]
[199]
[201]
[203]
[205]
[207]
[209]
[211]
[213]
[215]
[217]
[219]
[221]
[223]
[225]
[227]
[229]
[231]
[233]
[235]
[237]
[239]
[241]
[243]
[245]
[247]
[249]
[251]
[253]
[255]
.
[2 - 3]
[10 - 11]
[18 - 19]
[26 - 27]
[34 - 35]
[42 - 43]
[50 - 51]
[58 - 59]
[130 - 131]
[138 - 139]
[146 - 147]
[154 - 155]
[162 - 163]
[170 - 171]
[178 - 179]
[186 - 187]
.
[0 - 7]
[32 - 39]
[64 - 71]
[96 - 103]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 108.193.2.0 147.62.185.103
Result Breakdown:
IP & WildCard Octet 1
[126.229.51.101 with WildCard mask 147.62.185.103]
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: 126 0 1 1 1 1 1 1 0
WC:(?) 147 1 0 0 1 0 0 1 1
= = = = = = = =
Bit pattern:(?) 0 or 1 1 1 0 or 1 1 1 0 or 1 0 or 1

IP & WildCard Octet 2
[126.229.51.101 with WildCard mask 147.62.185.103]
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:(?) 62 0 0 1 1 1 1 1 0
= = = = = = = =
Bit pattern:(?) 1 1 0 or 1 0 or 1 0 or 1 0 or 1 0 or 1 1

IP & WildCard Octet 3
[126.229.51.101 with WildCard mask 147.62.185.103]
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: 51 0 0 1 1 0 0 1 1
WC:(?) 185 1 0 1 1 1 0 0 1
= = = = = = = =
Bit pattern:(?) 0 or 1 0 0 or 1 0 or 1 0 or 1 0 1 0 or 1

IP & WildCard Octet 4
[126.229.51.101 with WildCard mask 147.62.185.103]
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: 101 0 1 1 0 0 1 0 1
WC:(?) 103 0 1 1 0 0 1 1 1
= = = = = = = =
Bit pattern:(?) 0 0 or 1 0 or 1 0 0 0 or 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 *