<?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>About forwarding information through the router</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96646/about-forwarding-information-through-the-router</link><description>Hello, experts. 
 
 Now I have four nrf52833dk_nrf52833 development boards, among which Nos. 1, 2 and 3 burn openthread client program, and the fourth one burns openthread server program. Through serial port, Nos. 1, 2 and 3 are obtained as routers. The</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Feb 2023 10:35:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96646/about-forwarding-information-through-the-router" /><item><title>RE: About forwarding information through the router</title><link>https://devzone.nordicsemi.com/thread/410299?ContentTypeID=1</link><pubDate>Thu, 16 Feb 2023 10:35:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d6ae315-c5e1-4cd4-8830-a630492f8242</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I need to clear up some things about Thread. Thread in itself is a transport layer that implements IPv6. Technically, you do not send messages directly over Thread; you need to use an application to communicate. The most basic applications are Ping, UDP, and TCP. The picture shows the OpenThread architecture:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:350px;max-width:400px;" alt=" " src="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/_images/ot-arch_2x.png" /&gt;&lt;/p&gt;
&lt;p&gt;This runs on top of the IEEE 802.15.4 physical layer (PHY). A border router provides connectivity from IEEE 802.15.4 networks to networks on other physical layers (for example, Wi-Fi).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;CoAP, which is used in these samples, is a web transfer protocol that runs over UDP.&lt;br /&gt;What you need to do to send messages to other devices that are not on the Thread network is to send messages over, for example, UDP. For example, you can look at&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/zephyr/samples/net/sockets/echo_client/README.html"&gt;Socket Echo Client&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/zephyr/samples/net/sockets/echo_server/README.html"&gt;Socket Echo Server&lt;/a&gt;. These can be built with Thread support by setting&amp;nbsp;overlay-ot.conf as overlay configuration.&lt;/p&gt;
&lt;p&gt;We have two webinars about Thread that I strongly recommend watching:&lt;br /&gt;&lt;a href="https://webinars.nordicsemi.com/introduction-to-thread-networking-4"&gt;https://webinars.nordicsemi.com/introduction-to-thread-networking-4&lt;br /&gt;https://webinars.nordicsemi.com/developing-thread-products-with-nrf-1&lt;/a&gt;&lt;/p&gt;
[quote user="caidehen"]1. If I want to generate a message in the router and forward it to the non-thread network through the intermediate router, how should I generate this message? It doesn&amp;#39;t seem to be generated by pressing keys[/quote]
&lt;p&gt;This needs to be implemented in the application. Look at the Socket Echo samples I link to above.&amp;nbsp;&lt;/p&gt;
[quote user="caidehen"]2、You mean that the message generated by pressing the key seems to be uploaded to the non-thread network through the server only after it is received by the server. What should I do on the server? Or don&amp;#39;t do any operation. If necessary, which api should I add to upload the received key data to the non-thread network？[/quote]
&lt;p&gt;No. The server&amp;nbsp;will not forward the command to a non-Thread network since the command is not meant to be sent to another device that is not on the Thread network. The server is the&amp;nbsp;destination of the command.&amp;nbsp;&lt;/p&gt;
[quote user="caidehen"]3. Is it possible for me to upload data to non-thread network data monitoring through raspberry pie as long as I establish a border route?[/quote]
&lt;p&gt;You can send messages to Raspberry Pi if you run a server on the Pi that can receive the messages.&lt;/p&gt;
[quote user="caidehen"]This means that key information can be forwarded by the intermediate router.&amp;nbsp; Isn&amp;#39;t the process of forwarding keystroke information just the process of receiving and sending?&amp;nbsp; &amp;nbsp;[/quote]
&lt;p&gt;Yes. The router receives the message. If the message&amp;#39;s destination is this router, then it will handle the message. If it is not the destination, then it will forward the message.&lt;/p&gt;
[quote user="caidehen"]&lt;span&gt;I&amp;#39;m a little confused about this point. Why does the router in the middle not forward&amp;nbsp; when there is no server?&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;Why can the router in the middle forward when there has a server&amp;nbsp; ？[/quote]
&lt;p&gt;My answer was in response to this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;If I burn all the above four devices as clients, they will still decide the leader and their respective router. Then when I press the button 2 of any development board, will all the information sent out at this time be summarized to the leader?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This has nothing to do with whether the middle router will forward. All the clients will receive the message, see that they are not the message&amp;#39;s destination, then forward the message and not handle it further. This is true for both the routers and the leader. The leader will not handle this message any differently than the routers, as it is not the message&amp;#39;s destination.&lt;/p&gt;
[quote user="caidehen"]My understanding is that whether there is no server, the router（client） will receive and forward the keystroke information, but the router（client） has no corresponding action to execute ， right？[/quote]
&lt;p&gt;Correct.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About forwarding information through the router</title><link>https://devzone.nordicsemi.com/thread/410203?ContentTypeID=1</link><pubDate>Thu, 16 Feb 2023 00:44:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13879d70-3e26-449c-bf58-0d094cdcdf37</guid><dc:creator>caidehen</dc:creator><description>&lt;p&gt;&lt;span&gt;Dear experts&amp;nbsp;&amp;nbsp;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/marte.m"&gt;Marte Myrvold&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;you&amp;nbsp; said &amp;quot;Yes, as long as the devices are router devices and the distances between the devices are large enough.&amp;quot; &lt;/span&gt;This means that key information can be forwarded by the intermediate router.&amp;nbsp; Isn&amp;#39;t the process of forwarding keystroke information just the process of receiving and sending?&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;you also&amp;nbsp; said&amp;quot;&amp;nbsp;&amp;nbsp;&lt;span&gt;If there are no server devices, then there are no devices to receive the command.&amp;nbsp;&lt;/span&gt;&amp;quot;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;m a little confused about this point. Why does the router in the middle not forward&amp;nbsp; when there is no server?&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;Why can the router in the middle forward when there has a server&amp;nbsp; ？&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;My understanding is that whether there is no server, the router（client） will receive and forward the keystroke information, but the router（client） has no corresponding action to execute ， right？&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About forwarding information through the router</title><link>https://devzone.nordicsemi.com/thread/410152?ContentTypeID=1</link><pubDate>Wed, 15 Feb 2023 16:17:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f79f80d5-5ef3-4c4d-909d-95d151bbf292</guid><dc:creator>caidehen</dc:creator><description>&lt;p&gt;Dear experts&lt;/p&gt;
&lt;p&gt;It&amp;#39;s a great honor to receive your patient answer. Thank you very much&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please allow me to ask another question. I&amp;#39;m going to have a rest&lt;/p&gt;
&lt;p&gt;1. If I want to generate a message in the router and forward it to the non-thread network through the intermediate router, how should I generate this message? It doesn&amp;#39;t seem to be generated by pressing keys&lt;/p&gt;
&lt;p&gt;2、You mean that the message generated by pressing the key seems to be uploaded to the non-thread network through the server only after it is received by the server. What should I do on the server? Or don&amp;#39;t do any operation. If necessary, which api should I add to upload the received key data to the non-thread network？&lt;/p&gt;
&lt;p&gt;3. Is it possible for me to upload data to non-thread network data monitoring through raspberry pie as long as I establish a border route?&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Thank you again and wish you a pleasant work&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About forwarding information through the router</title><link>https://devzone.nordicsemi.com/thread/410134?ContentTypeID=1</link><pubDate>Wed, 15 Feb 2023 14:56:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5017640e-3790-491c-b380-c76c2b54299e</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="caidehen"]1、&lt;a href="https://infocenter.nordicsemi.com/topic/ug_sniffer_802154/UG/sniffer_802154/intro_802154.html" rel="noopener noreferrer" target="_blank"&gt;nRF Sniffer for 802.15.4&lt;/a&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;It seems that this sniffer can only be applied to nrf52840dk. I only have nrf52833dk, so it seems impossible to achieve. i&lt;/span&gt;&amp;#39;ve followed this procedure before and it hasn&amp;#39;t worked ，&lt;span style="font-family:inherit;"&gt;&amp;nbsp;is there any other sniffing method?&lt;/span&gt;[/quote]
&lt;p&gt;Not using our sniffer, it only supports nRF52840 DK and dongle.&lt;/p&gt;
[quote user="caidehen"]2、If I burn all the above four devices as clients, they will still decide the leader and their respective router. Then when I press the button 2 of any development board, will all the information sent out at this time be summarized to the leader?[/quote]
&lt;p&gt;No. Pressing button 2 on the client will send a light on/off command to server devices. If there are no server devices, then there are no devices to receive the command. The leader role does not have anything to do with this. A Thread leader is simply the router in the network responsible for managing the other routers (such as assigning router IDs).&lt;/p&gt;
[quote user="caidehen"]&lt;span&gt;3、&lt;/span&gt;If you add a boundary route to the network at this time （router1&amp;#39;s key 2 is pressed to send the message）&lt;span&gt;then the leader is going to send this key information to the network is that right?&lt;/span&gt;[/quote]
&lt;p&gt;The other routers can communicate with the border router, not just the leader. There is a picture showing an example of what a Thread network with a border router might look like in &lt;a href="https://openthread.io/guides/thread-primer/node-roles-and-types"&gt;Node Roles and Types&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:400px;max-width:450px;" alt=" " src="https://openthread.io/guides/images/ot-primer-leader_2x.png" /&gt;&lt;/p&gt;
&lt;p&gt;The messages will be sent through the border router if you send information to a non-Thread network (such as Wi-Fi). However, that is not the case here. The client sends the light on/off command to Thread CoAP servers. As before, if there are no servers on the network, there are no devices to receive the command. The client will not suddenly send the light on/off command to a non-Thread network when no servers receive the command.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About forwarding information through the router</title><link>https://devzone.nordicsemi.com/thread/410063?ContentTypeID=1</link><pubDate>Wed, 15 Feb 2023 12:20:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:852334ba-97c0-45aa-876e-24811934b59b</guid><dc:creator>caidehen</dc:creator><description>&lt;p&gt;&lt;span&gt;Dear Professor Marte Myrvold&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p class="src grammarSection" data-group="1-1"&gt;Thank you very much for your patient reply，but&amp;nbsp;But there are still some problems&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;1、&lt;a href="https://infocenter.nordicsemi.com/topic/ug_sniffer_802154/UG/sniffer_802154/intro_802154.html" rel="noopener noreferrer" target="_blank"&gt;nRF Sniffer for 802.15.4&lt;/a&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;It seems that this sniffer can only be applied to nrf52840dk. I only have nrf52833dk, so it seems impossible to achieve. i&lt;/span&gt;&amp;#39;ve followed this procedure before and it hasn&amp;#39;t worked ，&lt;span style="font-family:inherit;"&gt;&amp;nbsp;is there any other sniffing method?&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;2、If I burn all the above four devices as clients, they will still decide the leader and their respective router. Then when I press the button 2 of any development board, will all the information sent out at this time be summarized to the leader?&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;3、&lt;/span&gt;If you add a boundary route to the network at this time （router1&amp;#39;s key 2 is pressed to send the message）&lt;span&gt;then the leader is going to send this key information to the network is that right?&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1676463489300v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About forwarding information through the router</title><link>https://devzone.nordicsemi.com/thread/410014?ContentTypeID=1</link><pubDate>Wed, 15 Feb 2023 09:33:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8790cc79-e7b6-40a2-9ff4-f18c51303f5a</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="caidehen"]can I understand that as long as I burn nrf52833dk into the client or server program, I don&amp;#39;t need to consider the whole networking process and the role change will be automatically completed?[/quote]
&lt;p&gt;That is correct. Router selection happens automatically. If there is a need for more routers, one of the router-eligible end devices (REEDs) will automatically be promoted from child to router.&lt;/p&gt;
[quote user="caidehen"]As you said, if the four devices are far enough apart and placed in a straight line, then the router1 presses the button 2 to send data, which will be forwarded by router2 and then router3 and finally to the leader (server), right?[/quote]
&lt;p&gt;Yes, as long as the devices are router devices and the distances between the devices are large enough.&lt;/p&gt;
[quote user="caidehen"]&lt;span&gt;&lt;span&gt;I wonder why I pressed the key on router1 at this point. 2 still broadcasts the message to the rightmost burning server development board (led4 lights on or off) but why not to the leader?&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt; &lt;/span&gt;&lt;/span&gt;[/quote]
&lt;p&gt;Are you asking why it did not route the message through the leader or why the final destination was the server? If router 2 sent the message directly to the server without routing it through the leader, it was because that was the optimal path. Regarding the latter, the server is the destination because of how the example works. The clients will send the message to a server. The leader role is irrelevant here.&lt;/p&gt;
[quote user="caidehen"] how should I monitor the data transfer in between ？[/quote]
&lt;p&gt;&lt;span style="margin:0;padding:0;text-align:left;"&gt;You can look at the network traffic in a sniffer log. See &lt;a href="https://infocenter.nordicsemi.com/topic/ug_sniffer_802154/UG/sniffer_802154/intro_802154.html" rel="noopener noreferrer" target="_blank"&gt;nRF Sniffer for 802.15.4&lt;/a&gt; for how to set up and use our 802.15.4 sniffer.&lt;/span&gt;&lt;/p&gt;
[quote user="caidehen"]who is the data ultimately going to?[/quote]
&lt;p&gt;It is going to the server.&lt;/p&gt;
&lt;p&gt;&lt;span style="margin:0;padding:0;text-align:left;"&gt;Best regards,&lt;br /&gt;Marte&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About forwarding information through the router</title><link>https://devzone.nordicsemi.com/thread/409918?ContentTypeID=1</link><pubDate>Tue, 14 Feb 2023 15:38:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b9cdb1c-2a08-4464-aa1c-eae53724893e</guid><dc:creator>caidehen</dc:creator><description>&lt;p&gt;1、&lt;span&gt;Dear Professor Marte Myrvold, can I understand that as long as I burn nrf52833dk into the client or server program, I don&amp;#39;t need to consider the whole networking process and the role change will be automatically completed?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;2、&lt;span&gt;As you said, if the four devices are far enough apart and placed in a straight line, then the router1 presses the button 2 to send data, which will be forwarded by router2 and then router3 and finally to the leader (server), right?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3、&lt;span class="transSent" data-group="0-0"&gt;In the process of retesting, I found that when I powered off the leader (be burned into the server program), the remaining three (burned into the client program) automatically decided to create a new leader ，he original router3 is elected leader&amp;nbsp; (I understood this principle after reading information). When I powered on the development board of the burned server program again,&lt;/span&gt;&lt;span class="transSent highlight" data-group="0-1"&gt;&amp;nbsp;which changed the itself to a router.&amp;nbsp;as shown in the following figure&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="transSent highlight" data-group="0-1"&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1676388748087v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="transSent" data-group="0-0"&gt;&lt;span&gt;I wonder why I pressed the key on router1 at this point. 2 still broadcasts the message to the rightmost burning server development board (led4 lights on or off) but why not to the leader?&lt;/span&gt;&lt;/span&gt;&lt;span class="transSent" data-group="0-1"&gt;&lt;span&gt; Or am I not monitoring the data？ how should I monitor the data transfer in between ？&amp;nbsp; who is the data ultimately going to?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About forwarding information through the router</title><link>https://devzone.nordicsemi.com/thread/409895?ContentTypeID=1</link><pubDate>Tue, 14 Feb 2023 14:35:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc3a569a-ee28-4d9e-9a5f-cdc869635804</guid><dc:creator>caidehen</dc:creator><description>&lt;p&gt;&lt;span&gt;Just like the yellow link in the picture below, how does the router transmit?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p class="src grammarSection" data-group="1-1"&gt;How can I measure the router forwarding process?&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1676385268285v2.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About forwarding information through the router</title><link>https://devzone.nordicsemi.com/thread/409894?ContentTypeID=1</link><pubDate>Tue, 14 Feb 2023 14:33:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d87c887-099c-4696-a90c-e51006d11f50</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]Doesn&amp;#39;t my router have the function of data forwarding?[/quote]
&lt;p&gt;The routers have routing and message-forwarding capabilities. &lt;br /&gt;In Thread, the routers will determine the best next hop for a message based on neighbor link quality and path cost. Based on this, they will choose the cheapest and most optimal path to the destination. In your case, this means that router 1 found that the cheapest path to the leader is to send the message directly through the leader. This will often be the case if the devices are close by and without disturbances between them, as it is cheaper to send the message directly than through additional devices.&lt;/p&gt;
&lt;p&gt;Since you want to force the devices to route the message from 1 -&amp;gt; 2 -&amp;gt; 3 -&amp;gt; leader, you need to ensure that the devices are far apart. You must make it cheaper to route the message through the closest neighbor than directly to the destination, possibly putting the devices that should not communicate directly out of range of each other.&lt;/p&gt;
[quote user="caidehen"]And what does the yellow print failure mean?[/quote]
&lt;p&gt;&lt;code&gt;Failed to process Link Request: InvalidState&lt;/code&gt;&lt;br /&gt;As you see on the line above in the log, the device is currently a child.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1676383591053v1.png" alt=" " /&gt;&lt;br /&gt;Link requests are sent to routers. Since the device is a child and not a router when it receives the link request, it is in an invalid state to process the link request.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;Failed to process UDP: Duplicated&lt;/code&gt;&lt;br /&gt;The device received a duplicate UDP message, so the duplicate will not be processed.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I recommend reading up on device roles, see &lt;a href="https://openthread.io/guides/thread-primer/node-roles-and-types"&gt;Node Roles and Types&lt;/a&gt;, and &lt;a href="https://openthread.io/guides/thread-primer/router-selection"&gt;Router Selection&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About forwarding information through the router</title><link>https://devzone.nordicsemi.com/thread/409767?ContentTypeID=1</link><pubDate>Tue, 14 Feb 2023 08:55:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89d99b59-530e-446d-910a-356ce351ed86</guid><dc:creator>caidehen</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1676364809827v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I opened four PuttYs for listening and status query, and found that the router did not forward messages&amp;nbsp;And what does the yellow print failure mean?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>