Tools – Wildcard Calculator

IP: 47.175.242.78 Wildcard Mask:167.242.121.4
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 47.175.242.78
00101111
.
10101111
.
11110010
.
01001110
Wildcard Mask 167.242.121.4
10100111
.
11110010
.
01111001
.
00000100
Bit Pattern ?0?01??? . ????11?1 . 1????01? . 01001?10
Networks Matched in [brackets]
(examples)
[8 - 15]
[40 - 47]
[136 - 143]
[168 - 175]
.
[13]
[15]
[29]
[31]
[45]
[47]
[61]
[63]
[77]
[79]
[93]
[95]
[109]
[111]
[125]
[127]
[141]
[143]
[157]
[159]
[173]
[175]
[189]
[191]
[205]
[207]
[221]
[223]
[237]
[239]
[253]
[255]
.
[130 - 131]
[138 - 139]
[146 - 147]
[154 - 155]
[162 - 163]
[170 - 171]
[178 - 179]
[186 - 187]
[194 - 195]
[202 - 203]
[210 - 211]
[218 - 219]
[226 - 227]
[234 - 235]
[242 - 243]
[250 - 251]
.
[74]
[78]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 8.13.130.74 167.242.121.4
Result Breakdown:
IP & WildCard Octet 1
[47.175.242.78 with WildCard mask 167.242.121.4]
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: 47 0 0 1 0 1 1 1 1
WC:(?) 167 1 0 1 0 0 1 1 1
= = = = = = = =
Bit pattern:(?) 0 or 1 0 0 or 1 0 1 0 or 1 0 or 1 0 or 1

IP & WildCard Octet 2
[47.175.242.78 with WildCard mask 167.242.121.4]
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: 175 1 0 1 0 1 1 1 1
WC:(?) 242 1 1 1 1 0 0 1 0
= = = = = = = =
Bit pattern:(?) 0 or 1 0 or 1 0 or 1 0 or 1 1 1 0 or 1 1

IP & WildCard Octet 3
[47.175.242.78 with WildCard mask 167.242.121.4]
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: 242 1 1 1 1 0 0 1 0
WC:(?) 121 0 1 1 1 1 0 0 1
= = = = = = = =
Bit pattern:(?) 1 0 or 1 0 or 1 0 or 1 0 or 1 0 1 0 or 1

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