<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Microsoft Peer-to-Peer Networking : Teredo</title><link>http://blogs.msdn.com/p2p/archive/tags/Teredo/default.aspx</link><description>Tags: Teredo</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Teredo and the PNRP Global Cloud</title><link>http://blogs.msdn.com/p2p/archive/2007/03/22/teredo-and-the-pnrp-global-cloud.aspx</link><pubDate>Thu, 22 Mar 2007 03:13:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1927937</guid><dc:creator>tylbart</dc:creator><slash:comments>5</slash:comments><comments>http://blogs.msdn.com/p2p/comments/1927937.aspx</comments><wfw:commentRss>http://blogs.msdn.com/p2p/commentrss.aspx?PostID=1927937</wfw:commentRss><description>&lt;P class=MsoNormal&gt;Most applications that use the Windows Peer-to-Peer applications require use the global cloud for most scenarios.&amp;nbsp; However I have found that occasionally the global cloud is not present on some machines.&amp;nbsp; Here is some troubleshooting tips you can perform to get the global cloud up and running.&lt;/P&gt;
&lt;P class=MsoNormal&gt;First of all, a brief review on what the global cloud is.&amp;nbsp; It is nothing more than access to public IPv6 addresses.&amp;nbsp; In theory if your windows machine has a Global IPv6 address your p2p applications can communicate with any other windows machine with Global IPv6 connective.&amp;nbsp; Chances are you do not yet have Native IPv6 connectivity and so you are using a transition technology like Teredo.&amp;nbsp; Teredo is available on both Vista and XP.&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal&gt;It tries to send IPv4 UDP packets to a teredo server (by default Teredo.ipv6.microsoft.com).&amp;nbsp; The server in turn will send back a teredo address for the client to use.&amp;nbsp; The address it sends back is a Global IPv6 address with a prefix of 2001:0::/32.&amp;nbsp; When the application sends a packet from the teredo address to another IPv6 address it will be sent to the destination or to a Teredo relay service to route to the correct address.&lt;/P&gt;
&lt;P class=MsoNormal&gt;How do you check to see if you have access to the global cloud?&amp;nbsp; The simplest way is to run “NETSH P2P PNRP CL SH ST *”.&amp;nbsp; &amp;nbsp;&amp;nbsp;This will enumerate what clouds are available.&amp;nbsp; You will probably see a link local cloud that looks something like this: “LinkLocal_2001:4898:28:3::/64”&amp;nbsp; That cloud will let you communicate with those on your same subnet.&amp;nbsp; The global cloud is named “Global_”.&amp;nbsp; If it is not there then we need to find out why.&lt;/P&gt;
&lt;P class=MsoNormal&gt;Take a look at your teredo state.&amp;nbsp; On vista the command is “Netsh int teredo sh st”&amp;nbsp; On XP it is “Netsh interface ipv6 show teredo”.&amp;nbsp; The state value will tell us if it is working or not.&amp;nbsp; The Error value will tell us why it is not working.&amp;nbsp; If the state is probe that means it is still trying to communicate with the teredo server.&amp;nbsp; You need to give it another minute.&amp;nbsp; If it says dormant or qualified that means it is working.&amp;nbsp; If it says offline then we need to examine the error state.&lt;/P&gt;
&lt;P class=MsoNormal&gt;Sometimes it is clear what the error is.&amp;nbsp; If it says the teredo server is unreachable over UDP then you need to check if it is blocked by a firewall.&amp;nbsp; If you are using the windows firewall the port should have been opened for you.&amp;nbsp; Check any 3&lt;SUP&gt;rd&lt;/SUP&gt; party firewalls or your edge firewalls to make sure the traffic is not being blocked.&amp;nbsp; By default Teredo uses a random port.&amp;nbsp; You can set which port you want it to use with the “netsh int ter set state clientport=&lt;I&gt;port&lt;/I&gt;” command.&amp;nbsp; You may try to do a regular ping to the teredo server.&amp;nbsp; However the error may not be as clear.&amp;nbsp; If it says “Client is in a managed Network” it means teredo has detected that you are in a corperate environment.&amp;nbsp; If that is the case you need to set the Teredo type to Enterprise client “Netsh int ter set state enterpriseclient”.&lt;/P&gt;
&lt;P class=MsoNormal&gt;Another thing to note is on Vista a IPv6 firewall is required for Teredo to operate.&amp;nbsp;&amp;nbsp; If windows detects there is no IPv6 firewall, teredo will not function.&amp;nbsp; If you use the windows firewall, turn it on.&amp;nbsp; If you use a 3&lt;SUP&gt;rd&lt;/SUP&gt; party firewall check with the manufacturer to make sure it reports to windows if it is on or not, and that it covers IPv6.&lt;/P&gt;
&lt;P class=MsoNormal&gt;For more information about Teredo, read the overview at &lt;SPAN style="COLOR: #1f497d"&gt;&lt;A href="http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/teredo.mspx" target=_blank mce_href="http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/teredo.mspx"&gt;&lt;FONT color=#0000ff&gt;http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/teredo.mspx&lt;/FONT&gt;&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;FONT color=#000000&gt;-Travis&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1927937" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/p2p/archive/tags/PNRP/default.aspx">PNRP</category><category domain="http://blogs.msdn.com/p2p/archive/tags/Teredo/default.aspx">Teredo</category></item></channel></rss>