<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/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/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ping nrf52 IOT SDK from PC</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42462/ping-nrf52-iot-sdk-from-pc</link><description>Hi, 
 I have an issue with pinging the nrf52 (PCA10040)(with mqtt_pub loaded), from the PC on the LAN to which the Raspberry Pi is connected to. 
 I can ping the nrf52 from the PI using the 2001:db8::&amp;lt;nrf MAC based address&amp;gt;. But can not do the same from</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Jan 2019 14:29:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42462/ping-nrf52-iot-sdk-from-pc" /><item><title>RE: Ping nrf52 IOT SDK from PC</title><link>https://devzone.nordicsemi.com/thread/166881?ContentTypeID=1</link><pubDate>Mon, 21 Jan 2019 14:29:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:817a3493-1bb2-4c5a-aeec-eaf9114f8f03</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You have previously mentioned:&amp;nbsp;&lt;/p&gt;
[quote user="jale"]To note: I use HE 6in 4 tunell as my ISP doe snot support IPv6. I have it setup on my ASUS router and my network prefix is&amp;nbsp;2001:470:71:2f6:[/quote]
&lt;p&gt;The IPs you&amp;#39;re assigning and routing internally in your LAN does not match your allocated prefix. I would recommend asking for help on a network related forum (stack overflow or similar) on how to solve your issue, as I do not have the experience or know-how to NAT ipv6 into dedicated /64 prefixes, which would be required for the bt0 interface to be accessible&amp;nbsp;outside your own LAN.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ping nrf52 IOT SDK from PC</title><link>https://devzone.nordicsemi.com/thread/166810?ContentTypeID=1</link><pubDate>Mon, 21 Jan 2019 11:42:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c5dfc3f-d17a-4663-a8b0-06e5d4057057</guid><dc:creator>jale</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I did finally figured it out how to be able to ping (through raspi router) the nrf sensor from the PC on my LAN. I had to add the route to the /etc/radvd.conf as follows for the PC to be able to find the route to my subnetwork.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;interface bt0&lt;br /&gt;{&lt;br /&gt; AdvSendAdvert on;&lt;br /&gt; prefix 2001:aaaa:bbbb:1::/64&lt;br /&gt; {&lt;br /&gt; AdvOnLink off;&lt;br /&gt; AdvAutonomous on;&lt;br /&gt; AdvRouterAddr on;&lt;br /&gt; };&lt;br /&gt;};&lt;/p&gt;
&lt;p&gt;interface wlan0 {&lt;br /&gt; AdvSendAdvert on;&lt;br /&gt; prefix 2001:aaaa:bbbb::/48&lt;br /&gt; {&lt;br /&gt; AdvOnLink on;&lt;br /&gt; AdvAutonomous on;&lt;br /&gt; AdvRouterAddr on;&lt;br /&gt; };&lt;br /&gt; route 2001:aaaa:bbbb:1::/64&lt;br /&gt; {&lt;br /&gt; };&lt;br /&gt;};&lt;/p&gt;
&lt;p&gt;HOWEVER, when I tried to ping the same nrf ipv6&amp;nbsp;adress from internet e.g using&amp;nbsp;&lt;a href="http://www.ipv6now.com.au/pingme.php"&gt;http://www.ipv6now.com.au/pingme.php&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It says host unreachable.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But when I ping the ipv6 adress of the raspberry pi it WORKS!? So it is not the firewall or etc....&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What could be the issue? Does my ASUS router which is the gateway to the internet for my local network and Raspi subnetwork need some static route configuration or so?? Why my PC can discover the route once it was added to radvd.conf but when the ping comes from&amp;nbsp;internet and&amp;nbsp;goes through the router then it cannot find the nrf host?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for help in advance,&lt;/p&gt;
&lt;p&gt;Best,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Jacek&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ping nrf52 IOT SDK from PC</title><link>https://devzone.nordicsemi.com/thread/165596?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 20:05:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a316e20b-c6ed-4294-a478-6ee7eac2da5f</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;[quote user="jale"]&lt;br /&gt;&lt;br /&gt;C:\WINDOWS\system32&amp;gt;tracert 2002::AC:CCFF:FE13:7BD6[/quote]&lt;/p&gt;
&lt;p&gt;Tracing route to 2002::ac:ccff:fe13:7bd6 over a maximum of 30 hops&lt;/p&gt;
&lt;p&gt;1 Transmit error: code 1231.&lt;/p&gt;
&lt;p&gt;Trace complete.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;[quote][/quote]&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I can ping the nrf52 from the PI using the 2001:db8::&amp;lt;nrf MAC based address&amp;gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Have you routed the&amp;nbsp;correct prefix?&amp;nbsp;Your initial post and the latest one has a different ipv6 prefix.&lt;/p&gt;
&lt;p&gt;please post the output of &amp;quot;ifconfig bt0&amp;quot; and &amp;quot;route -6 -n&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;A side note:&lt;/p&gt;
&lt;p&gt;It looks like your HE tunnel gives you a /64 network. Due to the format of bluetooth_6lowpan, it will also require a /64 prefix dedicated to the bt0 interface.&amp;nbsp;ideally, you&amp;#39;d want a /62 prefixed network, so that you can divide it down to a dedicated /64 prefixed network to the bt0 interface. If you want each device to go online (not just available in your local network), it looks like you have to run NAT (masquerade)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ping nrf52 IOT SDK from PC</title><link>https://devzone.nordicsemi.com/thread/165589?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 18:31:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65a02fd3-0957-46b1-9fed-20afe7d77339</guid><dc:creator>jale</dc:creator><description>&lt;p&gt;Hi I did follow Marcel&amp;#39;s solution precisely but no luck. I did even use the same prefixes to make sur eit works.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When I ping from my Windows PC I get this&lt;/p&gt;
&lt;p&gt;C:\WINDOWS\system32&amp;gt;ping 2002::AC:CCFF:FE13:7BD6&lt;/p&gt;
&lt;p&gt;Pinging 2002::ac:ccff:fe13:7bd6 with 32 bytes of data:&lt;br /&gt;PING: transmit failed. General failure.&lt;br /&gt;PING: transmit failed. General failure.&lt;br /&gt;PING: transmit failed. General failure.&lt;/p&gt;
&lt;p&gt;Ping statistics for 2002::ac:ccff:fe13:7bd6:&lt;br /&gt; Packets: Sent = 3, Received = 0, Lost = 3 (100% loss),&lt;br /&gt;&lt;br /&gt;C:\WINDOWS\system32&amp;gt;tracert 2002::AC:CCFF:FE13:7BD6&lt;/p&gt;
&lt;p&gt;Tracing route to 2002::ac:ccff:fe13:7bd6 over a maximum of 30 hops&lt;/p&gt;
&lt;p&gt;1 Transmit error: code 1231.&lt;/p&gt;
&lt;p&gt;Trace complete.&lt;/p&gt;
&lt;p&gt;To note: I use HE 6in 4 tunell as my ISP doe snot support IPv6. I have it setup on my ASUS router and my network prefix is&amp;nbsp;2001:470:71:2f6:&lt;/p&gt;
&lt;p&gt;Both Raspi and PC are connected to it wirelessly and router allocates them the IPv6 adresses using that prefix.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ping nrf52 IOT SDK from PC</title><link>https://devzone.nordicsemi.com/thread/165588?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 18:14:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e2c1ab9-6fe8-4908-8651-0ce5e11743c9</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Marcel&amp;#39;s answer will add the route between interfaces. Note: you have to alter the prefix to match the one you have set in bt0.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ping nrf52 IOT SDK from PC</title><link>https://devzone.nordicsemi.com/thread/165578?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 16:55:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b40c906-9d29-4fca-b8b3-bdf98d32c080</guid><dc:creator>jale</dc:creator><description>&lt;p&gt;Dear Hakon,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for your reply.&lt;/p&gt;
&lt;p&gt;Which solution - Marcel&amp;#39;s or mueller&amp;#39;s -&amp;nbsp; from the attached link you are refering to as the valid one?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Jacek&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ping nrf52 IOT SDK from PC</title><link>https://devzone.nordicsemi.com/thread/165515?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 14:33:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a2ed098-9986-4e63-9b49-0987db4b779a</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In order to route the interface, you need to explicitly set this, similar to what is done in this thread (needs to match your settings):&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/5481/making-ipv6-device-available-on-the-internet/19138#19138"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/5481/making-ipv6-device-available-on-the-internet/19138#19138&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you try this and see it if works?&lt;/p&gt;
&lt;p&gt;Note that if you have a newer kernel (kernel v4.12 or newer), you&amp;#39;ll need to set&amp;nbsp;&lt;span&gt;BLE_6LOWPAN_LEGACY_MODE&amp;nbsp;to &amp;#39;0&amp;#39; in the sdk_config.h.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Håkon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>