Skip to content
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

NAT64 Translator not starting (TZ-1041) #86

Closed
goossensbas opened this issue Aug 7, 2024 · 4 comments
Closed

NAT64 Translator not starting (TZ-1041) #86

goossensbas opened this issue Aug 7, 2024 · 4 comments

Comments

@goossensbas
Copy link

Hello,
I installed the OTBR firmware on the espressif border router dev board.

When i enable NAT64 on the border router only the prefixmanager is visible when i check it with 'nat64 state'.
The translator is not there.
I checked the menuconfig settings, but everything seems OK there.

How can i enable the translator?

Thanks!

@github-actions github-actions bot changed the title NAT64 Translator not starting NAT64 Translator not starting (TZ-1041) Aug 7, 2024
@zwx1995esp
Copy link
Collaborator

For the NAT64 translator feature, we enable it by default. No needs for doing any other things. You can have a try with this codelab: 3.4. NAT64 in our docs.

@goossensbas
Copy link
Author

goossensbas commented Aug 14, 2024

@zwx1995esp Thank you for your reply.

The codelab is already using DNS over IPV4, but i cannot use IPV4 on my border router.
When i start a new network, and i check with "nat64 state", the translator is missing. I only have the PrefixManager.

Is there something i'm missing? Is version 1.0 from openthread.io the correct one

These are the steps i did to install the firmware (from openthread.io):
(I'm using esp-idf v5.1.2)

$ git clone -b v1.0 --recursive https://github.com/espressif/esp-thread-br.git
$ cd esp-thread-br/examples/basic_thread_border_router
$ idf.py menuconfig

In the menuconfig i enabled the following options. The other options i did not change:

  • ESP thread Border Router Example / Enable automatic start
  • ESP thread Border Router Example / Enable web server
  • Example Connection Configuration / SSID
  • Example Connection Configuration / password
    $ idf.py build flash monitor /dev/ttyACM1

After starting a new network i try to ping 8.8.8.8, but it does not work.

When i build the border router on my raspberry pi with a dongle as RCP, both translator and prefixmanager show when i use the nat64 state...

@zwx1995esp
Copy link
Collaborator

zwx1995esp commented Aug 15, 2024

NAT64 is using for thread end device which does not have wifi or eth link to access the cloud or other local ipv4 address. BR will forward the packets between the IPv4 address host and the thread end device. For the BR, if you want to access the IPv4 address, no need to use NAT64(because BR has wifi or eth link).

Also you can not ping a ipv4 address using a Thread layer ping command. Please refer to our BR docs FAQ to get more informations.

@chshu
Copy link
Collaborator

chshu commented Sep 6, 2024

@goossensbas do you have any follow up questions? or could you close the issue?

@chshu chshu closed this as completed Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants