Home > Networking Tips > > Protocols, Lesson 6: IP subnetting - The basic concepts
Networking Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 


Protocols, Lesson 6: IP subnetting - The basic concepts


Firewall.cx
10.13.2004
Rating: -4.70- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


What is subnetting?

When we subnet a network, we basically split it into smaller networks. For example, when a set of IP addresses is given to a company, the company might want to "break" (the correct term is "partition") that one network into smaller ones, one for each department. This way, the technical department and management department can each have a small network of their own. By subnetting the network, we can partition it to as many smaller networks as we need. This also helps reduce traffic and hides the complexity of the network.

By default, all type of classes (A, B and C) have a subnet mask; we call it the default subnet mask. You need to have one because:

1) All computers need the subnet mask field filled when configuring IP

2) You need to set some logical boundaries in your network

3) You should at least enter the default subnet mask for the class you're using

In the previous pages I spoke about IP classes, network IDs and host IDs. The subnet mask is what determines the network ID and host ID portion of an IP address.

The table below shows clearly the subnet mask that applies for each network class.


When dealing with subnet masks in the real world, we are free in most cases to use any type of subnet mask in order to meet our needs. If, for example, we require one network which can contain up to 254 computers, then a class C network with its default subnet mask will do fine. If we need more, then we might consider a class B network with its default subnet mask.

Note that the default subnet masks have been set by the IEEE committee, the same guys that set and approve the different standards and protocols.

We will have a closer look at this later on and see how we can achieve a class C network with more than 254 hosts.

Understanding the concept

Let's stop here for one moment and have a look at what I mean by partitioning one network into smaller ones by using different subnet masks.

The picture below shows our example network (192.168.0.0). All computers here have been configured with the default class C subnet mask (255.255.255.0):


Because of the subnet mask we used, all these computers are part of the one network marked in blue. This also means that any one of these hosts (computers, router and server) can communicate with each other.

If we now wanted to partition this network into smaller segments, then we would need to change the subnet mask appropriately so we can get the desired result. Let's say we needed to change the subnet mask from 255.255.255.0 to 255.255.255.224 on each configured host.

The picture below shows us how the computers will see the network once the subnet mask has changed:


In reality, we have just created eight networks from the one large (blue) network we had, but I am keeping things simple for now and showing only two of these smaller networks because I want you to understand the concept of subnetting and see how important the subnet mask is.

In the following pages we'll analyze in great depth the way subnetting works and how to calculate it. It is very important that you understand the concepts introduced in this section, so make sure you do, before continuing!

Return to the introduction or continue to Lesson 7.



Click over to Firewall.cx for more articles like this one. You don't have to register or jump through any hoops. All you do is get the networking information you want. Copyright 2004 Firewall.cx.

Rate this Tip
To rate tips, you must be a member of SearchNetworking.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Networking Basics
Network management frameworks: FCAPS and ITIL
What is a logical network? How do you improve one?
Interop Las Vegas 2008: Special news coverage
Networking podcasts
The IT Guy: Networking comics
Can users on my LAN view my computer from other machines?
What is basic difference between a router and a switch?
Top networking expert answers of 2007
How do you design networks to allow for future growth?
What is the procedure for assigning network addresses?
Networking Basics Research

IP Addressing
IPv4 or IPv6 -- Myths and Realities
What is a logical network? How do you improve one?
Why are IPv6's IP addresses in hexadecimal formatting?
Prevent IP address conflicts on your wireless network by managing DHCP scopes
Get IPv6 skills now rather than later
How can I check connectivity and ping between sites?
Can I connect to my wireless network and wired LAN simultaneously?
How to subnet: Subnetting calculations and shortcuts
How do IP addresses work on Layer 2 switches?
What is the procedure for assigning network addresses?

TCP/IP
Is time-to-live (TTL) thrown out in IPv6?
What is the difference between a GRE tunnel and IPsec tunnel?
How are TCP/IP and HTTP related?
How do you check if TCP/IP is installed on the system?
Assessing WAN connectivity, identifying latency for centralized application access
What protocol works on all layers of OSI?
TCP/IP troubleshooting: A structured approach -- Using Netdiag.exe
Which routers won't assign IP addresses to other subnets?
How can I define the layered approach to protocols?
What are the routing differences between IPv4 and IPv6?

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
availability  (SearchNetworking.com)
carrier detect  (SearchNetworking.com)
fiber jumper  (SearchNetworking.com)
layer 2  (SearchNetworking.com)
MAE  (SearchNetworking.com)
Network layer  (SearchNetworking.com)
networking  (SearchNetworking.com)
OSI  (SearchNetworking.com)
patch cord  (SearchNetworking.com)
staggered quadrature phase-shift keying  (SearchNetworking.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersNetworking Product Trials
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2000 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts