<?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>inVURTED.com &#187; practice</title>
	<atom:link href="http://invurted.com/tag/practice/feed/" rel="self" type="application/rss+xml" />
	<link>http://invurted.com</link>
	<description>With great virtualisation comes great responsibility!</description>
	<lastBuildDate>Thu, 09 Feb 2012 03:50:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>[PRACTICE] Fixed length subnet masking #2</title>
		<link>http://invurted.com/practice-fixed-length-subnet-masking-2/</link>
		<comments>http://invurted.com/practice-fixed-length-subnet-masking-2/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 04:53:04 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[fixed length subnet mask]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[practice]]></category>

		<guid isPermaLink="false">http://invurted.com/2008/12/practice-fixed-length-subnet-masking-2/</guid>
		<description><![CDATA[Following on in the series, here is the second subnet masking example. You have been given the network range 192.168.128.0/24. Your task is to break it down into six networks. The questions you have to answer are, how many hosts on each network, and what are the network IDs and broadcast IDs for each of [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Following on in the series, here is the second subnet masking example.</p>
<p>You have been given the network range 192.168.128.0/24. Your task is to break it down into six networks. The questions you have to answer are, how many hosts on each network, and what are the network IDs and broadcast IDs for each of the networks.</p>
<p>I will post the answer on Friday 12th December, 2008 at 3:30pm EDST.</p>
<p><span id="more-170"></span></p>
<p>Sorry for the lateness of the solution. I have been as sick as a dog for the last few days, hence no update.</p>
<p><a href="http://invurted.com/practice-fixed-length-subnet-masking-1/">Last time</a> we talked breaking networks up based on host requirements. This time we&#8217;re working with the network portion of the IP address.</p>
<p>When we were working with hosts, we worked from the thirty-second bit. Or, from right to left. This time we&#8217;re working from left to right to break up an IP range.</p>
<p>Let&#8217;s look at the IP address in binary first. Because it&#8217;s a twenty-four bit subnet mask, this tells us that it&#8217;s a Class C network and that the first three octets are locked and can&#8217;t be changed. Therefore, we will be breaking up the fourth octet.<br />
<code>192.168.128.00000000<br />
255.255.255.00000000</code></p>
<p>Similarly to subnetting for hosts, subnetting for networks is achieved by modifying the subnet mask. So rather than working from the last bit leftwards, let&#8217;s start with the first bit I am allowed to modify and work to the right. In our example, the twenty-fifth bit (the first bit of the fourth octet).</p>
<p>For each bit I change, I get 2^bits networks. Unlike hosts, I don&#8217;t lose the first IP address to the network ID or the last IP address to the broadcast. Therefore, if I use one bit I get two usable networks. If we extend this to cover our example, two bits gives me four networks (still not enough!). Can I get exactly six networks? Because I&#8217;m working with binary values (powers of two), it&#8217;s not possible to get exactly six networks. If I use three bits, I get eight networks. More than the required six.</p>
<p>First thing&#8217;s first: the subnet mask. The original Class C has been subnetted. Now I am using the first three bits of the fourth octet as the network portion. It did look like this: <code>255.255.255.00000000</code>. Now, after subnetting, it looks like this: <code>255.255.255.11100000</code> or, (after converting back to decimal) <code>255.255.255.224</code>.</p>
<p>My networks look something like this (the spaces represent the division between my new network ID and new host ID):<br />
<code>192.168.128.000 00000<br />
192.168.128.001 00000<br />
192.168.128.010 00000<br />
192.168.128.011 00000<br />
192.168.128.100 00000<br />
192.168.128.101 00000<br />
192.168.128.110 00000<br />
192.168.128.111 00000</code></p>
<p>How many hosts on each network? Seeing that we are using three bits for the network, the remaining five bits are the host portion ie. (2^5)-2 hosts or 32-2 hosts. A total of 30 hosts per network. Going back to the last tutorial, the host portion can&#8217;t be all zeroes, nor can it be all ones.</p>
<p>Therefore, my network ranges look like this:<br />
<code>192.168.128.000 00000     192.168.128.000 11111<br />
192.168.128.001 00000     192.168.128.001 11111<br />
192.168.128.010 00000     192.168.128.010 11111<br />
192.168.128.011 00000     192.168.128.011 11111<br />
192.168.128.100 00000     192.168.128.100 11111<br />
192.168.128.101 00000     192.168.128.101 11111<br />
192.168.128.110 00000     192.168.128.110 11111<br />
192.168.128.111 00000     192.168.128.111 11111</code></p>
<p>Any questions or problems, please email me contactme@invurted.com or my work email address.</p>
<div class="shr-publisher-170"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Finvurted.com%2Fpractice-fixed-length-subnet-masking-2%2F' data-shr_title='%5BPRACTICE%5D+Fixed+length+subnet+masking+%232'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Finvurted.com%2Fpractice-fixed-length-subnet-masking-2%2F'></a><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Finvurted.com%2Fpractice-fixed-length-subnet-masking-2%2F' data-shr_title='%5BPRACTICE%5D+Fixed+length+subnet+masking+%232'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://invurted.com/practice-fixed-length-subnet-masking-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[PRACTICE] Fixed length subnet masking #1</title>
		<link>http://invurted.com/practice-fixed-length-subnet-masking-1/</link>
		<comments>http://invurted.com/practice-fixed-length-subnet-masking-1/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 01:37:00 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[fixed length subnet mask]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[practice]]></category>

		<guid isPermaLink="false">http://invurted.com/2008/12/practice-fixed-length-subnet-masking-1/</guid>
		<description><![CDATA[After the other week&#8217;s CCENT course, I made a promise to start emailing subnetting examples out. Rather than writing and re-writing the same thing time and time again, I figured I&#8217;d put them up here instead. So, fixed length subnet masking example #1 is this: You have been given the network range 192.168.128.0/22. Your first [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>After the other week&#8217;s CCENT course, I made a promise to start emailing subnetting examples out. Rather than writing and re-writing the same thing time and time again, I figured I&#8217;d put them up here instead.</p>
<p>So, fixed length subnet masking example #1 is this:</p>
<p>You have been given the network range 192.168.128.0/22. Your first task is to break this network up into blocks of one hundred IP addresses. How many blocks of IP addresses will you get (how many networks will you have)? What are the network IDs and what are the broadcast IP addresses for each of the network ranges?</p>
<p>I will post the answer on Tuesday 9th December, 2008 at 10:30am EDST.</p>
<p><span id="more-166"></span>
<p>Okay. The question specifically asks for hosts. Therefore, we are working from the thirty second bit back to the start to get hosts. </p>
<p>The original subnet mask is a /22 (255.255.252.0). This tells me that the first twenty two bits are &#8220;locked away&#8221; leaving me the last ten bits to play with. Straight away we can discern at least one piece of information about my network: there are 2^10 total hosts in the network ie. 2^#bits that aren&#8217;t locked away, or one thousand and twenty four total hosts.</p>
<p>On to the good stuff. If we look at the IP address in it&#8217;s binary format we have to do a decimal to binary conversion on the third and fourth octets. By looking at the subnet mask this tells me it&#8217;s not a full block of eight bits in the third octet and the fourth is all zeroes.</p>
<p>Which looks something like this:<br /><code>192.168.10000000.00000000<br />255.255.11111100.00000000</code><br />Notice twenty two contiguous ones and ten contiguous zeroes.</p>
<p>As previously mentioned, I want hosts. So, I am working from the last bit leftwards. Each zero represents two hosts (1 and 0). Every time I go up a column, I am adding a power of two to the total number of hosts. If I use one column (the thirty-second bit), I have 2^1 hosts, two columns gives me 2^2 hosts etc. Can I get exactly 100 hosts for the network? The answer is no. If I use the last six bits I have sixty-four hosts (2^6), well below the required one hundred hosts! Let&#8217;s use the last seven bits. This gives me 2^7 hosts. One hundred and twenty eight is well above the one hundred required, but is the nearest value over one hundred I get given I have to count in powers of two.</p>
<p>My new subnet mask now looks something like this:<br /><code>192.168.100000 00.0 0000000<br />255.255.111111 11.1 0000000</code><br />The spaces show the modifications that I have made to the network range given the requirements of the scenario.</p>
<p>The three bits between the spaces are telling me what networks I am now defining. Three bits, straight away, tells me I have 2^3 or eight networks in total. The network part of the IP address has to be unique. The eight unique combinations of the network ID are: <code><br />192.168.100000 00.0 0000000 (192.168.128.0)<br />192.168.100000 00.1 0000000 (192.168.128.128)<br />192.168.100000 01.0 0000000 (192.168.129.0)<br />192.168.100000 01.1 0000000 (192.168.129.128)<br />192.168.100000 10.0 0000000 (192.168.130.0)<br />192.168.100000 10.1 0000000 (192.168.130.128)<br />192.168.100000 11.0 0000000 (192.168.131.0)<br />192.168.100000 11.1 0000000 (192.168.131.128)<br /></code></p>
<p>The rules of TCP/IP state that the host ID can&#8217;t be all zeroes and it can&#8217;t be all ones. The all zeroes address is the network ID and the all ones address is the broadcast IP address for that network.</p>
<p>In our example, the last six bits are the host ID. Therefore, the network IDs are up above and the broadcast IP addresses are:<code><br />192.168.100000 00.0 1111111 (192.168.128.127)<br />192.168.100000 00.1 1111111 (192.168.128.255)<br />192.168.100000 01.0 1111111 (192.168.129.127)<br />192.168.100000 01.1 1111111 (192.168.129.255)<br />192.168.100000 10.0 1111111 (192.168.130.127)<br />192.168.100000 10.1 1111111 (192.168.130.255)<br />192.168.100000 11.0 1111111 (192.168.131.127)<br />192.168.100000 11.1 1111111 (192.168.131.255)<br /></code></p>
<p>Any questions or problems, please email me <a href="&quot;mailto:contactme@invurted.com">contactme@invurted.com</a> or my work email address.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Stay tuned because I&#8217;ll post another example later this week.</p>
<div class="shr-publisher-166"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Finvurted.com%2Fpractice-fixed-length-subnet-masking-1%2F' data-shr_title='%5BPRACTICE%5D+Fixed+length+subnet+masking+%231'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Finvurted.com%2Fpractice-fixed-length-subnet-masking-1%2F'></a><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Finvurted.com%2Fpractice-fixed-length-subnet-masking-1%2F' data-shr_title='%5BPRACTICE%5D+Fixed+length+subnet+masking+%231'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://invurted.com/practice-fixed-length-subnet-masking-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

