<?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>The Island of Logic &#187; Computers</title>
	<atom:link href="http://www.islandoflogic.com/index.php/category/computers/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.islandoflogic.com</link>
	<description>A bastion of logical thought, and an attempt to raise the average IQ of the blogging world.</description>
	<lastBuildDate>Fri, 01 Jul 2011 12:00:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Microsoft Tech Support</title>
		<link>http://www.islandoflogic.com/index.php/2008/11/11/microsoft-tech-support/</link>
		<comments>http://www.islandoflogic.com/index.php/2008/11/11/microsoft-tech-support/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 17:29:45 +0000</pubDate>
		<dc:creator>Jason M</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Funny]]></category>
		<category><![CDATA[Microsoft Tech Support]]></category>
		<category><![CDATA[Voicemail]]></category>

		<guid isPermaLink="false">http://www.islandoflogic.com/?p=408</guid>
		<description><![CDATA[Since I am on the phone with a Microsoft Tech Support Engineer right now, I was reminded of a rather humorous Microsoft Tech Support voice mail I had heard several years ago. I searched YouTube to see if I could find it and sure enough, here it is. Sphere: Related Content]]></description>
			<content:encoded><![CDATA[<!-- sphereit start --><p>Since I am on the phone with a Microsoft Tech Support Engineer right now, I was reminded of a rather humorous Microsoft Tech Support voice mail I had heard several years ago. I searched YouTube to see if I could find it and sure enough, here it is.<br />
<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/YpPLeqHfPCc&amp;rel=0&amp;color1=0xd6d6d6&amp;color2=0xf0f0f0"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/YpPLeqHfPCc&amp;rel=0&amp;color1=0xd6d6d6&amp;color2=0xf0f0f0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></object></p>
<!-- sphereit end --><span style="margin-bottom:40px; border-bottom:none;"><a class="iconsphere" title="Sphere: Related Content" onclick="return Sphere.Widget.search('http://www.islandoflogic.com/index.php/2008/11/11/microsoft-tech-support/')" href="http://www.sphere.com/search?q=sphereit:http://www.islandoflogic.com/index.php/2008/11/11/microsoft-tech-support/">Sphere: Related Content</a></span><br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.islandoflogic.com/index.php/2008/11/11/microsoft-tech-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MAC Hater</title>
		<link>http://www.islandoflogic.com/index.php/2008/11/03/mac-hater/</link>
		<comments>http://www.islandoflogic.com/index.php/2008/11/03/mac-hater/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 22:11:24 +0000</pubDate>
		<dc:creator>Jason M</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://www.islandoflogic.com/?p=303</guid>
		<description><![CDATA[This guy really doesn&#8217;t like his MAC very well.]]></description>
			<content:encoded><![CDATA[<!-- sphereit start --><p>This guy really doesn&#8217;t like his MAC very well.<br />
<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/jCI01R3aiyk&amp;rel=0&amp;color1=0xd6d6d6&amp;color2=0xf0f0f0"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/jCI01R3aiyk&amp;rel=0&amp;color1=0xd6d6d6&amp;color2=0xf0f0f0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></object></p>
<!-- sphereit end -->]]></content:encoded>
			<wfw:commentRss>http://www.islandoflogic.com/index.php/2008/11/03/mac-hater/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Wide World of Google&#8230;</title>
		<link>http://www.islandoflogic.com/index.php/2008/09/26/the-wide-world-of-google/</link>
		<comments>http://www.islandoflogic.com/index.php/2008/09/26/the-wide-world-of-google/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 18:18:05 +0000</pubDate>
		<dc:creator>Jason M</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://www.islandoflogic.com/?p=242</guid>
		<description><![CDATA[Frankly, I am in love with Google. I can&#8217;t think of another company in the world that keeps developing new products and delivers them to the world for free. Google generates their primary revenue stream through advertising with unobtrusive text based links. Even their ads are not the huge annoying flash ads used by many [...]]]></description>
			<content:encoded><![CDATA[<!-- sphereit start --><p>Frankly, I am in love with Google. I can&#8217;t think of another company in the world that keeps developing new products and delivers them to the world for free. Google generates their primary revenue stream through advertising with unobtrusive text based links. Even their ads are not the huge annoying flash ads used by many other web based advertisers. Google realizes that by creating free products for the public they are simply driving more traffic to their websites and indirectly to their customer’s ads, a brilliant marketing strategy. I am going to go through the Google tools that I use the most, that some of you may simply not know exist.</p>
<p><strong>Gmail </strong>I am sure almost all of you are aware of Gmail and probably use it, but are you aware of all the features and ways of using it. First I am going to show you Gmail Drive. Gmail provides more space than any other email provider out there, at least that I am aware. When Gmail first came out they promised 2 GB of space to all their users, Yahoo and Hotmail immediately increased their email capacity to keep up. Well, Google eventually went even higher than 2 GB and left the competition in the dust. Below is a screenshot of the space I currently have available in my Gmail account.<br />
<img src="/images/gmailspace.jpg" alt="Gmail Space" /><br />
I currently have 7 GB of space available in my account. As you can see I am only using 31 MB of that space, statistically 0%. Gmail Drive allows me to use that space as remote storage. There are several advantages to this. First I can store files in my Gmail Drive and access them from any computer in the world, simply by logging into Gmail. Second if my computer hard drive fails, I have a free backup of my important files on remote storage. Awesome!!<br />
<img src="/images/gmailprop.jpg" alt="Gmail Drive Properties" /><br />
<img src="/images/gmaillogin.jpg" alt="Gmail Drive Login" /><br />
<img src="/images/gmaildrive.jpg" alt="Gmail Drive" width="445" height="441" /><br />
The Gmail Drive Shell Extension is available for download at the developer&#8217;s website. (<a href="http://www.viksoe.dk/code/gmail.htm" target="_blank">http://www.viksoe.dk/code/gmail.htm</a>)</p>
<p>Gmail also allows you to download and send your email through your favorite email client, Outlook, Outlook Express, Thunderbird, etc., with secure POP3, SMTP, and IMAP protocols. Most other Internet Email services require payment for this feature. Google has some very good documentation on how to do this at <a href="http://mail.google.com/support/bin/topic.py?topic=12805" target="_blank">http://mail.google.com/support/bin/topic.py?topic=12805</a>.</p>
<p><strong>Google Earth </strong>Google Earth lets you zoom in anywhere on earth to view satellite images of the terrain (find your own house). (<a href="http://earth.google.com/" target="_blank">http://earth.google.com/</a>) <img src="/images/googleearth.jpg" alt="Google Earth" width="480" height="390" /></p>
<p><strong>Google Docs </strong>Don&#8217;t own Microsoft Office, don&#8217;t want to go to the expense of buying it, want to store and create presentations, spreadsheets, and documents online in a secure way, away from that potentially faulty hard drive in your computer, then Google Docs is for you. You can even import existing Excel Spreadsheets, Word Documents, and Power Point Presentations. (<a href="http://docs.google.com/" target="_blank">http://docs.google.com/</a>) <img src="/images/googledocs.jpg" alt="Google Docs" width="476" height="444" /></p>
<p><strong>Google Chrome </strong>Google Chrome is the recently released web browser by Google. I like it because it is fast, has a simple and basic interface, and frankly does a better job of rendering DHTML then the beta Internet Explorer 8 browser which I am currently helping Microsoft test. (<a href="http://www.google.com/chrome/" target="_blank">http://www.google.com/chrome/</a>)</p>
<p><strong>Google SMS </strong>Google SMS is a little known feature that Google has. It allows you to text questions to 466453 (GOOGLE), like &#8216;sushi 34232&#8242; and it will send back the name, address and phone number of all Sushi locations in the 34232 zip code. Check it out. (<a href="http://www.google.com/intl/en_us/mobile/default/sms/index.html" target="_blank">http://www.google.com/intl/en_us/mobile/default/sms/index.html</a>)</p>
<p><strong>1-800-GOOG-411 </strong>I have used Google&#8217;s 411 service for a while now and it is great, oh yeh and free to. (<a href="http://www.google.com/goog411/" target="_blank">http://www.google.com/goog411/</a><br />
<a href="http://www.google.com/goog411/"></a></p>
<p><strong>Picasa </strong>Picasa is a great photo organizing tool which allows you to make simple edits, turn your pictures into slide shows and movies, and best of all upload them to the Picasa Web Albums so that you can share them with family and friends. (<a href="http://picasa.google.com/" target="_blank">http://picasa.google.com/</a>)<br />
<img src="/images/picasa.jpg" alt="Picasa" width="480" height="403" /></p>
<p><strong>Google Talk </strong>I have used Google Talk for several years now to keep in touch with colleagues, family and friends. I can talk or instant message. It also includes the previous Google Notify service which pops a message up in my tray whenever I receive a new email to my Gmail account. (<a href="http://www.google.com/talk/" target="_blank">http://www.google.com/talk/</a>)<br />
<img src="/images/googletalk.gif" alt="Google Talk" /></p>
<p><strong>Google Search Operators</strong> Ever wonder why some people find what they are looking for in Google faster then what you can? They are probably using some of Google&#8217;s advanced operators. Here are the links to Googles operator pages</p>
<p><a href="http://www.google.com/support/bin/static.py?page=searchguides.html&amp;ctx=basics&amp;hl=en" target="_blank">http://www.google.com/support/bin/static.py?page=searchguides.html&amp;ctx=basics&amp;hl=en</a></p>
<p><a href="http://www.google.com/help/operators.html" target="_blank">http://www.google.com/help/operators.html</a></p>
<p>Using these operators can reduce the amount of pages that you have to search through to find what you are looking for. For example, searching for the string &#8220;let them eat cake&#8221; with the quotes will likely produce more of the desired results then searching for the terms without quotes. Using the advanced operators for example I could search the www.yes941.com website for the search terms &#8216;John Greer&#8217; using the following search term &#8220;<a href="http://www.google.com/search?hl=en&amp;rlz=1C1GGLS_enUS291&amp;q=site:www.yes941.com+John+Greer&amp;btnG=Search" target="_blank">site:www.yes941.com John Greer</a>&#8220;. You can also use the Google Advanced search page which makes the use of some of the advanced operators easier. (<a href="http://www.google.com/advanced_search" target="_blank">http://www.google.com/advanced_search</a>)</p>
<p>For a list of many more Google features not mentioned here go to the following link. (<a href="http://www.google.com/intl/en/options/" target="_blank">http://www.google.com/intl/en/options/</a>)</p>
<!-- sphereit end --><span style="margin-bottom:40px; border-bottom:none;"><a class="iconsphere" title="Sphere: Related Content" onclick="return Sphere.Widget.search('http://www.islandoflogic.com/index.php/2008/09/26/the-wide-world-of-google/')" href="http://www.sphere.com/search?q=sphereit:http://www.islandoflogic.com/index.php/2008/09/26/the-wide-world-of-google/">Sphere: Related Content</a></span><br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.islandoflogic.com/index.php/2008/09/26/the-wide-world-of-google/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free Pizza (Social Engineering)</title>
		<link>http://www.islandoflogic.com/index.php/2008/08/20/free-pizza-social-engineering/</link>
		<comments>http://www.islandoflogic.com/index.php/2008/08/20/free-pizza-social-engineering/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 16:29:31 +0000</pubDate>
		<dc:creator>Jason M</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://www.islandoflogic.com/?p=177</guid>
		<description><![CDATA[Here is a video that I used to show my students, to demonstrate how social engineering was accomplished. This video has Kevin Rose the former host of the TechTV show. Now some of the actions on this video are illegal and should not be attempted on your own, :) however this does not give a detailed [...]]]></description>
			<content:encoded><![CDATA[<!-- sphereit start --><p>Here is a video that I used to show my students, to demonstrate how social engineering was accomplished. This video has Kevin Rose the former host of the TechTV show. Now some of the actions on this video are illegal and should not be attempted on your own, :) however this does not give a detailed view anyway on how to compromise a computer network. It is funny and interesting to watch though.</p>
<p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/lXOs_S7qs6Y&amp;rel=0&amp;color1=0xd6d6d6&amp;color2=0xf0f0f0"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/lXOs_S7qs6Y&amp;rel=0&amp;color1=0xd6d6d6&amp;color2=0xf0f0f0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></object></p>
<!-- sphereit end --><span style="margin-bottom:40px; border-bottom:none;"><a class="iconsphere" title="Sphere: Related Content" onclick="return Sphere.Widget.search('http://www.islandoflogic.com/index.php/2008/08/20/free-pizza-social-engineering/')" href="http://www.sphere.com/search?q=sphereit:http://www.islandoflogic.com/index.php/2008/08/20/free-pizza-social-engineering/">Sphere: Related Content</a></span><br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.islandoflogic.com/index.php/2008/08/20/free-pizza-social-engineering/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cyber Security Threats</title>
		<link>http://www.islandoflogic.com/index.php/2008/07/30/cyber-security-threats/</link>
		<comments>http://www.islandoflogic.com/index.php/2008/07/30/cyber-security-threats/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 04:58:40 +0000</pubDate>
		<dc:creator>Jason M</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://www.islandoflogic.com/?p=136</guid>
		<description><![CDATA[I don&#8217;t usually listen to NPR :), but a friend of mine sent me a link to a segment of the Diane Rehm Show that he heard on NPR. I listened to the segment and it is very good. Diane interviews Paul Kurtz, Alan Paller, Stephen Spoonamore, and Congressman Jim Langevin. They discuss the Cyber [...]]]></description>
			<content:encoded><![CDATA[<!-- sphereit start --><p>I don&#8217;t usually listen to NPR :), but a friend of mine sent me a link to a segment of the Diane Rehm Show that he heard on NPR. I listened to the segment and it is very good. Diane interviews Paul Kurtz, Alan Paller, Stephen Spoonamore, and Congressman Jim Langevin. They discuss the Cyber Security Threats that exist from sources like China, etc.. This is a 50,000 ft. view that can be understood by anyone, and does not contain all the technical jargon usually part of Geek Shows. This is enlightening to anyone that wants to understand more; what threats exist to their personal Internet security.</p>
<p><img class="alignnone" src="/images/win.gif" alt="" width="16" height="16" /> <img class="alignnone" src="/images/real.gif" alt="" width="16" height="16" /> <a href="http://www.wamu.org/programs/dr/08/06/25.php#20718" target="_blank">Link to Segment on the Diane Rehm Show</a></p>
<!-- sphereit end --><span style="margin-bottom:40px; border-bottom:none;"><a class="iconsphere" title="Sphere: Related Content" onclick="return Sphere.Widget.search('http://www.islandoflogic.com/index.php/2008/07/30/cyber-security-threats/')" href="http://www.sphere.com/search?q=sphereit:http://www.islandoflogic.com/index.php/2008/07/30/cyber-security-threats/">Sphere: Related Content</a></span><br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.islandoflogic.com/index.php/2008/07/30/cyber-security-threats/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Understanding IPv4 Addressing</title>
		<link>http://www.islandoflogic.com/index.php/2008/07/20/understanding-ipv4-addressing/</link>
		<comments>http://www.islandoflogic.com/index.php/2008/07/20/understanding-ipv4-addressing/#comments</comments>
		<pubDate>Sun, 20 Jul 2008 08:57:51 +0000</pubDate>
		<dc:creator>Jason M</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://www.islandoflogic.com/?p=78</guid>
		<description><![CDATA[I have decided to publish this article again. I had posted this on the Internet about 4 years ago so that the students in my networking classes would have something to reference back to after I addressed the subject in class. I am going to post the article here again along with a video explaining [...]]]></description>
			<content:encoded><![CDATA[<!-- sphereit start --><p>I have decided to publish this article again. I had posted this on the Internet about 4 years ago so that the students in my networking classes would have something to reference back to after I addressed the subject in class. I am going to post the article here again along with a video explaining IPv4 addressing (coming soon). I will post another article soon delving into the details of IPv6. This article here covers the decimal and binary math related to IP addressing and Subnet Masks. A well rounded knowledge of these concepts is critical for network engineers to know in order to design networks and implement security.</p>
<p>Ok, lets start out with a definitions of the terms. If you already know these, then good for you. These are my own definitions and formulas, not copied from anywhere. Please do not use these without giving credit, or gaining written consent.</p>
<p><strong>TCP/IP:</strong> Transmission Control Protocol/Internet Protocol<br />
<strong>Decimal:</strong> A numbering system with values from 0 to 9. Ten possible values. Also known as Base-10.<br />
<strong>Binary:</strong> A numbering system from with values from 0 to 1. Two possible values. Also known as Base-2.<br />
<strong>Bit:</strong> A single value in the binary system. Either a 1 or a 0.<br />
<strong>Boolean Logic:</strong> A combinatorial system that uses the operators AND, OR, NOT, and XOR. Boolean logic can have one of two values true or false.<br />
<strong>IP Address:</strong> The decimal representation of the binary value of the number that identifies a node on a network. A 32 bit number. I.E. 192.168.4.12<br />
<strong>Broadcast:</strong> A network transmission that is sent to and processed by all the nodes on a subnet.<br />
<strong>Multicast:</strong> A network transmission sent to and processed by group of nodes in a subnet.<br />
<strong>Unicast:</strong> A network transmission sent to and processed by a specific node in a subnet.<br />
<strong>Node:</strong> Anything that can have a IP address assigned to it.<br />
<strong>Subnet:</strong> A mathematically segmented number of IP addresses that are on the same logical network (It does not have to be the same physical network, though it often is. Because of this it is sometimes confused with the ethernet contention domain.)<br />
<strong>Broadcast Domain:</strong> All the IP addresses that receive the same broadcasts. Also a subnet.<br />
<strong>Network ID:</strong> The decimal value of the ANDed IP address. Also the base value of the subnet. Always has the value of all 0s in the Host ID portion of the IP address.<br />
<strong>Host ID:</strong> The portion of the IP address as defined by the subnet mask that identifies the node in the subnet.<br />
<strong>Broadcast ID:</strong> The last IP address in a subnet. Cannot be assigned to a node. Is used for broadcast transmissions. Always the value of all 1s in the Host ID portion of the IP address.<br />
<strong>Subnet Mask:</strong> A decimal representation of the amount of bits used to define the Network ID. I.E. 255.255.255.128<br />
<strong>CIDR:</strong> Classless Inter Domain Routing. A shorthand method of defining a subnet mask. States the number of bits used to define the Network ID. I.E. 192.168.4.12/26 (the /26 is the CIDR notation)<br />
<strong>Octet: </strong>A IP address is divided into four sections separated by decimal points. A section is called a octet. This is because it has eight binary bits.<br />
<strong>Gateway IP address:</strong> The IP address that identifies the node that receives transmissions that are being sent to nodes that are not in the sending node&#8217;s subnet.<br />
<strong>Integer:</strong> Whole numbers. Numbers without fraction or decimal. For example the integer of 2.67 would be 2.<br />
<strong>Modulus:</strong> The simplest way to describe this is to say the remainder of a number divisable by another. In other words 8 mod 3 = 2. The remainder of 8 divided by 3 is 2.</p>
<p><strong>Formula Variables:</strong><br />
A = Amount of Nodes<br />
H = Host ID Bits<br />
0 = Octet Value<br />
N = Network ID<br />
B = Broadcast ID<br />
C = CIDR<br />
U = Octet value counting from the left that is the value of &#8220;O&#8221;.</p>
<p>The math behind figuring out IP subnets is simple and can be done in your head as soon as you understand the concepts. It is just a conversion from binary to decimal. Below I have a chart with the math behind figuring the amount of nodes supported by a Subnet Mask. This covers subnets smaller than 255.255.255.0, but the math works the same for the larger subnets. Now let&#8217;s get into the math behind the madness. Let&#8217;s start with the formula for calculating the Octet (O) from the left that is the one to be used in the following Amount of Nodes equation, the formula is INT( C / 8 ) + 1 = U. This tells the Octet value, counted from the left that will populate O. Now to calculate the Amount of Nodes. Take 2 to the power of the amount of Host ID Bits multiplied by 256 to the power of 4 &#8211; U and then subtract a final 2 values for the Broadcast and Network ID since they are not addressable IPs, and the result will give you the amount of Nodes, so our formula is (2^<sup>H</sup>) * 256^<sup>(4-U)</sup> &#8211; 2 = A. Host ID bits is calculated by subtracting the CIDR from 32 (The amount of bits in a IP address) and a modulus of 8 (The amount of bits in a single Octet). So our formula for Host ID bits is (32 &#8211; C) mod 8 = H. So lets take the IP address and subnet of 192.168.12.129/26 and lets calculate the amount of nodes. We need to first get the Host ID bits so as in the previous equation we subtract the CIDR from 32 with a modulus of 8. That would be 32 &#8211; 26 which is 6, then 6 divided by 8 with the remainder of that division being 6, so our answer is 6 Host ID bits. Next we use the amount of Nodes formula (2^<sup>H</sup>) * 256^<sup>(4-U)</sup> &#8211; 2 = A. This would be (2^6) * 256^<sup>(4-4)</sup> &#8211; 2 = 62, or in words, 2 to the power of 6 multiplied by 256 to the power of 4 minus 4 and then a final 2 values are subtracted for N and B since they are not addressable and the result is 62, so 62 is the amount of Nodes we can have in that subnet.</p>
<p><strong>Subnet Masks and their corresponding Node ranges:</strong></p>
<p><strong></strong></p>
<table border="1" cellspacing="0" cellpadding="0" width="457">
<tbody>
<tr>
<td width="111">
<p align="center"><strong>Subnet Mask</strong></p>
</td>
<td width="49">
<p align="center"><strong>CIDR</strong></p>
</td>
<td width="87" valign="top">
<p align="center"><strong>Host ID Bits</strong></p>
</td>
<td colspan="3" width="210">
<p align="center"><strong>Math</strong></p>
</td>
</tr>
<tr>
<td width="111">
<p align="center">255.255.255.0</p>
</td>
<td width="49">
<p align="center">/24</p>
</td>
<td width="87" valign="top">
<p align="center">32-24=8</p>
</td>
<td width="30">
<p align="right">2<sup>8</sup> =</p>
</td>
<td width="36">
<p align="center">256</p>
</td>
<td width="144">= 254 A + 1 B + 1 N</td>
</tr>
<tr>
<td width="111">
<p align="center">255.255.255.128</p>
</td>
<td width="49">
<p align="center">/25</p>
</td>
<td width="87" valign="top">
<p align="center">32-25=7</p>
</td>
<td width="30">
<p align="right">2<sup>7</sup> =</p>
</td>
<td width="36">
<p align="center">128</p>
</td>
<td width="144">= 126 A + 1 B + 1 N</td>
</tr>
<tr>
<td width="111">
<p align="center">255.255.255.192</p>
</td>
<td width="49">
<p align="center">/26</p>
</td>
<td width="87" valign="top">
<p align="center">32-26=6</p>
</td>
<td width="30">
<p align="right">2<sup>6</sup> =</p>
</td>
<td width="36">
<p align="center">64</p>
</td>
<td width="144">= 62 A + 1 B + 1 N</td>
</tr>
<tr>
<td width="111">
<p align="center">255.255.255.224</p>
</td>
<td width="49">
<p align="center">/27</p>
</td>
<td width="87" valign="top">
<p align="center">32-27=5</p>
</td>
<td width="30">
<p align="right">2<sup>5</sup> =</p>
</td>
<td width="36">
<p align="center">32</p>
</td>
<td width="144">= 30 A + 1 B + 1 N</td>
</tr>
<tr>
<td width="111">
<p align="center">255.255.255.240</p>
</td>
<td width="49">
<p align="center">/28</p>
</td>
<td width="87" valign="top">
<p align="center">32-28=4</p>
</td>
<td width="30">
<p align="right">2<sup>4</sup> =</p>
</td>
<td width="36">
<p align="center">16</p>
</td>
<td width="144">= 14 A + 1 B + 1 N</td>
</tr>
<tr>
<td width="111">
<p align="center">255.255.255.248</p>
</td>
<td width="49">
<p align="center">/29</p>
</td>
<td width="87" valign="top">
<p align="center">32-29=3</p>
</td>
<td width="30">
<p align="right">2<sup>3</sup> =</p>
</td>
<td width="36">
<p align="center">8</p>
</td>
<td width="144">= 6 A + 1 B + 1 N</td>
</tr>
<tr>
<td width="111">
<p align="center">255.255.255.252</p>
</td>
<td width="49">
<p align="center">/30</p>
</td>
<td width="87" valign="top">
<p align="center">32-30=2</p>
</td>
<td width="30">
<p align="right">2<sup>2</sup> =</p>
</td>
<td width="36">
<p align="center">4</p>
</td>
<td width="144">= 2 A + 1 B + 1 N</td>
</tr>
<tr>
<td width="111">
<p align="center">255.255.255.254</p>
</td>
<td width="49">
<p align="center">/31</p>
</td>
<td width="87" valign="top">
<p align="center">32-31=1</p>
</td>
<td width="30">
<p align="right">2<sup>1</sup> =</p>
</td>
<td width="36">
<p align="center">2</p>
</td>
<td width="144">= 2 A</td>
</tr>
<tr>
<td width="111">
<p align="center">255.255.255.255</p>
</td>
<td width="49">
<p align="center">/32</p>
</td>
<td width="87" valign="top">
<p align="center">32-32=0</p>
</td>
<td width="30">
<p align="right">2<sup>0</sup> =</p>
</td>
<td width="36">
<p align="center">1</p>
</td>
<td width="144">= 1 A</td>
</tr>
</tbody>
</table>
<p> </p>
<p>Ok, now that we see that calculating the amount of Nodes is easy lets look at the formulas for calculating the Network IDs and Broadcast IDs. Lets use the same IP address of 192.168.12.129/26. The CIDR is 26 so remember our previous formula for calculating the Host ID bits (32 &#8211; C) mod 8 = H. So lets do it again, 32 &#8211; 26 mod 8 = 6 Host ID bits. Now for the formula for calculating the Octet (O) from the left that is the one to be used in the following Network ID equation, INT( C / 8 ) + 1 = U, so in this case since the CIDR or C value is 26 the formula would read like this INT( 26 / 8 ) + 1 = 4, or in words, the integer of 26 divided by 8 which is 3 plus 1 equals 4. That means that the Octet value to populate O will be 129, the 4th Octet from the left. Ok, now lets use the formula for calculating the Network ID (Int(O / 2^<sup>H</sup>)) * 2^<sup>H</sup> = N. Lets work through it, the integer of 129 divided by 2 to the power of 6 equals 2, or the integer of 129 divided by 64 equals 2. Then the rest of the formula is 2 multiplied by 2 to the power of 6,  or 2 multiplied by 64 which equals 128, so our Network ID is 128. (Int(129 / 2^<sup>6</sup>))*2^<sup>6</sup> = 128. Ok, now lets calculate the Broadcast ID. Now the entire formula for that would be (Int(O / 2^H))*2^H + (2^H &#8211; 1) = B, but since we already know the Network ID we can simple do N + (2^H &#8211; 1) = B. Lets work through it, 128 + (2^6 &#8211; 1) = 191, or in words, 128 plus 2 to the power of 6 which would be 128 plus 64 minus 1 and that equals 191. Ok then, our broadcast is 191. Lets see all the results of 192.168.12.129/26.</p>
<p><strong>Network ID:</strong> 192.168.12.128<br />
<strong>Broadcast ID:</strong> 192.168.12.191<br />
<strong>Amount of Nodes:</strong> 62</p>
<p><strong>Formulas:</strong><br />
H = (32 &#8211; C) mod 8 (Excel formula &#8220;H = mod( 32-C,8 )&#8221;)<br />
A = (2^<sup>H</sup>) * 256^<sup>(4-U)</sup> &#8211; 2<br />
U = INT( C / 8 ) + 1<br />
N = (Int(O / 2^<sup>H</sup>))*2^<sup>H</sup><br />
B = (Int(O / 2^<sup>H</sup>))*2^<sup>H</sup> + (2^<sup>H</sup> &#8211; 1) or N + (2^<sup>H</sup> - 1)</p>
<p>These formulas work fine in Excel so you can simply copy and paste them in if you like. Obviously you will have to replace the variables with cell numbers, but that is a given.</p>
<p>So now you are going to say, how do I calculate the CIDR if all I am given is the subnet mask? I thought you might ask. I considered demonstrating this with a rather complicated equation, but I think a chart will simply be easier to use and remember. Remember that a subnet mask is simply the decimal representation of the amount of bits used by the Network ID. The boolean AND logic is used by the TCP/IP stack to AND the IP address against the subnet mask and the result is the Network ID. The subnet mask of 255.255.255.192 converted to binary would be 11111111.11111111.11111111.11000000. The CIDR is simply a count of the amount of bits from the left that are used to define the Network ID. If you notice the first, second, and third octets are all 1s since the binary value of 255 is 11111111, so all 8 of the bits are used for the Network ID in each of these octets. The last octet is 192 and the binary value of that is 11000000, so there are 2 bits used in this octet for the Network ID. So you can simply count the amount of 1s to get the CIDR or do 8 + 8 + 8 + 2 = 26 and that is the CIDR. To get the CIDR just use the chart below and add the bits for Network ID together to get the CIDR. I.E. The CIDR for 255.255.240.0 would be 8 + 8 + 4 = 20.</p>
<p><strong>Subnet Mask Decimal and Binary Equivalents:</strong></p>
<table border="1" cellspacing="0" cellpadding="0" width="226">
<tbody>
<tr>
<td width="89">
<p align="center"><strong>Binary</strong></p>
</td>
<td width="54">
<p align="center"><strong>Decimal</strong></p>
</td>
<td width="82" valign="top">
<p align="center"><strong>Bits for Network ID</strong></p>
</td>
</tr>
<tr>
<td width="89">
<p align="center">10000000</p>
</td>
<td width="54">
<p align="center">128</p>
</td>
<td width="82" valign="top">
<p align="center">1</p>
</td>
</tr>
<tr>
<td width="89">
<p align="center">11000000</p>
</td>
<td width="54">
<p align="center">192</p>
</td>
<td width="82" valign="top">
<p align="center">2</p>
</td>
</tr>
<tr>
<td width="89">
<p align="center">11100000</p>
</td>
<td width="54">
<p align="center">224</p>
</td>
<td width="82" valign="top">
<p align="center">3</p>
</td>
</tr>
<tr>
<td width="89">
<p align="center">11110000</p>
</td>
<td width="54">
<p align="center">240</p>
</td>
<td width="82" valign="top">
<p align="center">4</p>
</td>
</tr>
<tr>
<td width="89">
<p align="center">11111000</p>
</td>
<td width="54">
<p align="center">248</p>
</td>
<td width="82" valign="top">
<p align="center">5</p>
</td>
</tr>
<tr>
<td width="89">
<p align="center">11111100</p>
</td>
<td width="54">
<p align="center">252</p>
</td>
<td width="82" valign="top">
<p align="center">6</p>
</td>
</tr>
<tr>
<td width="89">
<p align="center">11111110</p>
</td>
<td width="54">
<p align="center">254</p>
</td>
<td width="82" valign="top">
<p align="center">7</p>
</td>
</tr>
<tr>
<td width="89">
<p align="center">11111111</p>
</td>
<td width="54">
<p align="center">255</p>
</td>
<td width="82" valign="top">
<p align="center">8</p>
</td>
</tr>
</tbody>
</table>
<p> </p>
<p>It has been my opinion for sometime now that if a network engineer is incapable of performing these simple functions in his head, then he should look for a job elsewhere. The reasoning behind that is if they are not able to perform this simple task what other essential networking tasks are they not capable of. General networking theory knowledge is so lacking today; sometimes I wonder how some people are capable of performing their jobs (Google is good). I have some fellow engineers that disagree with me on this opinion, you can guess who they are. :)</p>
<!-- sphereit end --><span style="margin-bottom:40px; border-bottom:none;"><a class="iconsphere" title="Sphere: Related Content" onclick="return Sphere.Widget.search('http://www.islandoflogic.com/index.php/2008/07/20/understanding-ipv4-addressing/')" href="http://www.sphere.com/search?q=sphereit:http://www.islandoflogic.com/index.php/2008/07/20/understanding-ipv4-addressing/">Sphere: Related Content</a></span><br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.islandoflogic.com/index.php/2008/07/20/understanding-ipv4-addressing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Website is Down: Sales Guy vs Web Dude</title>
		<link>http://www.islandoflogic.com/index.php/2008/07/10/sales-guy-vs-web-dude/</link>
		<comments>http://www.islandoflogic.com/index.php/2008/07/10/sales-guy-vs-web-dude/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 20:38:38 +0000</pubDate>
		<dc:creator>Jason M</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://www.islandoflogic.com/?p=43</guid>
		<description><![CDATA[This is so funny. This was emailed to me by a co-worker. Admittedly the language is a little rough, don&#8217;t watch if you are easily offended. This is so typical if you are a IT guy though. This guy does some classic moves like deleting your boss&#8217;s sent email so that you can claim he [...]]]></description>
			<content:encoded><![CDATA[<!-- sphereit start --><p>This is so funny. This was emailed to me by a co-worker. Admittedly the language is a little rough, don&#8217;t watch if you are easily offended. This is so typical if you are a IT guy though. This guy does some classic moves like deleting your boss&#8217;s sent email so that you can claim he never sent an email to you. Setting a user&#8217;s desktop background to a picture of their desktop and then deleting all their icons. He used the same method that I used when I was a network admin to users when they would call. I would ask them if they had rebooted their machine even if it was something as simple as a missing icon or something. Another classic move is to use VNC or something similar to get into a user&#8217;s desktop while you are on the phone with them, and asking them to login. You can kindly add some additional characters while they are typing their password. You then berate them for their typing skills or their stupidity for forgetting their password. This will always bring laughs to anyone in the IT Dept. Granted it probably does not improve relations between IT and users, but it sure is funny.</p>
<p>This Video was create by <em>Website is Down</em>: <a href="http://dpt.thewebsiteisdown.com/dpt/" target="_blank">http://dpt.thewebsiteisdown.com/dpt/</a></p>
<p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/p_0FR5NgNmo&amp;rel=0&amp;color1=0xd6d6d6&amp;color2=0xf0f0f0"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/p_0FR5NgNmo&amp;rel=0&amp;color1=0xd6d6d6&amp;color2=0xf0f0f0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></object></p>
<!-- sphereit end --><span style="margin-bottom:40px; border-bottom:none;"><a class="iconsphere" title="Sphere: Related Content" onclick="return Sphere.Widget.search('http://www.islandoflogic.com/index.php/2008/07/10/sales-guy-vs-web-dude/')" href="http://www.sphere.com/search?q=sphereit:http://www.islandoflogic.com/index.php/2008/07/10/sales-guy-vs-web-dude/">Sphere: Related Content</a></span><br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.islandoflogic.com/index.php/2008/07/10/sales-guy-vs-web-dude/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Vista PE Boot Disk</title>
		<link>http://www.islandoflogic.com/index.php/2008/07/07/vista-pe-boot-disk/</link>
		<comments>http://www.islandoflogic.com/index.php/2008/07/07/vista-pe-boot-disk/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 02:22:24 +0000</pubDate>
		<dc:creator>Jason M</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://www.islandoflogic.com/?p=40</guid>
		<description><![CDATA[I think it is great that Microsoft provides a limited edition of their kernel free for a Pre-boot environment. It is a great troubleshooting tool. Microsoft has provided the PE disk since Windows XP, but it was at one time only available to OEM&#8217;s. This disk will work with all versions of Windows and even other OS&#8217;s, [...]]]></description>
			<content:encoded><![CDATA[<!-- sphereit start --><p>I think it is great that Microsoft provides a limited edition of their kernel free for a Pre-boot environment. It is a great troubleshooting tool. Microsoft has provided the PE disk since Windows XP, but it was at one time only available to OEM&#8217;s. This disk will work with all versions of Windows and even other OS&#8217;s, as long as it has a file system that is readable by Vista. I just got done using a PE disk on a unbootable machine (wouldn&#8217;t even finish loading in Safe Mode) at a customer to restore the registry from a System Restore point. Works like a charm.</p>
<p>Below are the instructions on how to create a Windows Vista PE disk.</p>
<ul>
<li>Download and install the Automated Installation Kit from Microsoft. (<a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=C7D4BC6D-15F3-4284-9123-679830D629F2&amp;displaylang=en" target="_blank">http://www.microsoft.com/downloads/details.aspx?FamilyID=C7D4BC6D-15F3-4284-9123-679830D629F2&amp;displaylang=en</a>) </li>
<li>Open the AIK Command Prompt. Start Menu&gt;All Programs&gt;Microsoft Windows AIK&gt;Windows PE Tools Command Prompt.</li>
</ul>
<div><a class="shutterset_%GALLERY_NAME%" href="http://www.islandoflogic.com/wp-content/gallery/aik/aikcmd.jpg"><img class="ngg-singlepic ngg-none" src="http://www.islandoflogic.com/wp-content/gallery/aik/thumbs/thumbs_aikcmd.jpg" alt="" /></a></div>
<ul>
<li>Next you will use the &#8220;copype&#8221; command to create the Win PE structure based on the processor architecture that you have, x86 or AMD64. In this case I am using the &#8220;copype x86 c:\windowspe-x86&#8243; command.</li>
</ul>
<div><a class="shutterset_%GALLERY_NAME%" href="http://www.islandoflogic.com/wp-content/gallery/aik/copype.jpg"><img class="ngg-singlepic ngg-none" src="http://www.islandoflogic.com/wp-content/gallery/aik/thumbs/thumbs_copype.jpg" alt="" /></a></div>
<div>
<ul>
<li>The resulting output of the &#8220;copype&#8221; command will generate a folder structure under C:\windowspe-x86. In this folder will be the necessary files to make a bootable ISO file or a WIM image file that can modified and deployed with ImageX. In this case we will just create a bootable ISO image file.</li>
</ul>
<div><a class="shutterset_%GALLERY_NAME%" href="http://www.islandoflogic.com/wp-content/gallery/aik/windowspe-x86.jpg"><img class="ngg-singlepic ngg-none" src="http://www.islandoflogic.com/wp-content/gallery/aik/thumbs/thumbs_windowspe-x86.jpg" alt="" /></a></div>
<div>
<ul>
<li>The command that can be used to generate the ISO file is &#8220;OSCDIMG -bc:\windowspe-x86\etfsboot.com -n -o c:\windowspe-x86\iso C:\windowspe-x86\win_pe.iso&#8221;. The -b option specifies the path to the file containing the boot sector. The -n option allows file names longer then the DOS 8.3 format. The -o option is used to optimize the amount of space used by encoding duplicate files only once. The command will generate a bootable Windows Vista PE disk in the C:\windowspe-x86\win_pe.iso location. You can then burn this ISO to CD using any of your favorite CD burning software packages, like Nero, Roxio, etc.</li>
</ul>
<div><a class="shutterset_%GALLERY_NAME%" href="http://www.islandoflogic.com/wp-content/gallery/aik/oscdimg.jpg"><img class="ngg-singlepic ngg-none" src="http://www.islandoflogic.com/wp-content/gallery/aik/thumbs/thumbs_oscdimg.jpg" alt="" /></a></div>
<div><a class="shutterset_%GALLERY_NAME%" href="http://www.islandoflogic.com/wp-content/gallery/aik/winpe.jpg"><img class="ngg-singlepic ngg-none" src="http://www.islandoflogic.com/wp-content/gallery/aik/thumbs/thumbs_winpe.jpg" alt="" /></a></div>
</div>
</div>
<!-- sphereit end --><span style="margin-bottom:40px; border-bottom:none;"><a class="iconsphere" title="Sphere: Related Content" onclick="return Sphere.Widget.search('http://www.islandoflogic.com/index.php/2008/07/07/vista-pe-boot-disk/')" href="http://www.sphere.com/search?q=sphereit:http://www.islandoflogic.com/index.php/2008/07/07/vista-pe-boot-disk/">Sphere: Related Content</a></span><br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.islandoflogic.com/index.php/2008/07/07/vista-pe-boot-disk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vista Flip 3d</title>
		<link>http://www.islandoflogic.com/index.php/2008/06/26/vista-flip-3d/</link>
		<comments>http://www.islandoflogic.com/index.php/2008/06/26/vista-flip-3d/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 21:03:55 +0000</pubDate>
		<dc:creator>Jason M</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://www.islandoflogic.com/?p=33</guid>
		<description><![CDATA[Wow, I just discovered something that I should have known for a long time now. I was using my Flip 3d function in Vista, while working from Panara Bread, when it suddenly dawned on me that there must be a keyboard shortcut for this. I googled it, and sure enough I found a keyboard shortcut. [...]]]></description>
			<content:encoded><![CDATA[<!-- sphereit start --><p>Wow, I just discovered something that I should have known for a long time now. I was using my Flip 3d function in Vista, while working from Panara Bread, when it suddenly dawned on me that there must be a keyboard shortcut for this. I googled it, and sure enough I found a keyboard shortcut. The keys are very similar to the Alt-Tab function, except WIN-TAB to cycle forward and WIN-SHIFT/TAB to cycle backwards. I guess small things to amuse small minds, but I love it.</p>
<p><img src="/images/flip3d.jpg" alt="Vista Flip 3d" width="384" height="240" /></p>
<!-- sphereit end --><span style="margin-bottom:40px; border-bottom:none;"><a class="iconsphere" title="Sphere: Related Content" onclick="return Sphere.Widget.search('http://www.islandoflogic.com/index.php/2008/06/26/vista-flip-3d/')" href="http://www.sphere.com/search?q=sphereit:http://www.islandoflogic.com/index.php/2008/06/26/vista-flip-3d/">Sphere: Related Content</a></span><br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.islandoflogic.com/index.php/2008/06/26/vista-flip-3d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hacking MySpace</title>
		<link>http://www.islandoflogic.com/index.php/2008/06/18/hacking-myspace/</link>
		<comments>http://www.islandoflogic.com/index.php/2008/06/18/hacking-myspace/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 19:52:20 +0000</pubDate>
		<dc:creator>Jason M</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://www.islandoflogic.com/?p=31</guid>
		<description><![CDATA[This is so funny. I just hacked my little buddy Henry&#8217;s MySpace site. This was in response to some &#8220;inappropriate&#8221; content on his site that I needed to remove. I used a combination of hyperlink obfuscation in an email sent to him and a Man-in-the-Middle attack (a PHP page that I wrote) to gain access to his site. Here [...]]]></description>
			<content:encoded><![CDATA[<!-- sphereit start --><p>This is so funny. I just hacked my little buddy Henry&#8217;s MySpace site. This was in response to some &#8220;inappropriate&#8221; content on his site that I needed to remove. I used a combination of hyperlink obfuscation in an email sent to him and a Man-in-the-Middle attack (a PHP page that I wrote) to gain access to his site. Here is the link to the page where he entered his credentials (<a href="http://www.jasonmullett.com/myspace.com/" target="_blank">Click Here</a>) and kindly emailed them to me. If you pay special attention to the URL you will notice that it is not really myspace.com. Here is a link to his MySpace site that I took over (<a href="http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&amp;friendid=194152267" target="_blank">Click Here</a>). Henry, who&#8217;s the man??? Come on you can say it.</p>
<p>With friends like me who needs enemies? Right?!?</p>
<!-- sphereit end --><span style="margin-bottom:40px; border-bottom:none;"><a class="iconsphere" title="Sphere: Related Content" onclick="return Sphere.Widget.search('http://www.islandoflogic.com/index.php/2008/06/18/hacking-myspace/')" href="http://www.sphere.com/search?q=sphereit:http://www.islandoflogic.com/index.php/2008/06/18/hacking-myspace/">Sphere: Related Content</a></span><br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.islandoflogic.com/index.php/2008/06/18/hacking-myspace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

