<?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>Stephen Kingston &#187; CHM5720</title>
	<atom:link href="http://stephen.kingston.name/category/chm5720/feed/" rel="self" type="application/rss+xml" />
	<link>http://stephen.kingston.name</link>
	<description>Technical Weblog</description>
	<lastBuildDate>Wed, 02 May 2007 20:13:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Some facts about IPv6</title>
		<link>http://stephen.kingston.name/2006/12/06/some-facts-about-ipv6/</link>
		<comments>http://stephen.kingston.name/2006/12/06/some-facts-about-ipv6/#comments</comments>
		<pubDate>Wed, 06 Dec 2006 22:45:15 +0000</pubDate>
		<dc:creator>Stephen Kingston</dc:creator>
				<category><![CDATA[CHM5720]]></category>
		<category><![CDATA[CS35110]]></category>
		<category><![CDATA[IP]]></category>

		<guid isPermaLink="false">http://stephen.kingston.name/2006/12/05/some-facts-about-ipv6/</guid>
		<description><![CDATA[Internet Protocol Version 6 is the imminent next generation Internet Protocol, which amongst other things will replace the four byte IPv4 addressing scheme we use now (numbers like 193.1.2.3) with a 16 byte addressing scheme. Steve Gibson discussed IPv6 on his Security Now Podcast (number 25), and as I have said elsewhere, made a few [...]]]></description>
			<content:encoded><![CDATA[<p>Internet Protocol Version 6 is the imminent next generation Internet Protocol, which amongst other things will replace the four byte IPv4 addressing scheme we use now (numbers like 193.1.2.3) with a 16 byte addressing scheme.</p>
<p>Steve Gibson discussed IPv6 on his Security Now Podcast (number 25), and as I have said elsewhere, made a few errors, but this bit was interesting:</p>
<blockquote><p>STEVE:Â Â [...]Â  So we have, you know, 4.3 almost billion IPs currently[in the IPv4 addressing scheme]. Well, 28 bits for addressing, which is what IPv6 gives us, is really out of control.Â  That&#8217;s 3.4 times 10 to the 38th power.Â  That&#8217;s 340 billion billion billion billion IPs.Â  So&#8230;</p>
<p>LEO:Â  That should be enough, at least until we conquer a few more galaxies, I think.
</p></blockquote>
<p>Okay, lets look at the numbers. With an equitable distribution of IPv4 addresses (and we don&#8217;t have an equitable distribution of addresses) we would not have enough addresses for everyone on the planet. As I am not atypical in having a home network of ten or more devices, all needing an IP address, the IPv4 rangeÂ starts to look very small (especially as companies such as the Ford Motor Company and General Electric each have one about .5% of the entire unicast address space assigned to them!)</p>
<p>So what does IPv6 give us? Steve Gibson says 28 bit addressing. From 16 bytes? How do we get that? 16 bytes = 128 bits doesn&#8217;t it? Where did the other 100 bits go?</p>
<p>Well actuallyÂ Steve mispoke (or maybe he has been mistranscribed) because the figures he quotes next assume 128 bits of addressing. A 128 bit range allows theoretically for 2.4Â x 10<sup>38</sup> addresses. Leo says this is enough until we conquer some more galaxies. Actually, this is just <strong>enough</strong>. Forever!</p>
<p>How do I know? Well the number of stars in the universe is currently estimated to be about 10<sup>22</sup>. That means that we have, in IPv6, a theoretical 3.8 x 10<sup>16</sup> addresses for every star in the universe. On theÂ very sillyÂ assumption of one inhabited planet revolving around <em>every</em> star in the universe, each with a population of the size of Earth, each planet in the universe could have over 6 million IP addresses for every single inhabitant!</p>
<p>It is enough addresses.</p>
<p>But actually, 128 bits are not available for unicast IP addressing in IPv6. When Steve Gibson says that 28 bits or 128 bits is what we have in IPv6, he ignores the structure of the addresses.</p>
<p>64 bits of every IPv6 address are reserved for the host id on a network, and the remainder are split up into different classes. The importantÂ class for IPv6 addressing as we commonly understand IP addressing are the  global unicast addresses, which have a total of 61 bits availableÂ for addressing, but these bits are split into smaller blocks &#8211; 45 bits of network id aggregation and 16 bits of subnet aggregation as things currently stand.</p>
<p>A company can then set up multiple site subnetworks from its 16 bit allocation. Each one of these networks can have 2<sup>64</sup> nodes which is nearly 2 x 10<sup>9</sup> on any single network.</p>
<p>Now assuming we could network together ourÂ nodes at a minumum distance of 1 metre apart, we could build a single network end to end, all the way from Aberystwyth to the M25.</p>
<p>No, not the M25Â London orbital car park. The M25 star cluster in the constellation of Sagittarius, some 2000 light years away.</p>
<p>This would give us an end to end round trip time on the network of 4000 years (plus a few milliseconds processing latency), which is not terribly fast. Indeed we might wonder whether it would be better to have a smaller network using the IP over Avian Carriers protocol (<a href="http://rfc.sunsite.dk/rfc/rfc1149.html">RFC 1149</a> and <a href="http://rfc.sunsite.dk/rfc/rfc2549.html">RFCÂ 2549</a>)instead!</p>
]]></content:encoded>
			<wfw:commentRss>http://stephen.kingston.name/2006/12/06/some-facts-about-ipv6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IPv6 Internals</title>
		<link>http://stephen.kingston.name/2006/12/05/ipv6-internals/</link>
		<comments>http://stephen.kingston.name/2006/12/05/ipv6-internals/#comments</comments>
		<pubDate>Tue, 05 Dec 2006 22:47:31 +0000</pubDate>
		<dc:creator>Stephen Kingston</dc:creator>
				<category><![CDATA[CHM5720]]></category>
		<category><![CDATA[CS35110]]></category>
		<category><![CDATA[IP]]></category>

		<guid isPermaLink="false">http://stephen.kingston.name/2006/12/05/ipv6-internals/</guid>
		<description><![CDATA[The current issue of the Internet Protocol Journal has an indepth article on IPv6 internals. This is excellent additional reading on IPv6 beyond what I presented in today&#8217;s lecture. Much of it covers the same ground, but from a different perspective &#8211; so hopefully it will be of help to anyone feeling confused.]]></description>
			<content:encoded><![CDATA[<p>The current issue of the Internet Protocol Journal has an indepth article on <a href="http://www.cisco.com/web/about/ac123/ac147/archived_issues/ipj_9-3/ipv6_internals.html">IPv6 internals</a>.</p>
<p>This is excellent additional reading on IPv6 beyond what I presented in today&#8217;s lecture. Much of it covers the same ground, but from a different perspective &#8211; so hopefully it will be of help to anyone feeling confused.</p>
]]></content:encoded>
			<wfw:commentRss>http://stephen.kingston.name/2006/12/05/ipv6-internals/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Security Now Podcast and IPv6</title>
		<link>http://stephen.kingston.name/2006/12/05/security-now-podcast-and-ipv6/</link>
		<comments>http://stephen.kingston.name/2006/12/05/security-now-podcast-and-ipv6/#comments</comments>
		<pubDate>Tue, 05 Dec 2006 22:36:17 +0000</pubDate>
		<dc:creator>Stephen Kingston</dc:creator>
				<category><![CDATA[CHM5720]]></category>
		<category><![CDATA[CS35110]]></category>
		<category><![CDATA[IP]]></category>

		<guid isPermaLink="false">http://stephen.kingston.name/2006/12/05/security-now-podcast-and-ipv6/</guid>
		<description><![CDATA[IPv6 is an important topic, and Steve Gibson pretty much botches it in his Security Now! episode 25. I don&#8217;t want to criticise what Gibson is trying to do on this podcast. The area of security issues on the Internet is huge, and the breadth of reading he must undertake to understand the issues must [...]]]></description>
			<content:encoded><![CDATA[<p>IPv6 is an important topic, and Steve Gibson pretty much botches it in his <a href="http://www.grc.com/sn/SN-025.htm">Security Now! episode 25</a>.</p>
<p>I don&#8217;t want to criticise what Gibson is trying to do on this podcast. The area of security issues on the Internet is huge, and the breadth of reading he must undertake to understand the issues must not be underestimated. He is bound to make mistakes.</p>
<p>But on IPv6 Gibson&#8217;s is frankly wrong. He says:</p>
<blockquote><p>
If it weren&#8217;t for NAT router technology that basically allows many machines to share a single public IP, we really would be in trouble already with IP space depletion. But NAT routers happened, and they&#8217;re just a good thing for everybody. Corporations are using them. There are even some ISPs that are using NAT routers and putting all their customers behind a big NAT router because it really works very well, not perfectly, but very well, as most home users know. And so the prevalence and birth of NAT routing technology has hugely reduced the pressure on the move to IPv6.
</p></blockquote>
<p>Steve Gibson is wrong as follows:</p>
<ul>
<li>NAT is <em>not</em> a good security solution. The part of NAT that is adding security is the same part that adds security in a non NAT perimeter firewall.</li>
<li>The gains from NAT have largely been achieved with respect to address depletion. NAT extended IPv4 to give us time to migrate to IPv6, but the gains are not limitless. See the posts on this blog about IPv4 address depletion &#8211; we have only about four years of IPv4 addresses left by current best estimates.</li>
<li>NAT actually doesn&#8217;t work that well. We are just getting good at working around its limitations. This is why Gibson endlessly pushes the proprietry non-standard Hamachi solution for encrypted tunnels, and other mechanisms to make some kind of peer to peer work on the Internet.</li>
</ul>
<p>IPv6 has so much more to offer than Steve Gibson realises. Zero configuration, IP mobility, multiple addresses per interface, router discovery, link level encryption (he mentioned that one in passing), authentication&#8230; the list goes on. </p>
<p>He also says:</p>
<blockquote><p>
The problem is that it&#8217;s not easily compatible with IPv4. The problem that IPv6 is having is, you know, the manufacturers who are making the routers, I mean even, for example, the PC manufacturers are supporting Version 6, though no one&#8217;s using it yet. You know, Windows Server 2003 and XP can do IPv6. But you can&#8217;t get it anywhere. I mean, there&#8217;s nowhere to plug it in to get Version 6
</p></blockquote>
<p>Actually IPv6 does play very nicely with IPv4, and you can get it now. See for instance the BT Exact tunnel broker service. Some ISPs are now starting to offer IPv6 to their customers.</p>
<p>The real worry here is that Gibson clearly does not understand the mechanism by which we must transition from IPv4 to IPv6. There is not going to be a single big switch over. We must create islands of IPv6 (falling back on IPv4 automatically when we must). We connect these islands by one of the many tunnelling protocols, and as the islands grow, the sea of IPv4 is slowly pushed back. Before you know it we are all using IPv6 &#8211; just in time to stave off address depletion.</p>
<p>There is some good stuff in the Security Now podcast, but Steve Gibson saying IPv6 will never happen is not an example of it.</p>
]]></content:encoded>
			<wfw:commentRss>http://stephen.kingston.name/2006/12/05/security-now-podcast-and-ipv6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Working with IP Addresses</title>
		<link>http://stephen.kingston.name/2006/12/04/working-with-ip-addresses/</link>
		<comments>http://stephen.kingston.name/2006/12/04/working-with-ip-addresses/#comments</comments>
		<pubDate>Mon, 04 Dec 2006 12:08:20 +0000</pubDate>
		<dc:creator>Stephen Kingston</dc:creator>
				<category><![CDATA[CHM5720]]></category>
		<category><![CDATA[CS35110]]></category>
		<category><![CDATA[IP]]></category>

		<guid isPermaLink="false">http://stephen.kingston.name/2006/12/04/working-with-ip-addresses/</guid>
		<description><![CDATA[For anyone still struggling with subnetting and all those fiddly binary numbers when working with IPv4 addresses, help is at hand in the form of an excellent article in a back issue of The Internet Protocol Journal. This article takes you through the basics of IP addressing and provides an easy strategy for working with [...]]]></description>
			<content:encoded><![CDATA[<p>For anyone still struggling with subnetting and all those fiddly binary numbers when working with IPv4 addresses, help is at hand in the form of an excellent article in a back issue of <a href="http://www.cisco.com/web/about/ac123/ac147/archived_issues/ipj_9-1/ip_addresses.html">The Internet Protocol Journal</a>. </p>
<p>This article takes you through the basics of IP addressing and provides an easy strategy for working with those numbers for calculating an appropriate subnetting strategy. It has a heading &#8220;The Hardest Subnetting Problem&#8221; which looks much like an examination past question (only harder!), and a fully worked example. It also speaks briefly about working with IPv6 addresses in the summary.</p>
<p>Well worth a read.</p>
]]></content:encoded>
			<wfw:commentRss>http://stephen.kingston.name/2006/12/04/working-with-ip-addresses/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

