Solved

general IP subnetting

Posted on 2013-06-07
9
402 Views
Last Modified: 2013-07-09
I want to create a network that I can grow with, want to use class B (/16) subnet with network number 10.10.0.0. I need about 12 networks subnet, several subnets need more than 254 IP (say about 400 IP). Can someone give me a break down of the 12 networks for 10.10.0.0?
thanks
0
Comment
Question by:officertango
  • 3
  • 2
  • 2
  • +2
9 Comments
 
LVL 57

Expert Comment

by:giltjr
ID: 39230969
Why do you think you need 400 hosts in the same subnet?  Are they using sometype of non-routable protocol?

Any way, a subnet mask of 255.255.254.0 will give you 510 hosts.

You can start with 10.10.0.0/23 then go to 10.10.2.0/23, then 10.10.4.0/23, continue increasing the 3rd octect by 2 until you have 12.
0
 
LVL 13

Expert Comment

by:Sandy
ID: 39231724
2^n -2 = 2^4 -2 = 14 networks

10.0.0.0/12

Cheers
SA
0
 

Author Comment

by:officertango
ID: 39232408
So if I have 10.106.0.0/16, I can sub net it down to say 10.106.1.0/32 for one network and another say 10.106.2.0/255.255.254.0. Is it bad to have subnet with 510 hosts?

Thanks
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 57

Assisted Solution

by:giltjr
giltjr earned 250 total points
ID: 39232432
Yes you could use 10.106.1.0/24 and 10.106.2.0/23, remember you can also use 10.106.0.0/24.

It's not that it is bad, just that using a /24 (255.255.255.0) is typically easier for most  people to understand and deal with.

You don't know how many times I have had to explain that just because an IP address  is ".0" or ".255" does not mean it can't be assigned to a host or just because an IP address is NOT ".0" or ".255" that it can't be a network/broadcast address.  A lot of people just don't understand what subnet masks are and how they work.

I find it easier just to use /24's and it saves a lot of time and generally makes no real difference.

Since you are going to have multiple subnets, you are going to have a "router."  Since you are going to have a router there is no reason to use a /23 unless you are using a protocol that can't be routed, like NETBIOS.  I would suggest that instead of getting  "real router" that you get a L3 switch.  L3 switches "route" L3 traffic just as fast as they switch L2 traffic.
0
 
LVL 11

Expert Comment

by:naderz
ID: 39233213
In your original post you had mentioned 10.10.0.0 and then later 10.106.0.0. I am going to go with your latest: 10.106.0.0

Minor note on Class terminology: Class B addresses are within the range : 128.0.0.0 to 191.255.255.254. A 10.106.0.0 is actually a Class A address. Your 10.106.0.0 would a subnet withing the Class A. Not important, but then again.

If you start with 10.106.0.0 and use /24 subnet mask across the board you will end up with subnets: 10.106.0.0 through 10.106.255.0 with each subnet having 254 host addresses. That's 256 subnets (counting subnet 0).

That should be your template for your network allowing you to grow as needed.

From there you can change the subnet mask to increase or decrease the number of host.

What you have to remember and make sure you have planned well is where the subnet's host addresses start and where they end.

For example:

Subnet 1 =>   10.106.1.0/24   Hosts: 10.106.1.1 to 10.106.1.254 (254 addresses)
Subnet 2 =>   10.106.2.0/24   Hosts: 10.106.2.1 to 10.106.2.254 (254 addresses)

Subnet 3 =>   10.106.3.0/23   Hosts: 10.106.3.1 to 10.106.4.254 (510 addresses)

Subnet 4 =>   10.106.5.0/24   Hosts: 10.106.5.1 to 10.106.5.254 (254 addresses)

Subnet 5 =>   10.106.6.0/23   Hosts: 10.106.6.1 to 10.106.7.254 (510 addresses)

Subnet 6 =>   10.106.8.0/25   Hosts:  10.106.8.1 to 10.106.8.126 (126 addresses)

Subnet 7 =>   10.106.8.128/25 Hosts:   10.106.8.129 to 10.106.8.254 (126 Addresses)

Subnet 8 =>   10.106.9.0/24   Hosts:   10.106.9.1 to 10.106.9.254 (254 addresses)


Next one can start at 10.106.10.0 and so on depending on the subnet mask.
0
 

Author Comment

by:officertango
ID: 39233431
How did you know 10.106.0.0 is class A? Should I not subnet anything greater than 254 hosts of I  have layer 3 switch to route vlan.
Thanx to help me understand
0
 
LVL 11

Expert Comment

by:naderz
ID: 39233441
By RFC 791 definition:

Class A    0.0.0.0       to   127.255.255.254
Class B    128.0.0.0   to   191.255.255.254
Class C    192.0.0.0   to   223.255.255.254

And, there are more Classes. See: Classful Networks

But, that does not mean you can use a 10.x.x.x however you want. You will be using it in what is known as "classless" fashion. That is perfectly fine. If you were to use a routing protocol on a Cisco router or L3 switch, you would have to specify "ip classless". So, if you are using a Cisco device (L3 switch or router) make sure that command is there even if you are not routing with a routing protocol. It should be default.

You can have as many variation as you want within the big subnet; e.g in this case 10.106.0.0, as long as you plan everything correctly and there are no overlaps. See my previous note.

You just need to plan everything on paper first and make sure the subnets start and end on the correct host IPs.
0
 
LVL 12

Expert Comment

by:TomRScott
ID: 39233550
Also check out RFC 1918:
http://tools.ietf.org/html/rfc1918

Search for "Private Address Space" and you will find the address blocks reserved for private networking.

This address space is often referred to as "non-routable" as it is NOT supposed to route on the Internet proper, just in private networks allowing these addresses to be reused by private entities (behind firewalls using Network Address Translation) conserving "public" addressing for the public (Internet) arena.
Using the above reference, you will find that for a Class B subnet (16 bit mask) you may use a subnet address template of 172.x.0.0 where x may be in the range of 16-31.

For a "Custom" Class B subnet (17-23 bit mask) you would also use subnet addresses in that range.

 - Tom
0
 
LVL 11

Accepted Solution

by:
naderz earned 250 total points
ID: 39233564
And, you could use 192.168.0.0 (Class C) and subnet as you like with the same example I had posted before. The point is to not get bogged down by terminology but be aware of what they mean so that you can improvise accordingly.
 
You can use 10.106.0.0 just fine as long as you observe the subnettng rules.
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Accessing two networks from one PC 30 110
When syspreping a clone machine 7 47
Changing password for HP switch 5 37
tamper proof asset tags - benefits 4 23
Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

839 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