Our website is a computer network website that shows articles on subnets such as Understanding the Subnet Mask and Subnet: What You Need to Know Information.
IP address is a code that has host and network parts. The host bits describe a particular PC. The network prefix shows a network; its measurement lengthwise depends on the class of network. Sub-netting helps to arrange a network by splitting it to several subnets. To describe such subnets, you should take bits from the portion of host of the IP address. That also expands the network prefix. The subnet mask openly describes network and host bits as 1/0, respectively.
In this instance, we will compute a subnet mask for a PC with IP address “193.35.127.93 that goes to network with 6 subnets.
- Step 1
Verify the network class A/B/C based on IP addresses:
* If the IP addresses start with 1 - 126, it is Class A.
* If the IP addresses start with 128 - 191, it is Class B.
* If the IP addresses start with 192 - 223, it is Class C.
In our illustration, the network is class C because the IP address 193.35.127.93 begin with 192.
- Step 2
Know the number of bits required to define subnets:
* Number of subnets = (2^ # of bits) - 2. Therefore,
* Number of bits = Log2(# of subnets + 2).
In our illustration, there are 6 subnets:
* Number of bits = Log2(6 + 2) = Log2(8) = 3. 3 bits in the IP address are utilized as a subnet portion.
- Step 3
Create the subnet mask in a binary form by expanding the original subnet mask w/ subnet bits. Original subnet mask for class A - C are:
* 11111111.00000000.00000000.00000000 (Class A, network part = 8 bits)
* 11111111.11111111.00000000.00000000 (Class B, network part = 16 bits)
* 11111111.11111111.11111111.00000000 (Class C, network part = 24 bits)
In our illustration, an addition of the default “class C” subnet mask with three bits (Step 2) outcomes in the subnet mask
11111111.11111111.11111111.11100000.
- Step 4
Change the subnet mask binary to the decimal form. The binary form has 4 octets. Utilize the following rules:
* Write 255 for "1111111" octet.
* Write 0 for "00000000" octet.
* If octet has 1 and 0 utilize the formula:
Integer # is equals to (128 x n) + (64 x n) + (32 x n) + (16 x n) + (8 x n) + (4 x n) + (2 x n) + (1 x n)
Where N is “1” or “0” in the corresponding place in the sequence of octet.
In our illustration, for 11111111.11111111.11111111.11100000
11111111 = 255
11111111 = 255
11111111 = 255
11100000 = (128 x 1) + (64 x 1) + (32 x 1) + (16 x 0) + (8 x 0) + (4 x 0) + (2 x 0) + (1 x 0) = 224
The Subnet mask is “255.255.255.224”.
- Related Videos
- Related Articles
- Ask / Related Q&A




Find A Reliable Thanksgiving WoW Gold Provider Online for 2009
By: QQ1219307636 | 21/11/2009It is November here and with it comes chugging along the festive season. I guess all of you must be engrossed drawing up your shopping plans and also the list of things that you intend to buy.
Hancock Youtube
By: Chuck White | 21/11/2009The video sharing service Youtube is known for a great many things. One of the scourges that they deal with of course is that of movies and TV shows illegally uploaded onto their web site.
In VoIP - How is Encryption better than VPN Tunneling
By: ritz | 20/11/2009VoIP, for long, has been termed as a cheap and unsecure mode of communication whereby the voice packets are traversed through public internet. There is control over the packets flow and hence highly unsecure.
Make Your Business Stand out with Excellent Media Relations
By: Edward | 19/11/2009Every entrepreneur dreams to make it big in the corporate world. All business owners would definitely do everything in their power just to be known globally. Who would not want to be number one in sales and conversion? Of course, the goal of every business is to capitalize on the investment. Did you know that writing world class and first rate releases about your company would absolutely build your media relation which is the heart of advertising?
What is Web server Log File Analysis?
By: altax | 19/11/2009A log file is a file that stores all the actions in an order that occurred with a server, a device, an application. Log file is like a “black box” in an aircraft, but only difference is that log files can be used to save a crash of a server by getting the details of actions on a server or software in advance.
How quickly does your IT support respond?
By: Phil Adams-Wright | 19/11/2009Working with computers can be great for your businesses productivity, the speed and versatility of emails and being able to produce reports and spreadsheets on a computer is unmatched. The benefit of having a network to work from is that multiple members of staff can access a document easily without having to rely on people sending the file on to you.
Hiring the right IT support company – vital to your business
By: Phil Adams-Wright | 19/11/2009If you own a business or even work at a company that relies on a computer system, and in today’s world that applies to a wide range of businesses, you want to know that your business can rely on its network and servers to perform to a level that you find acceptable. To all companies no level other than the very best will do, and so you need to be sure that your IT support company will perform when it counts.
Save Money To Buy Aion Kina By Shopping Smart And Early During Thanksgiving
By: gamedreaming | 19/11/2009What are you going to spend your Thanksgiving Day? This Thanksgiving Day is more special for all Aion Online players
Life Coaching Online for Mid Life Transitions
By: Jameson Meer | 19/11/2009 | CoachingAre you searching for a good life coaching online? Do you like coaching to put you to the next stage of achievement and performance? A life coach online could make this true, and for a lot of reasons. You will know more about life coaching online, and its countless benefits.
Russian Girls Success of Online Dating
By: Jameson Meer | 19/11/2009 | DatingNowadays, if you surf the Internet for Russian girls, you will come up w/ thousands of dating services and millions of pages showing beautiful women’s profiles longing to find men from different countries.
Russian Girls Online Dating Rules
By: Jameson Meer | 19/11/2009 | DatingThere are no times in Ukraine that individuals did not have to suffer with daily survival. So, do not think that Russian girls are after your wealth. They just like to change the condition and be sure it will not happen again.
DIY Rubber flooring for Home Gym
By: Jameson Meer | 19/11/2009 | DIYIf you’re tired of going to the fitness gym and love the thought of getting a nice quality exercise in the comfort and convenience of your own home, a home gym can be perfect for you. Home gyms and fitness are really and truly two things that go hand in hand.
People desperate to lose weight quickly need this healthy diet program
By: Jameson Meer | 19/11/2009 | HealthThere are a lot of individuals looking to reduce weight quickly; of course, this article is only for desperate to lose weight quickly. Because those individuals had enough of nonstop searching for a magic and are prepared to do what it takes.
Parenting Tip Toddler Potty Training
By: Jameson Meer | 19/11/2009 | ParentingStarting potty training is just an easy part. The difficult one is dealing with it successfully so that the end result would please both the parent and the child. To be successful with the potty training process, here are parenting tips for toddler potty training.
Parenting Tip Toddler Discipline - Fussy Eaters
By: Jameson Meer | 19/11/2009 | ParentingYour toddler could be a fussy eater and refuse to try a new food. More or less half of all toddlers fit this attitude, so it’s no wonder that food matters are source of worries for parents.
Parenting Tip for Toddler Tantrums
By: Jameson Meer | 19/11/2009 | ParentingIf you’re having a hard time with disciplining your child, you might not need a complete parenting course. With just a few well selected words, expressed lovingly could start to bring your "terrible two year old child" back to a "terrific toddler."