 




<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Open Source Software and Linux &#187; subnet mask</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/linux-lotus-domino/tag/subnet-mask/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/linux-lotus-domino</link>
	<description></description>
	<lastBuildDate>Thu, 02 May 2013 21:07:56 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Quick Subnetting and IP calculations Part 2</title>
		<link>http://itknowledgeexchange.techtarget.com/linux-lotus-domino/quick-subnetting-and-ip-calculations-part-2/</link>
		<comments>http://itknowledgeexchange.techtarget.com/linux-lotus-domino/quick-subnetting-and-ip-calculations-part-2/#comments</comments>
		<pubDate>Thu, 25 Dec 2008 04:55:46 +0000</pubDate>
		<dc:creator>Xjlittle</dc:creator>
				<category><![CDATA[ip calculator]]></category>
		<category><![CDATA[network hosts]]></category>
		<category><![CDATA[subnet mask]]></category>
		<category><![CDATA[subnetting]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/linux-lotus-domino/quick-subnetting-and-ip-calculations-part-2/</guid>
		<description><![CDATA[In my last post I discussed how to make quick subnetting and IP calculations. This post is will help us determine how many hosts on a network. Suppose that you know your IP address and an abbreviated notation subnet mask. What you need to find out is the IP of your default gateway. The address [...]]]></description>
				<content:encoded><![CDATA[<p>In my last post I discussed how to make quick subnetting and IP calculations.  This post is will help us determine how many hosts on a network.</p>
<p>Suppose that you know your IP address and an abbreviated notation subnet mask.  What you need to find out is the IP of your default gateway.</p>
<p>The address that you are given is 192.168.200.120/26.  The last assignable IP is your gateway.  Before we get started a quick note about abbreviated subnet masks.  You can determine the standard subnet mask by dividing the abbreviated notation by 8 and using the remainder to add together that number of bits starting from the leftmost bit in a subnet mask.  In our case 8 will go into 26 three times with two left over.  Adding together the two leftmost bits in a subnet mask, 128+64 gives us 192.  So our standard subnet mask is 255.255.255.192.</p>
<p>To start solving our gateway problem we first the 192 into bit values which = 11000000.</p>
<p>The smallest bit is 64 so our subnets are incremented by 64.  Recall from the previous post how we laid this out:<br />
<code><br />
Network                                    Address Range<br />
0                                              192.168.200.1 through 63<br />
64                                            192.168.200.65 through 127<br />
128                                          192.168.200.129 through 191<br />
192                                          192.168.200.193 through 255<br />
</code></p>
<p>As we can see from above our machine falls into the second address range with an IP of 192.168.200.120.  The first addressable IP is 192.168.200.65 and the broadcast address is 192.168.200.127.  Remember that the broadcast address for a network is the last IP shown for that range. This makes the default gateway one less than the broadcast address giving us 192.168.200.126 for the gateway.  There are 62 host IP address available on your network segment after taking out the network and broadcast IP.</p>
<p>So there it is.  You have now found your default gateway and know how many hosts are on your network segment and what their IP addresses are.</p>
<p>-j</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/linux-lotus-domino/quick-subnetting-and-ip-calculations-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick Subnetting and IP calculations Part 1</title>
		<link>http://itknowledgeexchange.techtarget.com/linux-lotus-domino/quick-subnetting-and-ip-calculations/</link>
		<comments>http://itknowledgeexchange.techtarget.com/linux-lotus-domino/quick-subnetting-and-ip-calculations/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 23:15:51 +0000</pubDate>
		<dc:creator>Xjlittle</dc:creator>
				<category><![CDATA[calculate subnet]]></category>
		<category><![CDATA[ip address]]></category>
		<category><![CDATA[ip addressing]]></category>
		<category><![CDATA[subnet mask]]></category>
		<category><![CDATA[subnetting]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/linux-lotus-domino/quick-subnetting-and-ip-calculations/</guid>
		<description><![CDATA[With all of the ip and subnetting calculators all over the internet it might seem to some that learning subnetting is unnecessary. I think that it is a skill that is underused and should be learned by all network administrators. It&#8217;s really not that hard to get the basics down. In this article and the [...]]]></description>
				<content:encoded><![CDATA[<p>With all of the ip and subnetting calculators all over the internet it might seem to some that learning subnetting is unnecessary.  I think that it is a skill that is underused and should be learned by all network administrators.  It&#8217;s really not that hard to get the basics down.</p>
<p>In this article and the next I am going to show you how to do two things quickly and easily with subnetting.  I&#8217;m going to show you how to build a custom subnet from scratch and how to calculate how many hosts on a network.  The only part of the binary code of this that I&#8217;m going to discuss is this which we should all know:<br />
<code><br />
128 64 32 16 8 4 2 1<br />
</code><br />
The above numbers represent the 8 bits in a subnet mask.</p>
<p>To start building our custom subnet we are going to assume a class C network.  With this we know that our default mask covers the first 24 bits which would make it 255.255.255.0.  Notice that 255 is the sum of all of the numbers above.  Second let&#8217;s assume that our class C address in 192.168.10.0 and that we want to build 6 subnets from this to cover six of our departments.</p>
<p>First convert the number of subnets to binary.  We can see that adding bits 2 and 4 above make 6.  We will turn all of the bits on that are to the right of the 4:<br />
<code><br />
00000111<br />
</code><br />
Next flip the entire octet from end to end:<br />
<code><br />
11100000<br />
</code><br />
Add the bits together that are on the left end of the bits shown in the 1st code box:<br />
<code><br />
128+64+32=224<br />
</code><br />
So now we know that 224 is our new subnet mask and that we can get 6 networks out of this.  The 32 in this scenario is known as the Least Significant Bit or LSB.  Pretty straightforward isn&#8217;t it?</p>
<p>Now we need to get our network, host and broadcast addresses.  To do this take the Least Significant Bit from the three bits that we used above.  This would be 32.  So starting with 0 we start setting up our networks like so:<br />
<code><br />
Network                   Address Range                       Broadcast<br />
0                             192.16.10.1 thru 30                 192.168.10.31<br />
32                           192.16.10.33 thru 62               192.168.10.63<br />
64                           192.16.10.65 thru 94                192.168.10.95<br />
96                           192.16.10.97 thru 126             192.168.10.127<br />
128<br />
160<br />
192<br />
224<br />
</code><br />
and so on.  As you can see each network starts with 0 and then the LSB is the increment to the next network so we have 0 32 64 and so on.  The broadcast address is 1 less than the next network number.  This leaves the host addresses as the network number plus 1 through the broadcast address less 1 giving us 30 hosts per network</p>
<p>Next post we&#8217;ll see how to determine how many hosts on a network.</p>
<p>-j</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/linux-lotus-domino/quick-subnetting-and-ip-calculations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
