Subnetting Class C Networks

Subnetting is the process of breaking down one network, into many smaller networks.  There are a few reasons you why you would want to implement subnetting on your network.  One of the reasons you would want to subnet a network is to lower the network traffic load, resulting in increased network performance.  Another good reason to subnet a network is because this allows you to administrate your network more easily.

Think about it, what if there was a problem with your network and you had to repair the problem?  With subnetting in already in place, you will be able to section off what part of the network is having the problem and repair the network quicker.  In this article I will be showing you just the basics of subnetting a network, but I will be writing more advanced subnetting articles in the future.

Before you begin subnetting a network you will need to ask yourself a few questions.  First of all you need to ask yourself; how many networks do I need?  Also you need to ask yourself how many hosts I need to be able to accommodate.  If you want to find out what your current subnet mask is, open up command prompt on a Windows based pc and type in ipconfig.

In order for you understand on how subnet a network, you first need to know how to convert decimal into binary. As you can see from the chart below that there are three different classes that you can use to subnet your network.  There are actually a few more subnet classes out there, but they are being used for research.

Subnet Classes

ClassSubnetFormatCIDR
A255.0.0.0Network.Host.Host.Host/8
B255.255.0.0Network.Network.Host.Host/16
C255.255.255.0Network.Network.Network.Host/24

In a class c subnet all you need to worry about is the last octet, which is the zeros.  So in a class C scheme the subnet decimal form of 255.255.255.0 is equal to 11111111.11111111.11111111.00000000 in binary form.  When you look at the chart below, look at the binary column.  In the binary column the 1′s represent networks, while the 0′s represent hosts.

Class C Subnet Masks

BinaryDecimalCIDRSubnet Mask
000000000/24255.255.255.0
10000000128/25255.255.255.128
11000000192/26255.255.255.192
11100000224/27255.255.255.224
11110000240/28255.255.255.240
11111000248/29255.255.255.248
11111100252/30255.255.255.252

So if you were given the ip address of 192.168.1.0 with the subnet mask of 255.255.255.192. How many subnets do you have and how many hosts in each subnet?  Well if you look at the chart above you see the subnet mask for 255.255.255.192 and there are two binary 1′s and six binary 0′s.  To figure out the amount of  subnets you have you can use this easy forumula.

Subnets = 2Network Bits

So if you take the above example, since you have 2 bits for the network. All you have to do is use the equation Subnets = 22 which is 4 subnets. Now if you wanted to figure out home many hosts you can have on each of the four subnets you would use the equation below.

Host = 2Hosts Bits - 2

So since you have 6 bits located in the subnet mask dedicated for hosts, once again just use the equation above. Hosts = 26 – 2 which is 62 available host ip addresses.  The reason that you have to minus two is because one ip is reserved for the network address and the other is reserved for broadcast addresses. So in all reality there really are 64 host ip addresses, but there are only 62 available ip addresses that you can use in each subnet to assign to your different network devices.

So now lets figure out valid ip ranges for each subnet, also the network and broadcast addresses for each subnet.  So all you have to do to figure out the ip range for each subnet is to first figure out what the subnets are the first place.  Well since our ip address is 192.168.1.0, that will be our first subnet.  The next subnet can be found by adding 64 to the end of 192.168.1.0 which is 192.168.1.64.  You can then find the third subnet by again adding 64, but this time add it to 192.168.1.64 which is 192.168.1.128.  And finally again repeat the process 192.168.1.128 + 64 = 192.168.1.192.  You would stop here because if you  added another 64 to 192.168.1.192 you would get 192.168.1.256, which is not valid and would be located in a totally different network.

So now you need to figure out the valid ip ranges for each subnet.  We will again start back at with the ip address 192.168.1.0.  Since we know that the network address 192.168.1.0 is currently in use and cannot be assigned, the next available address is 192.168.1.1.  So 192.168.1.1 will be our first assignable ip address.  To figure out the broadcast address, simply go to the second network address and minus 1.  So if you took 1 away from 192.168.1.64 you would get 192.168.1.63 for a broadcast address.  So you now know that the ip address 192.168.1.0 is the network address and the broadcast address is 192.168.1.63, you network range would be 192.168.1.1. to 192.168.1.62.

Network AddressIp RangeBroadcast Address
192.168.1.0192.168.1.1 to 192.168.1.62192.168.1.63
192.168.1.64192.168.1.65 to 192.168.126192.168.1.127
192.168.1.128192.168.1.129 to 192.168.1.190192.168.1.191
192.168.1.192192.168.1.193 to 192.168.1.254192.168.1.255

Matt Cutts Discusses WordPress Google Seo

Here is a great video if you are want a insiders look at Google seo.  Matt Cutts from the Google Web Spam team shares insider secrets and just plain common sense approach to optimizing your WordPress weblog.  You will get information from what plug-ins to use, all the way to simple tweaks for you blog.

After watching Matt Cutts video on seo for your WordPress blog, you will the knowledge now to successfully optimize your web site for Google and other major search engines.  So cut out the bull shit and start learn from the pros.

ProSense WordPress Seo Adsense Theme

The ProSense seo wordpress theme created by Dosh Dosh is a free wordpress theme, that will allow you to easily add Google Adsense advertisement to your web blog; while keeping the major search engines in mind.

The WordPress ProSense theme also comes in three different colors, but it can be easily adjusted as long as you know some basic css and html coding. Out of the box the ProSense theme is pretty decent, but could use a few tweaks to optimize earnings with Google adsense and boost your over all search engine rank.

The first thing that I recommend to do is edit the sidebar.php so that the pages, post, category, meta, etc… don’t use the <h2> tag. Change the follow html to code from this:

<li><h2>Categories</h2>
<ul><?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=1'); ?></ul>
</li>

To This:

<li><div class="sidebartitles1">Categories</div>
<ul><?php wp_list_cats('sort_column=name&optioncount=0&hierarchical=1'); ?></ul>
</li>

What you will see, is that I removed the <h2> tag and replaced it with a <div> tag. Inside the div tag you will also notice that I used the attribute “class=sidebartitles1”, what this will allow you to do call that specific navigation unit inside the style.css file. Also as a special note, you must name each div tag a different name for each navigation tab, for instance the categories tab = sidebartitles1, pages tab = sidebartitles2.

#sidebartitles1 {
font-size: 12px;
color: #000000;
font-weight: bold;
}

Another way to optimize your ProSense wordpress theme, to copy the code from your title tag which is located inside the header.php and pasting it inside the h1 tag located further down the header.php file.

<title><?php if(is_home() || is_search()) { bloginfo('name'); echo ' - '; bloginfo('description'); } else { wp_title('') ;} ?></title>

……………

<div id="header_left">
<h1><?php if(is_home() || is_search()) { bloginfo('name'); echo ' '; bloginfo('description'); } else { wp_title('') ;} ?></h1>
<div><?php bloginfo('description'); ?></div>
</div>

After you save your header.php file, go to the single.php file and delete this line:

<h2><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2>

What this will do is change all your post titles from the h2 tag to the h1 tag creating more importance with the search engines. This seo tweak will also remove the duplicate tag h2 tag on your single post pages. Knowing this trick will certainly boost your wordpress blog up the search engine charts. Just keep in mind the search engine optimization takes time.The final optimization tweak that I will recommend is to change the links to a true blue color. To change the color of your links, open up the style.css file. Once the stylesheet is opened up, scroll down to this line.

body a, body a:visited {
color: #5C82EF;
text-decoration: none;
}

Then change it to look like this.

body a, body a:visited {
color: #0000FF;
text-decoration: none;
}

Translate
Links
mpexo
  • This site is proudly listed as a mobile blog on mpexo.

Switch to our mobile site