Replies: 15 comments
-
If you'd like to make your device a Thread Border Router, you should use
I think it depends on what features you need for your device. |
Beta Was this translation helpful? Give feedback.
-
@superwhd Thanks! Yet, could you please consider this question: Both programs create the interface wpanX, which Linux can internally route. What sets them apart? |
Beta Was this translation helpful? Give feedback.
-
I would say the concept of 'border router' is very broad. If we only talk about 'border routing' (IPv6 bidirectional connectivity, a device on the infrastructure network can communicate with a device in the thread network, via the border router), yes, But a 'border router' contains much more things than 'border routing':
'otbr-agent' also have a few functions that are not directly related with Thread protocol (ot-daemon doesn't have them):
|
Beta Was this translation helpful? Give feedback.
-
Thanks a lot! I am grateful for every piece of information I can get on this, since I am still learning a lot. Could you please help me on these questions?
Thanks in advance and posterior for your time! |
Beta Was this translation helpful? Give feedback.
-
For 3&4, I'm not sure if I understand it correctly. Domain is a concept in Backbone Router. I think this [whitepaper] (https://www.threadgroup.org/Portals/0/documents/support/Thread%201.2%20Base%20Features.pdf) (Check 'BackBone Routers') may help. |
Beta Was this translation helpful? Give feedback.
-
Thanks! Regarding 3,4: AFAIK a Thread domain consts of multiple thread partitions, each with one PBBR. For this, if I understand correctly, my backbone border routers somehow need to know of each other.
|
Beta Was this translation helpful? Give feedback.
-
For completeness I want to mention that the active dataset can be obtained by using the command |
Beta Was this translation helpful? Give feedback.
-
Hi @dakhnod, First I want to mention that it seems that the DUA feature isn't quite useful now. The same thing can be simply done by 'border routing'. For example, if we have two Thread networks (each have a BR) and they are connected through a backbone link, then Thread nodes from the two networks can access each other by OMR addresses. So not sure if you really want to use DUA. To let the BR be capable of a BBR for DUA, enable these options: The BBRs (on a backbone link) don't need to discover each other. In the Thread network, configure a Domain Prefix using prefix command. For example:
The 'D' flag means domain prefix. Then the devices in the Thread network will register their DUA addresses at the BBR.
The DUA is generated by SLAAC if a device doesn't configure its DUA iid. So if you set the DUA iid and moves a device to another partition (using same domain prefix), the address shouldn't change. Otherwise, the device will have a new address generated by SLAAC. |
Beta Was this translation helpful? Give feedback.
-
Thanks!
|
Beta Was this translation helpful? Give feedback.
-
@dakhnod DUA prefix with DUA addresses were indeed designed to have a stable IPv6 address for a Thread Device, valid within a given "domain" (called Thread Domain), while the device is potentially roaming between different networks. These are Thread networks with each a unique Network Key. And the Border Routers for all these networks must be connected on a single infrastructure IPv6 link, to make the DUA feature work. Only the function of roaming between networks in the domain isn't released yet by Thread Group (see my comments in #10536 ) - instead, a device vendor may use pre-configured active datasets for multiple Thread Networks in the domain today, as a substitute until the roaming feature becomes available. I don't think OT currently supports such multi-network configuration though it could be implemented on top. So depending on your use case it may be easier to use the #10536 suggested solution of Partitions at physically separate sites. (Also network-wise the infrastructure links on these sites need to be separate. So this is very different from the conditions of using DUA.) |
Beta Was this translation helpful? Give feedback.
-
Could you please elaborate on OMR a bit more? How do I get such an address and what does it look like? And how is it generated? |
Beta Was this translation helpful? Give feedback.
-
@dakhnod some suggestions/link to learn more about OMR prefix/addresses:
|
Beta Was this translation helpful? Give feedback.
-
@abtink couly you please summarize the difference between the |
Beta Was this translation helpful? Give feedback.
-
openthread/src/core/meshcop/meshcop.cpp Line 286 in 6e46e2e |
Beta Was this translation helpful? Give feedback.
-
Thanks! Is there currently a way to build |
Beta Was this translation helpful? Give feedback.
-
Looking through the OpenThread page, I can find two different daemons for the OpenThread stack on linux:
Thus I have these questions:
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions