-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Using openthread based echo_client and lwm2m_client cannot ping the external network address #29567
Comments
It seems there's no global IPv6 address configured on your Thread device. Try enabling the following:
This configuration works for me, I was able to ping Google's DNS server with the echo sample (I've used echo_server to avoid additional noise from the app):
|
Did you run a clean build? I don't know why, but OpenThread does not seem to catch up with changes in config files if there's already an old build present. It might also be the case, that the SLAAC option is disabled for the prefix you distribute (I don't know your BR configuration, in OTBR it's enabled), so you might need to use DHCPv6 instead (enabled with |
Thank you! The problem is solved. When I execute the following command
it became normal. And to me, enabling
alone without SLAAC seems to have no effect. In addition I found that in my case,
must be enabled together, otherwise my board is only visible to get the address, but can not access the Internet. when all default: no ip from otbr when only enable slaac: got ip but no internet access when enable both: got ip and ping ok |
Yes, you need both options. It might also be wise to disable statically configured IPv6 address if you don't need it with Can we close the issue then? |
Yes, thank you very much for your help! |
Describe the bug
I have an openwrt-based border router with Internet access.
There is also nrf52840 dk with panid and channel set up and added to the border router network, thread role is router.
When I use echo_lient or lwm2m_client, I can only ping the ip address of the wpan0 interface of the border router, but cannot ping the external public network address, such as google dns.
But when I use the thread client officially provided by openthread or nordic, I can successfully ping Google dns.
Do I need other additional configuration?
My environment:
openwrt:
border router:
I don't have a native ipv6 environment, so I configured nat64 and dns64.
nat64: tayga
dns64: totd
The internet:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
i wang to ping from nrf52840 board to pulbic web such as google dns
Impact
What impact does this issue have on your progress (e.g., annoyance, showstopper)
Logs and console output
when using zephyr and lwm2m_client
when using nordic offical client:
Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: