?
Solved

Netmask

Posted on 1998-11-01
6
Medium Priority
?
601 Views
Last Modified: 2010-03-18
What would the netmask be for each of three subnets using a fraction part of a block of ip numbers such as 192.168.10.nnn?
0
Comment
Question by:jude53
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 5

Expert Comment

by:JBURGHARDT
ID: 1587613
255.255.255.0
0
 
LVL 4

Expert Comment

by:davidmwilliams
ID: 1587614
 Oh well, JBurghardt beat me to answering the question ... what he said is exactly right, 255.255.255.0 is the netmask for the situation you describe.
0
 

Accepted Solution

by:
schmox earned 200 total points
ID: 1587615
192.168.10.xxx would be a class C network, which means that the first three octets are fixed and the last one is variable.
Yes, indeed, for a class C subnet, the netmask is 255.255.255.0
A class B network, for example, would have a variable part of two octets, hence a subnet mask of 255.255.0.0

Cheers,
schmox
0
Understanding Linux Permissions

Linux for beginners: How to view the permissions associated with files and directories and also how you can change them.

 

Author Comment

by:jude53
ID: 1587616
Thanks to all of you for your attention but,
I understand the netmask for a class c network. What I needed to know is, what would be the netmask for three subnets set up as a portion of the original host and what would their ip addresses be given my first example?
0
 

Expert Comment

by:zouying
ID: 1587617
You have only 254 addressed to subnet, If you choose 255.255.255.252 as you subnet mask,  that means, the addresses 192.168.10.254,192.168.10.253 and will be the same subnet.

0
 

Expert Comment

by:schmox
ID: 1587618
OK, got it now. So you don't want the whole 192.168.10.nnn class C network, but you want to divide it into smaller subnets, right?
First of all, you can divide the last octet to get 2, 6, 14, 30 or 62 subnets. If you need 3 subnets, you'd have to take 6. Your subnet mask would be 255.255.255.224 and you would have 30 hosts per subnet. Specifically, the subnets would be:

1.
subnet address: 192.168.10.0
netmask: 255.255.255.224
hosts: 192.168.10.1 through 192.168.10.30
broadcast address: 192.168.10.31
2.
subnet address: 192.168.10.32
netmask: 255.255.255.224 (same for all subnets)
hosts: 192.168.10.33 through 192.168.10.62
broadcast address: 192.168.10.63
3.
and so on...

For more calculations, you need a Java-capable browser and the following URL:
http://www.ccci.com/subcalc/subcalc.htm

Guess that was the answer...

Cheers,
Schmox
0

Featured Post

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses
Course of the Month10 days, 21 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question