-
I am facing a rather odd issue with an OT border router implementation of my own making on an ESP32 platform. According to the logs, the BR advertises its NAT64 prefix on the WiFi LAN as it should, but I don't observe the RA in a sniffer and am not able to reach end devices connected to the BR over ipv6. A reference implementation of an ESP32 BR works as expected while producing virtually the same logs. Here is a comparison of the logs between my device and the example BR (https://github.com/espressif/esp-idf/tree/master/examples/openthread/ot_br).
The only difference seems to be that in my implementation the RA also has a PIO option. I tried removing (that is, not adding) it programmatically for the sake of the experiment, it makes no difference. Checking the I'm currently digging into the underlying networking stack of the ESP device to see if there's some issue with it, but in the meanwhile thought I'd post here in case anyone might offer some additional ideas. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
OT openthread/include/openthread/platform/infra_if.h Lines 70 to 92 in 9f6921c May be helpful to check the implementation of this API on the platform. |
Beta Was this translation helpful? Give feedback.
-
@pptz The |
Beta Was this translation helpful? Give feedback.
-
I'll post the resolution here for the record, even though, as suspected, the problem had nothing to do with OpenThread itself. Turned out that the LAN interface on my device did not have an IPv6 address. This logically broke route advertising on the LAN (as IPv6 routes are advertised with ICMPv6 using IPv6 addresses), but without any visible errors on the side of the Espressif port of OT. |
Beta Was this translation helpful? Give feedback.
I'll post the resolution here for the record, even though, as suspected, the problem had nothing to do with OpenThread itself.
Turned out that the LAN interface on my device did not have an IPv6 address. This logically broke route advertising on the LAN (as IPv6 routes are advertised with ICMPv6 using IPv6 addresses), but without any visible errors on the side of the Espressif port of OT.