使用IPv6的LTE设备不麻烦麻烦

发布于 2025-01-26 04:28:12 字数 1862 浏览 2 评论 0原文

我想将带有连接LTE帽子的Raspberry Pi用作物联网设备。 目前,我设法使用PPP来获得LTE调制解调器工作。我有IPv4和IPv6地址,可以从设备进行ping并将数据发送到MQTT代理。最后,可以使用SSH登录设备是可以的。但是目前,我很难通过PPP进行ping设备或与其进行工作的SSH连接。

我认为路由可能是错误的。因此,我发布IPv6的当前路由表:

route -6n
Kernel IPv6 routing table
Destination                    Next Hop                   Flag Met Ref Use If
::1/128                        ::                         U    256 2     0 lo
2003:f5:cf00:1700::/64         ::                         U    202 3     0 eth0
2a02:3037:414:b1d4::/64        ::                         UA   256 1     0 ppp0
fe80::de6:3cd1:5bc0:1436/128   ::                         U    256 1     0 ppp0
fe80::xxxx:xxxx:xxxx:beb8/128  ::                         U    256 1     0 ppp0
fe80::/64                      ::                         U    256 1     0 eth0
::/0                           fe80::464e:6dff:fe5d:e7fc  UG   202 2     0 eth0
::/0                           fe80::de6:3cd1:5bc0:1436   UGDAe 1024 1   0 ppp0
::1/128                        ::                         Un   0   6     0 lo
2003:f5:cf00:1700:xxxx:xxxx:xxxx:a761/128 ::              Un   0   3     0 eth0
2003:f5:cf00:1700:xxxx:xxxx:xxxx:549f/128 ::               Un   0   5    0 eth0
2a02:3037:414:b1d4:xxxx:xxxx:xxxx:beb8/128 ::             Un   0   2     0 ppp0
fe80::xxxx:xxxx:xxxx:a761/128  ::                         Un   0   4     0 eth0
fe80::xxxx:xxxx:xxxx:beb8/128  ::                         Un   0   3     0 ppp0
ff00::/8                       ::                         U    256 5     0 eth0
ff00::/8                       ::                         U    256 3     0 ppp0
::/0                           ::                         !n   -1  1     0 lo

以下命令失败(如果在其他设备上输入...)

ping -6 2a02:3037:414:b1d4:xxxx:xxxx:xxxx:beb8
ssh 2a02:3037:414:b1d4:xxxx:xxxx:xxxx:beb8

如果有人可以给我提示,那将是不错的。 谢谢

I would like to use a Raspberry Pi with an attached LTE Hat as an IoT device.
Currently I have managed to use ppp to get the LTE modem working. I've got IPv4 and IPv6 addresses and it is possible to ping from the device and to send data to an MQTT broker. At the end it would be fine to be able to log into the device using ssh. But currently I have trouble to ping the device or to get a working ssh connection to it over ppp.

I assume that something with the routing might be wrong. For this reason I post the current routing table of the IPv6:

route -6n
Kernel IPv6 routing table
Destination                    Next Hop                   Flag Met Ref Use If
::1/128                        ::                         U    256 2     0 lo
2003:f5:cf00:1700::/64         ::                         U    202 3     0 eth0
2a02:3037:414:b1d4::/64        ::                         UA   256 1     0 ppp0
fe80::de6:3cd1:5bc0:1436/128   ::                         U    256 1     0 ppp0
fe80::xxxx:xxxx:xxxx:beb8/128  ::                         U    256 1     0 ppp0
fe80::/64                      ::                         U    256 1     0 eth0
::/0                           fe80::464e:6dff:fe5d:e7fc  UG   202 2     0 eth0
::/0                           fe80::de6:3cd1:5bc0:1436   UGDAe 1024 1   0 ppp0
::1/128                        ::                         Un   0   6     0 lo
2003:f5:cf00:1700:xxxx:xxxx:xxxx:a761/128 ::              Un   0   3     0 eth0
2003:f5:cf00:1700:xxxx:xxxx:xxxx:549f/128 ::               Un   0   5    0 eth0
2a02:3037:414:b1d4:xxxx:xxxx:xxxx:beb8/128 ::             Un   0   2     0 ppp0
fe80::xxxx:xxxx:xxxx:a761/128  ::                         Un   0   4     0 eth0
fe80::xxxx:xxxx:xxxx:beb8/128  ::                         Un   0   3     0 ppp0
ff00::/8                       ::                         U    256 5     0 eth0
ff00::/8                       ::                         U    256 3     0 ppp0
::/0                           ::                         !n   -1  1     0 lo

The following commands fail (if entered on a different device ...)

ping -6 2a02:3037:414:b1d4:xxxx:xxxx:xxxx:beb8
ssh 2a02:3037:414:b1d4:xxxx:xxxx:xxxx:beb8

Would be nice if someone could give me a hint.
Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文