<?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/"
		xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>
<channel>
	<title>Blog.ChenHow.Net &#187; subnet</title>
	<atom:link href="http://blog.chenhow.net/tag/subnet/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.chenhow.net</link>
	<description>Tech news, reviews, linux tips &#38; tricks, gadgets, foods and life experience sharing</description>
	<lastBuildDate>Wed, 21 Dec 2011 03:32:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<copyright>Copyright &#xA9; Blog.ChenHow.Net 2010 </copyright>
	<managingEditor>chenhow@chenhow.net (Blog.ChenHow.Net)</managingEditor>
	<webMaster>chenhow@chenhow.net (Blog.ChenHow.Net)</webMaster>
	<image>
		<url>http://blog.chenhow.net/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
		<title>Blog.ChenHow.Net</title>
		<link>http://blog.chenhow.net</link>
		<width>144</width>
		<height>144</height>
	</image>
	<itunes:subtitle></itunes:subtitle>
	<itunes:summary>Tech news, reviews, linux tips &#38; tricks, gadgets, foods and life experience sharing</itunes:summary>
	<itunes:keywords></itunes:keywords>
	<itunes:category text="Society &#38; Culture" />
	<itunes:author>Blog.ChenHow.Net</itunes:author>
	<itunes:owner>
		<itunes:name>Blog.ChenHow.Net</itunes:name>
		<itunes:email>chenhow@chenhow.net</itunes:email>
	</itunes:owner>
	<itunes:block>no</itunes:block>
	<itunes:explicit>no</itunes:explicit>
	<itunes:image href="http://blog.chenhow.net/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<item>
		<title>The Fastest way to calculate hosts/subnet/broadcast</title>
		<link>http://blog.chenhow.net/2008/08/21/internet/the-fastest-way-to-calculate-hostssubnetbroadcast/</link>
		<comments>http://blog.chenhow.net/2008/08/21/internet/the-fastest-way-to-calculate-hostssubnetbroadcast/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 10:16:01 +0000</pubDate>
		<dc:creator>chenhow</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[calculate subnet]]></category>
		<category><![CDATA[subnet]]></category>
		<guid isPermaLink="false">http://blog.chenhow.net/?p=111</guid>
		<description><![CDATA[Yes, you are right. The fastest way is to use an IP subnet calculator. You can find tons of free IP subnet calculators over the Internet, example like http://www.subnet-calculator.com/ But, what if something happened to your PC, where you can’t use the software or internet to do the calculation for you. Therefore, you should always [...]]]></description>
			<content:encoded><![CDATA[<p>Yes, you are right. The fastest way is to use an IP subnet calculator. You can find tons of free IP subnet calculators over the Internet, example like <a onclick="javascript:pageTracker._trackPageview('/outbound/article/www.subnet-calculator.com');" href="http://www.subnet-calculator.com/">http://www.subnet-calculator.com/</a></p>
<p>But, what if something happened to your PC, where you can’t use the software or internet to do the calculation for you. Therefore, you should always have a backup, like every IT staff did. Make yourself a backup and learn how to count without any 3rd party tools.</p>
<p>Actually is not as difficult as you think. Here, I will show you an easy way to do it.</p>
<p>Given a scenario, if provides you the IP address and subnet mask. And ask you to find out what is the number of valid hosts, subnet and broadcast address.</p>
<blockquote><p><span style="color: #ff0000;">Example:</span></p>
<p><span style="color: #ffff00;">IP &#8211; 192.168.10.34</span></p>
<p><span style="color: #ffff00;">subnet mask &#8211; 255.255.255.224 or CIDR (Classless Inter-Domain Routing) :/27</span></p>
</blockquote>
<p style="padding-left: 30px;"><strong> </strong></p>
<p><strong>To find subnet and broadcast address.</strong></p>
<blockquote><p><span style="color: #ff0000;">1) 256 &#8211; 224(subnet mask last octet) = 32</span></p>
<p><span style="color: #ff0000;"><br />
 </span></p>
<p style="padding-left: 30px;"><span style="color: #ffff00;">First subnet is 32.</span></p>
<p style="padding-left: 30px;"><span style="color: #ffff00;">Second subnet is 32 x 2 = 64</span></p>
<p style="padding-left: 30px;"><span style="color: #ffff00;">Third subnet is 32 x 3 = 96</span></p>
<p style="padding-left: 30px;"><span style="color: #ffff00;">..</span></p>
<p style="padding-left: 30px;"> </p>
<p><span style="color: #ff0000;">Since our IP (192.168.10.34) is fall between 32 &#8211; 64 subnet, so the subnet address is <strong>192.168.10.32</strong> and the broadcast address is <strong>192.168.10.63</strong>.</span></p>
</blockquote>
<p><strong>Find Host range</strong></p>
<blockquote><p><span style="color: #ff0000;">1) Valid hosts range is <strong>192.168.10.33 &#8211; 192.168.10.62</strong></span></p>
<p><span style="color: #ffff00;">- as 192.168.10.32 is subnet, 192.168.10.63 is broadcast</span></p>
</blockquote>
<p><strong>Find total valid hosts</strong></p>
<blockquote><p><span style="color: #ff0000;">1) 32 &#8211; 27(CIDR) = 5</span></p>
<p><span style="color: #ff0000;"><br />
 </span></p>
<p style="padding-left: 30px;"><span style="color: #ffff00;">2<sup>y</sup> = 2<sup>5</sup> &#8211; 2</span></p>
<p style="padding-left: 30px;"><span style="color: #ffff00;">= 30 &#8211; 2</span></p>
<p style="padding-left: 30px;"><span style="color: #ffff00;">= <strong>28</strong></span></p>
<p style="padding-left: 30px;"> </p>
</blockquote>
<p>All solution only got 1 step. Simple isn’t it. Still don’t understand? Nevermind, let’s do another example.</p>
<blockquote><p><span style="color: #ff0000;">202.188.0.50</span></p>
<p><span style="color: #ff0000;">255.255.255.240 or CIDR = /28</span></p>
</blockquote>
<p>Subnet size: 256-240 = 16</p>
<p>Subnets are : 203.199.10.0, 202.188.0.16, 202.188.0.32, 202.188.0.48, 202.188.0.64</p>
<p>Our IP (.50) fall between 202.188.0.48 and 202.188.0.64 subnet.</p>
<blockquote><p><span style="color: #ff0000;">Thus, our subnet is<strong> 202.188.0.48</strong>.</span></p>
</blockquote>
<p>our next subnet is 202.188.0.64,</p>
<blockquote><p><span style="color: #ff0000;">Thus, our braodcast address is <strong>202.188.0.63</strong></span></p>
</blockquote>
<p>I assume everyone knows we can’t assign the subnet and broadcast address to any hosts, our valid hosts are between 202.188.0.49 &#8211; 202.188.0.62</p>
<blockquote><p><span style="color: #ffff00;">32 &#8211; 28</span></p>
<p><span style="color: #ffff00;">= 4</span></p>
<p><span style="color: #ffff00;">2<sup>4</sup> &#8211; 2 = [(2 x 2 x 2 x 2) - 2] = <strong>14</strong></span></p>
</blockquote>
<p>Easy isn’t it.</p>
<div  class="related_post_title">Related Posts</div><ul class="related_post"><li>No Related Posts</li></ul>]]></content:encoded>
			<wfw:commentRss>http://blog.chenhow.net/2008/08/21/internet/the-fastest-way-to-calculate-hostssubnetbroadcast/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

