wildcard mask help on cisco router

I need to make a wildcard mask for the range of 192.168.1.32 to 192.168.1.68

How would i do the wild card mask?

Thanks
iamuserAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

minmeiCommented:

192.168.1.32 to 192.168.1.63 would be:

32 is 00100000, 63 is 00111111,

wildcard mask is 0.0.0.31, so command is 192.168.1.32 0.0.0.31

but this would only get you addresses up to 63, not 68.

mask of 0.0.0.63 would get you up to 127, but expand both directions to 1 and to 127.

.32 to .68 is not on a subnet boundary.

You could use three statements...

192.168.1.32 0.0.0.31 (192.168.1.32-63)
192.168.1.64 0.0.0.4 (192.168.1.64-67)
192.168.1.68 0.0.0.0 (192.168.1.68)

That would work.
iamuserAuthor Commented:
shouldn't the middle one be 0.0.0.3 instead of 4?

what about this?

0.0.0.31
0.0.0.3
0.0.0.1

Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

minmeiCommented:
yep - my bad

But if you are correcting me, what good is asking the question? :)

iamuserAuthor Commented:
i wasn't sure and instead of blowing something up i decided to just play it safe :D

actually is the last one possible ? 192.168.1.68 0.0.0.1

I mean is it the same as 192.168.1.68 0.0.0.0

thanks
minmeiCommented:
The last one is possible

wildcard mask having any bits set means it is a wild card and will match a 1 or a 0

so 0.0.0.0 means match it exactly - no wildcard bits.

0.0.0.1 means match it up to the last bit, which could be either 0 or 1

192.168.1.68 0.0.0.0 matches 192.168.1.68 only,

192.168.1.68 0.0.0.1 matches 192.168.1.68 and 192.168.1.69

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
iamuserAuthor Commented:
ahhh thanks in this case then 0.0.0.0 would probably be what i'm looking for since i don't want  to mask out 69

thanks
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Routers

From novice to tech pro — start learning today.