This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Ping from IPV4 network through border router to NRF52840 running Thread CLI

I have a local ipv4 network with a Mac laptop.  There is a Raspberry Pi Thread border router connected to the network.  There is an nRF52840 running the Thread CLI example.

Following the Border Router example on the InfoCenter, I can

  • nRF52840 -> ping -> cloud (using ipv4 address embedded in ipv6)
  • nRF52840 -> ping/UDP -> raspberry pi border router (using ipv6 address)
  • nRF52840 -> ping/UDP -> Mac laptop (using ipv4 address embedded in ipv6 and custom prefix in tayga.conf)
  • border router -> ping/UDP -> nRF52840

I cannot ping from the Mac laptop directly to the nRF52840.  Ping on the mac 

Is it possible to ping and send UDP to the nRF52840 from a device (laptop) on the local ipv4 LAN?  How would I configure or find the corresponding ipv4 address to use on the laptop?

Rob

Parents
  • Hello Rob,

    As you probably experienced, it is easier to translate from IPv6 to IPv4 than the other way around. 

    The way to do this is probably to initiate the communication from the Thread node (nRF52840). Since this will send a TCP/UDP message to the Border Router (BR). The BR's IPv4 address will be used as a source IPv4 address for all nodes, but the port (16 bit) of the UDP/TCP will be used to create the look up table, so that if the PC replies, then the BR will know what IPv6 address to reply to, as long as the correct port is used.

    Best regards,

    Edvin

Reply
  • Hello Rob,

    As you probably experienced, it is easier to translate from IPv6 to IPv4 than the other way around. 

    The way to do this is probably to initiate the communication from the Thread node (nRF52840). Since this will send a TCP/UDP message to the Border Router (BR). The BR's IPv4 address will be used as a source IPv4 address for all nodes, but the port (16 bit) of the UDP/TCP will be used to create the look up table, so that if the PC replies, then the BR will know what IPv6 address to reply to, as long as the correct port is used.

    Best regards,

    Edvin

Children
No Data
Related