<?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>how to setup network enviornment  for IoT</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5279/how-to-setup-network-enviornment-for-iot</link><description>Hi all:
I refer the &amp;quot;IoT_SDK_step_by_step.pdf&amp;quot; to setup my raspberry_pi ,then I can successfully ping the DK_board from raspberry_pi. 
 my question is , I can&amp;#39;t ping the DK_board from my PC with following command. 
 &amp;quot;ping fe80::028F:31FF:FE65:78FB</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 15 May 2016 14:01:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5279/how-to-setup-network-enviornment-for-iot" /><item><title>RE: how to setup network enviornment  for IoT</title><link>https://devzone.nordicsemi.com/thread/18482?ContentTypeID=1</link><pubDate>Sun, 15 May 2016 14:01:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db5914b7-5524-4bf2-864c-7f7d6e44e9f2</guid><dc:creator>samchang</dc:creator><description>&lt;p&gt;hey ! I&amp;#39;m also meet this issue, is &lt;strong&gt;control device from outside world&lt;/strong&gt;  works for you now ?&lt;br /&gt;
There are refrences may help for you, &lt;a href="https://wiki.debian.org/BridgeNetworkConnections"&gt;wiki.debian.org/BridgeNetworkConnections&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to setup network enviornment  for IoT</title><link>https://devzone.nordicsemi.com/thread/18480?ContentTypeID=1</link><pubDate>Wed, 10 Jun 2015 07:11:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:250f31eb-36b6-4f8b-84c3-ba5480063058</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;@Arnaud Nelissen. Please add a new question and link to this one if it is relevant.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to setup network enviornment  for IoT</title><link>https://devzone.nordicsemi.com/thread/18479?ContentTypeID=1</link><pubDate>Thu, 04 Jun 2015 12:47:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53540695-6026-446e-ad20-fce906710928</guid><dc:creator>Arnaud Nelissen</dc:creator><description>&lt;p&gt;I have a problem using this technique...
From another computers in the network, I can successfully ping BLE devices that I am connected to (I had to add the prefixes as stated).&lt;/p&gt;
&lt;p&gt;But when I try connecting another BLE device, all connected devices get disconnected. If I reconnect them, a new bluetooth interface is created (bt1), and it seems that the devices are then connected to this interface...&lt;/p&gt;
&lt;p&gt;What do you think I am doing wrong ?&lt;/p&gt;
&lt;p&gt;Thanks in advance...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to setup network enviornment  for IoT</title><link>https://devzone.nordicsemi.com/thread/18478?ContentTypeID=1</link><pubDate>Mon, 25 May 2015 12:58:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:414f95e3-a16d-428f-a845-09b038703f53</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;@Rick Chung. Please add a new question and link to this one if it is relevant.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to setup network enviornment  for IoT</title><link>https://devzone.nordicsemi.com/thread/18477?ContentTypeID=1</link><pubDate>Mon, 25 May 2015 07:18:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fce665c-6c0d-48c7-a42b-db117a648941</guid><dc:creator>Rick Zhong</dc:creator><description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;Because I am doing the same experiment, so I followed this thread.&lt;/p&gt;
&lt;p&gt;I am using the nrf_udp_client project in IoT SDK as the code base for testing the udp communication.&lt;/p&gt;
&lt;p&gt;The network topology is the same as the first user.&lt;/p&gt;
&lt;p&gt;I followed all the upon steps to configure the radvd.conf and ipv6 prefix.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s work, now I can ping the nrf51-DK both from PC and raspberry Pi by using the global address.&lt;/p&gt;
&lt;p&gt;But the PC can not receive any packet from nrf51, there&amp;#39;s no respond when I executed the &amp;quot;Python Server Example&amp;quot;&lt;/p&gt;
&lt;p&gt;(I have update the SERVER_IPV6_ADDRESS to the global ipv6 address of the PC)&lt;/p&gt;
&lt;p&gt;Is there any possible way to narrow down the issue : )&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to setup network enviornment  for IoT</title><link>https://devzone.nordicsemi.com/thread/18476?ContentTypeID=1</link><pubDate>Tue, 19 May 2015 11:07:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:419f765f-daad-4ca0-abef-80c832740ee4</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to setup network enviornment  for IoT</title><link>https://devzone.nordicsemi.com/thread/18475?ContentTypeID=1</link><pubDate>Tue, 19 May 2015 11:06:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e2259cc-6012-437f-80be-446f7aa23354</guid><dc:creator>Fab1223</dc:creator><description>&lt;p&gt;Ok i will go with my thread itself.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to setup network enviornment  for IoT</title><link>https://devzone.nordicsemi.com/thread/18474?ContentTypeID=1</link><pubDate>Tue, 19 May 2015 11:00:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14814c63-847e-4660-b8f6-7ce848a5cbee</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;@Punith. This is not okey. This question is about simulating a global network, do not hijack it with your questions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to setup network enviornment  for IoT</title><link>https://devzone.nordicsemi.com/thread/18473?ContentTypeID=1</link><pubDate>Tue, 19 May 2015 10:55:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7cfcfad-4422-4773-87fd-2f7dce1bf866</guid><dc:creator>Fab1223</dc:creator><description>&lt;p&gt;This we can do from tunnelling but after did 6to4 tunnelling in router my router config is as fallows.&lt;br /&gt;
tun6to4   Link encap:IPv6-in-IPv4&lt;br /&gt;
inet addr:117.218.56.124  Mask:255.255.255.255&lt;br /&gt;
inet6 addr: ::192.168.1.102/96 Scope:Compat&lt;br /&gt;
inet6 addr: 2002:75da:387c::1/48 Scope:Global&lt;br /&gt;
UP RUNNING NOARP  MTU:1480  Metric:1&lt;br /&gt;
RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
TX packets:904 errors:3 dropped:0 overruns:0 carrier:3&lt;br /&gt;
collisions:0 txqueuelen:0&lt;br /&gt;
RX bytes:0 (0.0 B)  TX bytes:83519 (83.5 KB)&lt;/p&gt;
&lt;p&gt;But my router is not pinging ipv6.google.com.
Kindly tell me what is an issue?.&lt;/p&gt;
&lt;p&gt;Regards
Punith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to setup network enviornment  for IoT</title><link>https://devzone.nordicsemi.com/thread/18472?ContentTypeID=1</link><pubDate>Tue, 19 May 2015 07:28:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81ef10fd-2401-46ca-9033-b016974f6481</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;What you first can try is to make sure that you can have bi-directional communication, meaning that you can ping the router/PC/DK from some IPv6 test site.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to setup network enviornment  for IoT</title><link>https://devzone.nordicsemi.com/thread/18481?ContentTypeID=1</link><pubDate>Tue, 19 May 2015 07:13:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:220017ff-6fc2-4f75-a769-426cab9f1210</guid><dc:creator>Fab1223</dc:creator><description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;I able to control device (DK) from my router and my PC (both are connected to LAN). Now i want to control device from outside world ?. How to do it?.&lt;/p&gt;
&lt;p&gt;My router is pinging both google.com and ipv6.google.com. And also both device and router has global ipv6 address.&lt;/p&gt;
&lt;p&gt;Kindly suggest me.&lt;/p&gt;
&lt;p&gt;Regards Punith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to setup network enviornment  for IoT</title><link>https://devzone.nordicsemi.com/thread/18471?ContentTypeID=1</link><pubDate>Wed, 28 Jan 2015 01:34:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f836e00e-7604-4109-af17-108f38f729c2</guid><dc:creator>chao</dc:creator><description>&lt;p&gt;thanks. I can pin the DK_board ,when I add the prefixes to eth0 and bt0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to setup network enviornment  for IoT</title><link>https://devzone.nordicsemi.com/thread/18470?ContentTypeID=1</link><pubDate>Mon, 26 Jan 2015 10:36:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2dd3ff0-24b4-4dd9-b45b-2719f6d14b33</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;The reason for this is that fe80 is the prefix for the local IPv6 address in the network nRF51 DK &amp;lt;-&amp;gt; Raspberry Pi. If you want to ping the nRF51 DK from your PC, you have to use a global IPv6 address. The only difference between a local and a global IPv6 address, is the prefix.&lt;/p&gt;
&lt;p&gt;There are two steps for adding the prefix ( &amp;quot;2005&amp;quot; is used as example prefix):&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Add bt0 and eth0 interface into the file /etc/radvd.conf:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;    interface eth0

    {

        AdvSendAdvert on;
        prefix 2004:abc::/64
        { 
            AdvOnLink on;
            AdvAutonomous on;
            AdvRouterAddr on;
        };
        route ::/0
        {
        };

    };

    interface bt0
    {
        AdvSendAdvert on;
        prefix 2005::2/64
        {
            AdvOnLink off;
            AdvAutonomous on;
           AdvRouterAddr on; 
        };
    };
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If you you are testing the MQTT example, the eth0 interface and with a prefix &amp;quot;2004:abc&amp;quot; is the address of the eth0 interface used by the broker. This prefix has to match the broker &amp;quot;address&amp;quot; set in the publisher/subscriber code:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;static const ip6_addr_t                     m_broker_addr =
{
    .addr =
    {HTONL(0x20040abc),
    0x00000000,
    0x00000000,
    HTONL(0x00000003)} 
};
&lt;/code&gt;&lt;/pre&gt;
&lt;ol start="2"&gt;
&lt;li&gt;Add the prefixes to eth0 and bt0 in the terminal:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code&gt;ifconfig bt0 add 2005::1/128
ifconfig bt0 add 2005::/64
ifconfig eth0 add 2004:abc::1/128
ifconfig eth0 add 2004:abc::/64
(service radvd restart)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;When running the CoAP example, it&amp;#39;s possible that the command &amp;quot;service radvd restart&amp;quot; not should be run.&lt;/p&gt;
&lt;p&gt;After &amp;quot;2.&amp;quot; you should be able to ping your BLE device with its global address (prefix 2005) both from the Raspberry Pi and from the PC:
(Windows) ping 2005::028F:31FF:FE65:78FB&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>