Openthread Border Router cannot access itself to public IP #11152
-
Hello, I have built basic_thread_border_router (v1.1 ESP Thread Boarder Router SDK) and flashed on ESP Thread Border Router dev board with Ethernet adapter. Main goal is to add websocket client on BR to be managed by a remote server and ntp capabilitiy. How can I configure the BR to access Internet? BR information:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
@bgorostidi Please refer to the following explanation for details on why ping may fail: Ping Fails. In general, the ping command from ot_cli fails as expected. For accessing the public internet, it is recommended to use lwIP APIs instead. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the explanation. In fact, I've talked about ping but I've also created a project based on the basic_thread_border_router sample in which I've implemented a sntp service and a websocket client with which I have same problems. |
Beta Was this translation helpful? Give feedback.
@bgorostidi In the ESP Thread BR v1.1 release, the default netif was set to Thread, causing lwIP to route packets to the Thread interface if no better prefix matched. This configuration has been removed in the master branch. Please apply this commit and try again: commit link.