Subnet Mask address...

HI: I am trying to figure out the subnet mask address for my network...  our network IPs are between 33 to 62

and everything else in that network are not ours and must be excluded.  What should I use as our subnet mask?
Thanks
LVL 1
SiegerAsked:
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.

jlove1Commented:
255.255.255.227

256 - (62 - 33)


There ya go.. hope this helps :-)
For more info e-mail jlove1@email.usps.gov
0
sniderdCommented:
Actually, the mask is 255.255.255.224

I used 202.224.224.0 as an example Class C address

Here are your subnets

Subnet           Hosts            Hosts            Broadcast
Address          From             To               Address
202.224.224.0    202.224.224.1    202.224.224.30   202.224.224.31
202.224.224.32   202.224.224.33   202.224.224.62   202.224.224.63
202.224.224.64   202.224.224.65   202.224.224.94   202.224.224.95
202.224.224.96   202.224.224.97   202.224.224.126 202.224.224.127
202.224.224.128  202.224.224.129  202.224.224.158 202.224.224.159
202.224.224.160  202.224.224.161  202.224.224.190 202.224.224.191
202.224.224.192  202.224.224.193  202.224.224.222 202.224.224.223
202.224.224.224  202.224.224.225  202.224.224.254 202.224.224.255

Don't use subnet 0 (unless using ip subnet-zero command) and subnet 7.
Address space wasted by subnetting =  29.13% ( 17.32% with ip subnet-zero)
0
SiegerAuthor Commented:
Sindred, the table is very helpful.  but for what I saw there.. the 202.224.224.32 seems
exactly what I wanted.. isn't it the one rather than 202.224.224.224?
0
Exploring SQL Server 2016: Fundamentals

Learn the fundamentals of Microsoft SQL Server, a relational database management system that stores and retrieves data when requested by other software applications.

SiegerAuthor Commented:
oops I am sorry.. I don't know what the heck i was talking about :)

0
SiegerAuthor Commented:
What I wanna say is am I supposed to define 202.224.224.32 as my network if the addresses ranged from 202.224.224.33 to 202.224.224.62 rather than 202.224.224.0?
0
jlove1Commented:
I'll tell you this much: the first part WILL BE
255.255.255.SOMETHING OR OTHER

Now, secondly.. did the list of IPs that you gave me include the router and broadcast address? If so, then the SUBNETMASK should be
255.255.227.. if not then the 255.255.224 will be correct.
let me know
tanx
0
SiegerAuthor Commented:
alright.. 33 is the route, 62 is the last IP I can assign to a machine.. so 63 is the boardcast..
0
sniderdCommented:
That is the subnet you are using. You are using a Class C IP address of 202.224.224.0 in this example.

The subnet mask is 255.255.255.224

If you are using 202.224.224.33 - 202.224.224.62, those are the available IP addresses on subnet or network 202.224.224.32, your broadcast address is 202.224.224.63

This mask creates six seperate usable subnets with 30 hosts on each.

When seting up a PC or other host, use one of the thirty addresses. When documenting your network, refer tp this as subnet/network 202.224.224.32

Does this help ???
0
SiegerAuthor Commented:
sindred please answer the Q so I can give you credit..  jLove1, thanks for you help too but I think Sindred got a slightly better answer....
0
sniderdCommented:
jlove1 : If you ever get 255.255.255.227 to work as a subnet mask, you will have invented an entirely new version of TCP/IP which I am sure everyone will be interested to learn about. Until then, that mask will never work.

Any address within that address range could be the router address, it does not have to be the first address in the subnet.

x.x.x.63 is your broadcast address
0
sniderdCommented:
OK, Thanks.
0

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
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
Windows Networking

From novice to tech pro — start learning today.