-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to set a fixed global unicast prefix for a thread network? (TZ-459) #50
Comments
idf version 5.1.2 and esp-thread-br version 1.0 |
Hi, @briansuyu I think you might want to generate your own global prefix address, for implementing that you can use the function For your requirement, I think you can add another address with the prefix you just published. You can call the function The following cmd can help you to run a test(first you need to form a thread network and join a Thread node in it.): After forming the thread network, on the BR node, using this command to publish a customed prefix:
then you can see OT stack will generated a ULA of that prefix(using command
and for the Thread node(not BR) youcan also see a ULA with the prefix
On the Thread node(not BR), you can add a ULA like
Then you can ping this address on the ETH(for example, I ping this address on my linux host):
|
thanks, it helps a lot. |
Hi, @briansuyu We will try to reproduce this issue then investigate it. |
Hi @briansuyu , could you please try this way: let's publish a ULA prefix rather than a global prefix, please use |
Hi @briansuyu Per reproducing this issue on my side, I found it was too strange after pubilshing a new prefix in netdata, the OMR prefix address was disappeard. I investigated and tried to find the root cause of that. So please give me some time and I will sync to you later when I have some processes on this issue. |
yes, it's the same device, after the address is changed it updated the address in the service. And the other device's service just disappeard. |
Hi, @briansuyu , sorry for delay, please try this command to add the prefix: |
ok thanks |
My intention is to create several different thread networks, each network has one BR and all BRs are connected to the same ETH local network(for cases like 1000 lights in a building). As i don't have a global ipv6 address and i intend to use everything in local, i prefer to set everything fixed in advance to make the system more stable and easy to deploy, for example i could add several permanent routes to the local server according to the BR's link local ipv6 address in advance and all FTD devices stores the same dataset as it in the BR which they needs to be connected.
Should i use domain unicast address feature? I tried some openthread DUA apis to add domain name and domain iid for all devices before enabling thread network, but it seems the exposed ipv6 address still not making any sense.
I experimented this with 2 BR boards(esp32+esp32h2) and 4 esp32h2devkit.
Or should i use other thread features to achieve this?
The text was updated successfully, but these errors were encountered: