Discussion Locked

subnetting

0 helpful
15 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
What is the easiest way to find out what and how to subnet for class A,B,C networks.Must be able to understand your answer clearly!

15 replies

by kevin.riggs

Internet Protocol addresses are assigned as "Quad Octals". Meaning that there are 4 sets of numbers. Each set can contain a number from 0 to 255. A valid IP address may be 1.1.1.1 or 255.255.255.255
Notice the separation by periods. Each set inthe address refers to a particular subnet.
For instance:
Class A - 1.x.x.x
Class B - 1.1.x.x
Class C - 1.1.1.x

And these subnets can be broken down further. If you receive a Class A set of IP addresses then you will have one static number (the first number). You can put any number from 0 to 255 in any of the next 3 places to create a unique IP address. Therefore, 1.1.2.3 is on the same Class A as 1.2.3.4 but it is not on the same Class B (notice the difference in 1.1 and 1.2).

To delineate to your gateway hardware and OS (router with IOS or server with NT/Linux/BSD, etc) you must enter a valid IP address for the gateway and a valid subnet so that your router "knows" what IP traffic to route. The number "255" has been determined to mean "exactly the same as my own number." Therefore, a router with an IP address of 10.10.1.1 and a subnet mask of 255.255.0.0 would mean that the owner of that router should route traffic for anyone that has an IP address of 10.10.x.x to the outside world.

Some sequences of IP addresses have been reserved for "internal" usage and are used inside a router/firewall to provide large quantities of "unique" IP addresses even though the company may not actually own those addresses. The previous example of 10.10.x.x is one such sequence. You may purchase a single IP address, put it on your router/gateway and use the fake IP addresses inside your business to provide access to many computers/devices without having to purchase a unique, valid (or Static) IP address. This technique is called "spoofing," "ghosting" or just faking.

by vc

As far as with your anwser all that you told me was what IP ranges are and also the 10.10.x.x is a class A address with your 255.255.0.0 is a sub-net with 8 bits borrowed. so in actualality the correct network address would be 10.0.0.0 not 10.10.0.0. I was wanting to know how to borrow bits but subnets.

by bowieb

Kevin's answer was pretty good, but books have been written on this subject. If you have a specific example, post it and you can get a more specific answer that will be easier to follow.

by vc

I was wanting you to give me examples of how to subnet networks.

by dmiles

During some research,Icame up with a few sites that may be easier to explain subnetting
1-www.ralphb.net
2-www.hildrum.com
3-www.febo.com
4-www.freesoft.com
Also the microsoft knowledgebase will have info on TCP/IP pertaining to subnetting.

by vc

thank you for your references but I was wanting you to explain the anwser to me.

by bowieb

there is a length limit here (and a non-existent editor). Email me and I will send you a document that I wrote for my techs explaining IP subnetting. Then, I would be glad to answer any questions you have about it via email.

by vc

ok..will do. But in order for me to give you points I am going to need a answer...tell you what you give send me the report and I will read it. And then if it answers my questions then i will change your rating..k

by jscragg

Answering your question requires two very different directions in networking.

First, determining what and how to subnet a network requires an understanding of the network. What is the topology, how many hosts per subnet, etc. This phase requires familiarity with the network specs and an analysis of business requirements that you have not provided.

Second, is and understanding of the binary number system and IP addressing. The synopsis here is that you have to look at each octet as its binary equivalent and remember that the values 255 (all 1s) and 0 (all 0s) are reserved values for addressing. This leaves 254 unique values for IP addresses in any subnet.

Example:
Class C address of 227.200.200.0
Default Subnet of 255.255.255.0
Translates to 11111111.11111111.1111111.00000000

Subnet it to 255.255.128.0 (gives 2 subnets)
11111111.11111111.1000000.00000000
This provides 2 subnets with 127 Hosts each.

Subnet it to 255.255.192.0 (gives 4 subnets)
11111111.11111111.11000000.00000000
This provides 4 subnets with 63 Hosts each.

Understand the binary representation and you will understand subnetting.

by dlw6

Space limits don't permit a good answer to this. It's a 2-hour class, 3 hours if you want to use Variable Length Subnet Masks for greater versatility.

Having said that, the easiest way to understand what and how to subnet for a network would be to use a "cheater chart," a chart that lays out each subnet mask. For each mask, the chart shows the number of subnets, what the subnets are, and the legal host addresses within the subnet.

I have such a chart which I use for teaching and to assign subnets for concurrent missions. If you e-mail me I will share that with you and, if it meets your need, you can rate my answer.

Good fortune,
Don

by purfect3

VC,
The easiest way I know to completely understand the different classes & how to subnet correctly is the way that I learned. Go to http://3com.com/nsc/501302.html. The name of the document is "Understanding IP addressing: Everything you ever wanted to know". After taking a TCP/IP course, I found that this site was 500% better than the course description of classfull addressing. They even ask you questions along the way in the index's. Try it. I'd be lost without it. Sam

This discussion is closed to new replies.