Tools – Wildcard Calculator

IP: 158.132.202.239 Wildcard Mask:58.75.177.216
[WildCard calculations for Cisco Devices, support for others to be added.]
Octet 1
Octet 2
Octet 3
Octet 4
IP 158.132.202.239
10011110
.
10000100
.
11001010
.
11101111
Wildcard Mask 58.75.177.216
00111010
.
01001011
.
10110001
.
11011000
Bit Pattern 10???1?0 . 1?00?1?? . ?1??101? . ??1??111
Networks Matched in [brackets]
(examples)
[132]
[134]
[140]
[142]
[148]
[150]
[156]
[158]
[164]
[166]
[172]
[174]
[180]
[182]
[188]
[190]
.
[132 - 135]
[140 - 143]
[196 - 199]
[204 - 207]
.
[74 - 75]
[90 - 91]
[106 - 107]
[122 - 123]
[202 - 203]
[218 - 219]
[234 - 235]
[250 - 251]
.
[39]
[47]
[55]
[63]
[103]
[111]
[119]
[127]
[167]
[175]
[183]
[191]
[231]
[239]
[247]
[255]
Entry for Cisco Standard access-list:
ip access-list standard IPV4.AS
permit 132.132.74.39 58.75.177.216
Result Breakdown:
IP & WildCard Octet 1
[158.132.202.239 with WildCard mask 58.75.177.216]
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: 158 1 0 0 1 1 1 1 0
WC:(?) 58 0 0 1 1 1 0 1 0
= = = = = = = =
Bit pattern:(?) 1 0 0 or 1 0 or 1 0 or 1 1 0 or 1 0

IP & WildCard Octet 2
[158.132.202.239 with WildCard mask 58.75.177.216]
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: 132 1 0 0 0 0 1 0 0
WC:(?) 75 0 1 0 0 1 0 1 1
= = = = = = = =
Bit pattern:(?) 1 0 or 1 0 0 0 or 1 1 0 or 1 0 or 1

IP & WildCard Octet 3
[158.132.202.239 with WildCard mask 58.75.177.216]
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: 202 1 1 0 0 1 0 1 0
WC:(?) 177 1 0 1 1 0 0 0 1
= = = = = = = =
Bit pattern:(?) 0 or 1 1 0 or 1 0 or 1 1 0 1 0 or 1

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