<?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>PNRP Debugging Guide Part 1</title><link>http://blogs.msdn.com/p2p/archive/2007/07/24/pnrp-debugging-guide-part-1.aspx</link><description>In this installment we’ll talk about failing resolutions, registrations and communication problems between Windows XP and Windows Vista. Name Resolution Fails You published a name on one machine, and you can’t resolve it from another Check cloud status</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: PNRP Debugging Guide Part 1</title><link>http://blogs.msdn.com/p2p/archive/2007/07/24/pnrp-debugging-guide-part-1.aspx#8327187</link><pubDate>Thu, 20 Mar 2008 12:53:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8327187</guid><dc:creator>adityayadav76</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I try to start P2P channel inside a C# inproc COM component loaded in IE as an add in. &lt;/p&gt;
&lt;p&gt;It says default resolver not available.&lt;/p&gt;
&lt;p&gt;Can you add how to resolve that, information on the p2p debugging section on your blog?&lt;/p&gt;
</description></item><item><title>re: PNRP Debugging Guide Part 1</title><link>http://blogs.msdn.com/p2p/archive/2007/07/24/pnrp-debugging-guide-part-1.aspx#8329080</link><pubDate>Fri, 21 Mar 2008 15:30:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8329080</guid><dc:creator>DJDrEvil</dc:creator><description>&lt;p&gt;adityayadav76: Did you verify you have PNRP enabled like the article says? &amp;nbsp;If so make sure you set the resolver to PNRP. And make sure your security settings match.&lt;/p&gt;
&lt;p&gt;For instance in the example chat app (converted from the horrible app.config to an imperative configuration):&lt;/p&gt;
&lt;p&gt;&amp;lt;snip&amp;gt;&lt;/p&gt;
&lt;p&gt;InstanceContext instanceContext = new InstanceContext(new ChatApp(member));&lt;/p&gt;
&lt;p&gt;NetPeerTcpBinding chatBinding = new NetPeerTcpBinding();&lt;/p&gt;
&lt;p&gt;chatBinding.Security.Mode = SecurityMode.None;&lt;/p&gt;
&lt;p&gt;chatBinding.Resolver.Mode = PeerResolverMode.Pnrp;&lt;/p&gt;
&lt;p&gt;DuplexChannelFactory&amp;lt;IChatChannel&amp;gt; factory = &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;new DuplexChannelFactory&amp;lt;IChatChannel&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(instanceContext, &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; chatBinding, &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;net.p2p://chatMesh/ServiceModelSamples/Chat&amp;quot;);&lt;/p&gt;
&lt;p&gt;IChatChannel participant = factory.CreateChannel();&lt;/p&gt;
&lt;p&gt;&amp;lt;snip&amp;gt;&lt;/p&gt;
</description></item><item><title>re: PNRP Debugging Guide Part 1 - not quite working yet ...</title><link>http://blogs.msdn.com/p2p/archive/2007/07/24/pnrp-debugging-guide-part-1.aspx#8419194</link><pubDate>Wed, 23 Apr 2008 17:55:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8419194</guid><dc:creator>JohnSpence</dc:creator><description>&lt;p&gt;Hello, and thanks for the excellent blog. &amp;nbsp;Great information. &amp;nbsp;I am experimenting with IPv6, p2p, and PNRP myself, and am having some difficulty, which I heop you can help me with, if I may ask.&lt;/p&gt;
&lt;p&gt;I cannot resolve a WICN name – which I think should use peer-to-peer – across the Internet between 2 Vista machines.&lt;/p&gt;
&lt;p&gt;Machine 1 is the resolver. &amp;nbsp;It has an insecure name:&lt;/p&gt;
&lt;p&gt;C:\Windows\system32&amp;gt;netsh p2p pnrp peer show machine&lt;/p&gt;
&lt;p&gt;Machine Name: 0.johnspencecommand&lt;/p&gt;
&lt;p&gt;Use this format DNS name in other applications to refer to this machine: johnspencecommand.pnrp.net&lt;/p&gt;
&lt;p&gt;The machine name is being published.&lt;/p&gt;
&lt;p&gt;The machine name is configured to be published automatically.&lt;/p&gt;
&lt;p&gt;It appears healthy, IPv6-wise and peer-to-peer-wise:&lt;/p&gt;
&lt;p&gt;C:\Windows\system32&amp;gt;ping -6 pnrpv2.ipv6.microsoft.com&lt;/p&gt;
&lt;p&gt;Pinging pnrpv2.ipv6.microsoft.com [2002:4136:e383::4136:e383] from 2001:0:4137:9e50:10e0:a53c:bc49:7236 with 32 bytes of data:&lt;/p&gt;
&lt;p&gt;Reply from 2002:4136:e383::4136:e383: time=99ms&lt;/p&gt;
&lt;p&gt;Reply from 2002:4136:e383::4136:e383: time=39ms&lt;/p&gt;
&lt;p&gt;Reply from 2002:4136:e383::4136:e383: time=37ms&lt;/p&gt;
&lt;p&gt;Reply from 2002:4136:e383::4136:e383: time=38ms&lt;/p&gt;
&lt;p&gt;Ping statistics for 2002:4136:e383::4136:e383:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),&lt;/p&gt;
&lt;p&gt;Approximate round trip times in milli-seconds:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Minimum = 37ms, Maximum = 99ms, Average = 53ms&lt;/p&gt;
&lt;p&gt;C:\Windows\system32&amp;gt;netsh p2p pnrp cloud show list&lt;/p&gt;
&lt;p&gt;Scope &amp;nbsp;Id &amp;nbsp; &amp;nbsp; Addr &amp;nbsp; State &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Name&lt;/p&gt;
&lt;p&gt;----- &amp;nbsp;----- &amp;nbsp;----- &amp;nbsp;---------------- &amp;nbsp;-----&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;3 &amp;nbsp; &amp;nbsp; &amp;nbsp;7 &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp;Alone &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LinkLocal_ff00::%7/8&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp;1 &amp;nbsp;Active &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Global_&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;3 &amp;nbsp; &amp;nbsp; &amp;nbsp;8 &amp;nbsp; &amp;nbsp; &amp;nbsp;1 &amp;nbsp;Alone &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LinkLocal_ff00::%8/8&lt;/p&gt;
&lt;p&gt;C:\Windows\system32&amp;gt;netsh p2p pnrp diag ping seed Global_&lt;/p&gt;
&lt;p&gt;SOLICIT sent to address: [2002:4136:e383:0000:0000:0000:4136:e383]:3540.&lt;/p&gt;
&lt;p&gt;ADVERTISE returned 5 ID(s) in 31 milliseconds.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;43426ed07784caf6419afa2f3151070e.7700660055004400db83fb20d5b7f063&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ebe5fb41d500284b100b52cd9618b245.770066005500440084df496e190f8050&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;9e486c7978a1145b20a2ee92070be60c.27b05c1726601f9741ccc39c9040d919&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dd1f6e0abfc116e5bb0cf701af6d3211.77006600550044000a698795bd09b505&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1f183b562327e9b71f3a7a0d6b522417.4a082a03175c52061d8d901fee15d14a&lt;/p&gt;
&lt;p&gt;Machine 2 is the target. &amp;nbsp;It has a secure name.&lt;/p&gt;
&lt;p&gt;C:\Windows\system32&amp;gt;netsh p2p pnrp peer show machine&lt;/p&gt;
&lt;p&gt;Machine Name: 54ffc35aa154438b885004fb541e88f64576c8ef.&lt;/p&gt;
&lt;p&gt;Use this format DNS name in other applications to refer to this machine: p.p54ffc35aa154438b8850&lt;/p&gt;
&lt;p&gt;541e88f64576c8ef.pnrp.net&lt;/p&gt;
&lt;p&gt;The machine name is being published.&lt;/p&gt;
&lt;p&gt;The machine name is configured to be published automatically.&lt;/p&gt;
&lt;p&gt;It appears healthy, IPv6-wise and peer-to-peer-wise:&lt;/p&gt;
&lt;p&gt;C:\Windows\system32&amp;gt;ping -6 pnrpv2.ipv6.microsoft.com&lt;/p&gt;
&lt;p&gt;Pinging pnrpv2.ipv6.microsoft.com [2002:4136:e383::4136:e383] from 2002:ccf5:c614::ccf5:c614 with 32 bytes of data:&lt;/p&gt;
&lt;p&gt;Reply from 2002:4136:e383::4136:e383: time=24ms&lt;/p&gt;
&lt;p&gt;Reply from 2002:4136:e383::4136:e383: time=23ms&lt;/p&gt;
&lt;p&gt;Reply from 2002:4136:e383::4136:e383: time=23ms&lt;/p&gt;
&lt;p&gt;Reply from 2002:4136:e383::4136:e383: time=22ms&lt;/p&gt;
&lt;p&gt;Ping statistics for 2002:4136:e383::4136:e383:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),&lt;/p&gt;
&lt;p&gt;Approximate round trip times in milli-seconds:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Minimum = 22ms, Maximum = 24ms, Average = 23ms&lt;/p&gt;
&lt;p&gt;C:\Windows\system32&amp;gt;netsh p2p pnrp cloud show list&lt;/p&gt;
&lt;p&gt;Scope &amp;nbsp;Id &amp;nbsp; &amp;nbsp; Addr &amp;nbsp; State &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Name&lt;/p&gt;
&lt;p&gt;----- &amp;nbsp;----- &amp;nbsp;----- &amp;nbsp;---------------- &amp;nbsp;-----&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp;1 &amp;nbsp;Active &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Global_&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;3 &amp;nbsp; &amp;nbsp; &amp;nbsp;9 &amp;nbsp; &amp;nbsp; &amp;nbsp;1 &amp;nbsp;Alone &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LinkLocal_ff00::%9/8&lt;/p&gt;
&lt;p&gt;C:\Windows\system32&amp;gt;netsh p2p pnrp diag ping seed Global_&lt;/p&gt;
&lt;p&gt;SOLICIT sent to address: [2002:4136:e383:0000:0000:0000:4136:e383]:3540.&lt;/p&gt;
&lt;p&gt;ADVERTISE returned 5 ID(s) in 16 milliseconds.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;b6d0794c499046c5cadfc01536db002d.77006600550044005b393e190cfdde63&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;28ff4dad424be37881574c5b7cafed48.3868793538aeb1a0fb4e7965a50220ad&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;935ed522a39e19bc1b986791b3193827.7700660055004400d18a27218748a023&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;43b45bbf33a3556fa6a667d8d11fa220.ee05d8cf78b9301148377b37d87bd7b3&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;08cfe1ec25d6f7d9906fa11831c176ba.7700660055004400b13ac1b417ca9d59&lt;/p&gt;
&lt;p&gt;But, from Machine1, I cannot resolve the address from the name:&lt;/p&gt;
&lt;p&gt;C:\Windows\system32&amp;gt;ping p.p54ffc35aa154438b541e88f64576c8ef.pnrp.net&lt;/p&gt;
&lt;p&gt;Ping request could not find host p.p54ffc35aa154438b541e88f64576c8ef.pnrp.net. Please check the name and try again.&lt;/p&gt;
&lt;p&gt;C:\Windows\system32&amp;gt;ping -4 p.p54ffc35aa154438b541e88f64576c8ef.pnrp.net&lt;/p&gt;
&lt;p&gt;Ping request could not find host p.p54ffc35aa154438b541e88f64576c8ef.pnrp.net. Please check the name and try again.&lt;/p&gt;
&lt;p&gt;C:\Windows\system32&amp;gt;ping -6 p.p54ffc35aa154438b541e88f64576c8ef.pnrp.net&lt;/p&gt;
&lt;p&gt;Ping request could not find host p.p54ffc35aa154438b541e88f64576c8ef.pnrp.net. Please check the name and try again.&lt;/p&gt;
&lt;p&gt;And I may not know how to use the “diag ping host” command.&lt;/p&gt;
&lt;p&gt;C:\Windows\system32&amp;gt;Netsh p2p pnrp diag ping host p.p54ffc35aa154438b541e88f64576c8ef.pnrp.net Global_&lt;/p&gt;
&lt;p&gt;Error: Host name not found in cache.&lt;/p&gt;
&lt;p&gt;C:\Windows\system32&amp;gt;Netsh p2p pnrp diag ping host 204.245.198.20 Global_&lt;/p&gt;
&lt;p&gt;Error: Host name not found in cache.&lt;/p&gt;
&lt;p&gt;But I can use “diag ping host” and reach the IPv6 address, so that connectivity works.&lt;/p&gt;
&lt;p&gt;C:\Windows\system32&amp;gt;Netsh p2p pnrp diag ping host 2002:ccf5:c614::ccf5:c614 Global_&lt;/p&gt;
&lt;p&gt;SOLICIT sent to address: [2002:ccf5:c614:0000:0000:0000:ccf5:c614]:3540.&lt;/p&gt;
&lt;p&gt;ADVERTISE returned 5 ID(s) in 452 milliseconds.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2cceee486e2d1b846f7c3a6411f727dc.77006600550044008e2e4080b15f7392&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3605f2f5ec64b905f8fda7a03a8961f6.c3c62c0bce2f436480cd530348235ed2&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4234f486e9d838c110dcb9abb006c84c.34cc78e3b55c052a25f332c0bffebaf2&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;63735cc68b9b5164ee13d3a7535d600e.76b3007632cf3e8aad072a01a3d1c6a1&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;7ce78401dbf30c927a445fb59cd2d250.7700660055004400583e793cc1bcb258&lt;/p&gt;
&lt;p&gt;Why can I not ping the target by name and resolve the name using PNRP? &amp;nbsp;Thanks for any insight.&lt;/p&gt;
</description></item><item><title>re: PNRP Debugging Guide Part 1</title><link>http://blogs.msdn.com/p2p/archive/2007/07/24/pnrp-debugging-guide-part-1.aspx#8424259</link><pubDate>Fri, 25 Apr 2008 18:46:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8424259</guid><dc:creator>JohnSpence</dc:creator><description>&lt;p&gt;I'm back. &amp;nbsp;Another question - more of a confirmation this time.&lt;/p&gt;
&lt;p&gt;I have MachineC. &amp;nbsp;It is at a global IPv4 address, and has a 2002::/16 IPv6 address - 6to4.&lt;/p&gt;
&lt;p&gt;I have given it a WICN, secured.&lt;/p&gt;
&lt;p&gt;When I resolve the name on MachineD (RFC1918 address, and using Teredo), I believe the PNRP resolution is done over IPv6, because of the &amp;quot;traceroute&amp;quot; output. &amp;nbsp;Is this process only and always done over IPv6 - never IPv4?&lt;/p&gt;
&lt;p&gt;When the traceroute finishes, I see the resolution has been to the IPv4 address. &amp;nbsp;Then if I ping the node by WICN I do an IPv4 ping. &amp;nbsp;Is this just the stack being smart and saying &amp;quot;IPv4 to a global address is better than IPv6 via Teredo?&amp;quot;&lt;/p&gt;
&lt;p&gt;When I open a remote desktop connection from MachineC to MachineD using MachineD's WICN it also appears to run over IPv4. &amp;nbsp;Also correct?&lt;/p&gt;
&lt;p&gt;Next, immediately after getting the traceroute working and seeing the resolve, I run the command &amp;quot;netsh p2p pnrp diag host &amp;lt;MachineD-WICN&amp;gt; Global_&amp;quot; &amp;nbsp;and I get an error, specifically &amp;quot;Error: Host name not found in cache.&amp;quot;. &amp;nbsp;Why is the name not in my cache - I'm using it for ping and Remote Desktop.&lt;/p&gt;
&lt;p&gt;Thanks for any insight.&lt;/p&gt;
</description></item><item><title>re: PNRP Debugging Guide Part 1</title><link>http://blogs.msdn.com/p2p/archive/2007/07/24/pnrp-debugging-guide-part-1.aspx#8424272</link><pubDate>Fri, 25 Apr 2008 18:55:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8424272</guid><dc:creator>JohnSpence</dc:creator><description>&lt;p&gt;Sorry for the confusion. I see I transposed MachineC and MachineD in the last two paragraphs above. &amp;nbsp;In my question and example, the &amp;quot;client&amp;quot; machine is always MachineD (Teredo), and the target is always MachineC (routable IPv4). &amp;nbsp;Jeez.&lt;/p&gt;
</description></item><item><title>re: PNRP Debugging Guide Part 1</title><link>http://blogs.msdn.com/p2p/archive/2007/07/24/pnrp-debugging-guide-part-1.aspx#8447345</link><pubDate>Thu, 01 May 2008 20:53:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8447345</guid><dc:creator>JohnSpence</dc:creator><description>&lt;p&gt;Hello again. &amp;nbsp;I'm not sure how I fixed my problems, but I did, and so no need for anyone to reply to the posts above. &amp;nbsp;If the activity on this thread picks up I will post some debug information that helped me. &amp;nbsp;Thanks.&lt;/p&gt;
</description></item></channel></rss>