iKuai爱快流控路由

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 350|回复: 0
打印 上一主题 下一主题

使用ipv6中继模式后日志中出现大量ff02::2 的日志

[复制链接]
跳转到指定楼层
楼主
发表于 2024-5-20 23:26:55 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 LOVE2CMOL 于 2024-5-21 00:55 编辑

使用ipv6中继模式后日志中出现大量ff02::2 的日志:dizzy:
最先出现的是这些
400527 2024-05-20 01:55:47 odhcp6c[5257] Failed to send DHCPV6 message to ff02::1:2 (Network is unreachable)
400528 2024-05-20 01:55:48 odhcp6c[5257] Failed to send DHCPV6 message to ff02::1:2 (Network is unreachable)
400529 2024-05-20 01:55:51 odhcp6c[5257] Failed to send DHCPV6 message to ff02::1:2 (Network is unreachable)
400530 2024-05-20 01:55:51 odhcp6c[5257] Failed to send RS (Network is unreachable)
400531 2024-05-20 01:55:52 odhcpd[5476] Failed to add proxy neighbour entry 240e:xxxx:xxxx:xxxx:e0e1:35ff:fe8d:ed75 on adsl1
400532 2024-05-20 01:55:52 odhcpd[5476] Failed to add proxy neighbour entry 240e:xxxx:xxxx:xxxx:e0e1:35ff:fe8d:ed75 on adsl1
400533 2024-05-20 01:55:55 odhcpd[5476] Failed to add proxy neighbour entry 240e:xxxx:xxxx:xxxx:fc85:a12c:fedf:b2eb on adsl1
400534 2024-05-20 01:55:55 odhcp6c[5257] Failed to send RS (Network is unreachable)
400535 2024-05-20 01:55:55 odhcp6c[5257] Failed to send DHCPV6 message to ff02::1:2 (Network is unreachable)


然后下面就大量出现这种报错信息
401770 2024-05-20 19:07:31 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401771 2024-05-20 19:09:55 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401772 2024-05-20 19:10:37 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401773 2024-05-20 19:11:34 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401774 2024-05-20 19:12:25 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401775 2024-05-20 19:12:29 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401776 2024-05-20 19:12:38 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401777 2024-05-20 19:12:46 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401778 2024-05-20 19:12:50 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401779 2024-05-20 19:12:58 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401780 2024-05-20 19:13:14 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401781 2024-05-20 19:13:48 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401782 2024-05-20 19:15:34 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401783 2024-05-20 19:16:54 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)


401812 2024-05-20 20:10:25 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401813 2024-05-20 20:10:42 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401814 2024-05-20 20:10:51 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401815 2024-05-20 20:10:56 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401816 2024-05-20 20:11:04 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401817 2024-05-20 20:11:15 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401818 2024-05-20 20:11:21 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401819 2024-05-20 20:11:36 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401820 2024-05-20 20:11:40 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401821 2024-05-20 20:11:48 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401822 2024-05-20 20:12:01 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401823 2024-05-20 20:12:05 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401824 2024-05-20 20:12:12 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401825 2024-05-20 20:12:16 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401826 2024-05-20 20:12:23 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401827 2024-05-20 20:12:25 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401828 2024-05-20 20:12:33 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401829 2024-05-20 20:12:37 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401830 2024-05-20 20:12:39 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401831 2024-05-20 20:12:43 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401832 2024-05-20 20:12:52 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401833 2024-05-20 20:13:10 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401834 2024-05-20 20:13:45 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401835 2024-05-20 20:14:32 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401836 2024-05-20 20:14:56 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401837 2024-05-20 20:15:54 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401838 2024-05-20 20:17:15 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401839 2024-05-20 20:18:42 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401840 2024-05-20 20:20:08 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401841 2024-05-20 20:20:19 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401842 2024-05-20 20:21:56 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
401843 2024-05-20 20:24:02 odhcpd[5476] Failed to send to ff02::2%adsl1@adsl1 (Bad file descriptor)
1-2分钟出现一次 直至你重启对应的IPV6 外网配置下的对应接口

一旦出现这堆东西 久了 ipv6就会消失或者失效:D 但是部分设备还能用一段时间 所以这个问题可能有些小伙伴也有 但是很难发现它:(
而且有时候太多了也会出现系统崩溃的现象(极少见)



查了下SLAAC的资料ff02::2是一个多播地址 客户端会向这个地址广播RS
节点收到就会回复RA返回前缀
参考资料 https://blog.icpz.dev/articles/notes/odhcpd-relay-mode-discuss/


另外 跳出这个错误的方法 (但这样还是会过段时间问题还会出现 不完美:D)
网络设置 > IPv6 > IPv6设置





外网配置中 停用对应的外网接口 再启用 就会恢复 过1分钟就能正常获取到地址  并且错误日志不再生成


我个人建议是在中继中增加类似的 自动重启功能 (定时也好 自动检测也罢 但我想全都要;P)

我也有个疑惑就是 这很可能是跟运营商的部分配置有关系 例如有什么类似的认证或者限制之类的:) 导致我们不能响应这边的RS什么的
出现这个问题也恰好是运营商 更新RA信息的时间


貌似其它版本的op也会有类似的问题 仅作参考 可能不是相同的问题
https://forum.openwrt.org/t/odhc ... nd-to-ff02-1/105055  
https://github.com/coolsnowwolf/lede/issues/11959
https://www.right.com.cn/forum/thread-4046031-1-1.html
https://www.right.com.cn/FORUM/thread-5628954-1-1.html


分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

站长推荐上一条 /1 下一条

QQ|小黑屋|手机版|Archiver|论坛规章制度|iKuai Inc. ( 京ICP备13042604号 )

GMT+8, 2024-11-11 14:53

Powered by Discuz! X3.3

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表