Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 612
  • Last Modified:

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
0
Sieger
Asked:
Sieger
  • 5
  • 4
  • 2
1 Solution
 
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 5
  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now