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

TAYGA NAT64 not receiving requests from Thread Network

Hello!

I have formed a Thread network and I am trying to ping an external IPv4 address and that request is not being forwarded to the border router.

My OTBR is a Raspberry Pi with a nrf52840 USB dongle (with RCP) configured without the WiFi hotspot (NETWORK_MANAGER=0 ./script/setup) and then I have a nrf52840DK connected to the network as well. This is the neighbor table of the OTBR:

pi@raspberrypi:~ $ sudo ot-ctl neighbor table
| Role | RLOC16 | Age | Avg RSSI | Last RSSI |R|D|N| Extended MAC     |
+------+--------+-----+----------+-----------+-+-+-+------------------+
|   R  | 0x5c00 |  17 |      -59 |       -60 |1|1|1| deb6fa6fcd9f8438 |

Done

Then I have configured the NAT64 using the OpenThread guide and I would expect that I could ping, for example, Google's DNS server from the nrf52840DK CLI interface, but I cannot:

uart:~$ ot ping 64:ff9b::808:808
Done

I am having trouble identifying the source of the problem, so I have tried monitoring the wpan0 interface of the OTBR while performing a ping but got no packets:

pi@raspberrypi:~ $ sudo tcpdump -vnni wpan0
tcpdump: listening on wpan0, link-type LINUX_SLL (Linux cooked), capture size 262144 bytes
^C
0 packets captured
0 packets received by filter
0 packets dropped by kernel

I get the same results while monitoring the nat64 interface.

ip route

pi@raspberrypi:~ $ ip route
default via 192.168.1.1 dev eth0 proto dhcp metric 100
default via 192.168.1.1 dev eth0 src 192.168.1.155 metric 202
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.155 metric 100
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.155 metric 202
192.168.255.0/24 dev nat64 scope link

route -n -A inet6

pi@raspberrypi:~ $ route -n -A inet6
Kernel IPv6 routing table
Destination                    Next Hop                   Flag Met Ref Use If
::1/128                        ::                         U    256 2     0 lo
64:ff9b::/96                   ::                         U    1024 1     0 nat64
fd75:2923:1516:67d1::/64       ::                         U    256 3     0 wpan0
fe80::/64                      ::                         U    100 2     0 eth0
fe80::/64                      ::                         U    256 3     0 wpan0
fe80::/64                      ::                         U    256 1     0 nat64
::/0                           ::                         !n   -1  1     0 lo
fd75:2923:1516:67d1::/128      ::                         Un   0   5     0 wpan0
fd75:2923:1516:67d1:0:ff:fe00:800/128 ::                         Un   0   4     0 wpan0
fd75:2923:1516:67d1:0:ff:fe00:fc00/128 ::                         Un   0   2     0 wpan0
fd75:2923:1516:67d1:3dae:936:17f8:c561/128 ::                         Un   0   2     0 wpan0
fe80::/128                     ::                         Un   0   5     0 wpan0
fe80::/128                     ::                         Un   0   3     0 nat64
fe80::1cfd:421b:da60:6b14/128  ::                         Un   0   2     0 nat64
fe80::b8f8:658d:7fde:a308/128  ::                         Un   0   3     0 eth0
ff00::/8                       ::                         U    256 1     0 wpan0
ff00::/8                       ::                         U    256 5     0 eth0
ff00::/8                       ::                         U    256 1     0 nat64
::/0                           ::                         !n   -1  1     0 lo

ifconfig

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.155  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::b8f8:658d:7fde:a308  prefixlen 64  scopeid 0x20<link>
        ether b8:27:eb:04:c2:86  txqueuelen 1000  (Ethernet)
        RX packets 57487  bytes 3411772 (3.2 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 58178  bytes 24493952 (23.3 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 139  bytes 12096 (11.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 139  bytes 12096 (11.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

nat64: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet6 fe80::1cfd:421b:da60:6b14  prefixlen 64  scopeid 0x20<link>
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 500  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 9  bytes 684 (684.0 B)
        TX errors 0  dropped 1 overruns 0  carrier 0  collisions 0

wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether ba:1b:bd:22:b0:10  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wpan0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1280
        inet6 fe80::4886:c456:2283:cae4  prefixlen 64  scopeid 0x20<link>
        inet6 fd75:2923:1516:67d1:0:ff:fe00:fc00  prefixlen 64  scopeid 0x0<global>
        inet6 fd75:2923:1516:67d1:3dae:936:17f8:c561  prefixlen 64  scopeid 0x0<global>
        inet6 fd75:2923:1516:67d1:0:ff:fe00:800  prefixlen 64  scopeid 0x0<global>
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 500  (UNSPEC)
        RX packets 7  bytes 557 (557.0 B)
        RX errors 0  dropped 1  overruns 0  frame 0
        TX packets 12  bytes 1493 (1.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ip addr

pi@raspberrypi:~ $ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether b8:27:eb:04:c2:86 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.155/24 brd 192.168.1.255 scope global dynamic noprefixroute eth0
       valid_lft 2350sec preferred_lft 2350sec
    inet6 fe80::b8f8:658d:7fde:a308/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether ba:1b:bd:22:b0:10 brd ff:ff:ff:ff:ff:ff
4: wpan0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1280 qdisc pfifo_fast state UNKNOWN group default qlen 500
    link/void
    inet6 fd75:2923:1516:67d1:0:ff:fe00:fc00/64 scope global nodad deprecated
       valid_lft forever preferred_lft 0sec
    inet6 fd75:2923:1516:67d1:0:ff:fe00:800/64 scope global nodad
       valid_lft forever preferred_lft forever
    inet6 fd75:2923:1516:67d1:3dae:936:17f8:c561/64 scope global nodad
       valid_lft forever preferred_lft forever
    inet6 fe80::4886:c456:2283:cae4/64 scope link nodad
       valid_lft forever preferred_lft forever
6: nat64: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 500
    link/none
    inet6 fe80::1cfd:421b:da60:6b14/64 scope link stable-privacy
       valid_lft forever preferred_lft forever

How can I find the source of this issue?

Thank you for your time.

Parents Reply Children
Related