- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
04-01-2024 09:14 AM
Hi guys,
I work for a retail company. We have a bunch of subnets in our different stores where the 3rd octect is a different odd number. Like so -
10.218.1.0/25
10.218.3.0/25
10.218.5.0/25
...
10.219.253.0/25
I'm creating a security rule that will allow all these subnets to talk to a vendor. I'd rather not create an address for all these slash 25s, so I'm trying to figure out a wildcard mask I can use that covers all the networks I need. One guy told me to use 10.218.1.128/0.15.254.127 and another guy said 10.218.1.0/0.0.0.127 would work. I don't know much about subnetting but it doesn't seem like either of these are working in our firewalls. Anyone got any ideas?
Cheers
04-01-2024 11:52 AM - edited 04-01-2024 11:53 AM
Hello,
So to clarify you want an object containing all of 10.218.0.0-10.218.255.255? If so you could do a few different things:
IP Netmask (correction from the image, it would be /16):
IP Range:
Wildcard (correction from the image, it would be 0.0.255.255):
04-01-2024 12:00 PM - edited 04-01-2024 12:01 PM
Without writing it out in binary, I think 10.218.1.0 / 0.0.254.255 should cover it.
First 2 octets must match.
For an address to be odd, there needs to be a match in the final bit, meaning 0 in that spot in a wildcard mask. (Every other bit is a power of 2, so adding 1 to any other combination will make it odd)
Last octet doesn't have to match anything, so any host is permitted.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!