Solved

Netmask

Posted on 1998-11-01
6
580 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
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 100 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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

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