Skip to content

Q&A:关于在网关路由器使用 ip -6 neigh 命令获取内网设备 IPv6 地址并更新的疑问。 #1208

Closed Answered by Zerorigin
Zerorigin asked this question in Q&A
Discussion options

You must be logged in to vote

没事了,自己测试了一下,是没问题的:

2024/08/06 14:04:24 获取IPv6结果失败! 命令: /bin/sh -c ip -6 neigh show dev <网口 lan 的名称> | grep -Eiv '(^F|::)' | grep 'lladdr <内网设备 mac 地址>' | head -n 1 | awk '{print $1}', 标准输出: ""
2024/08/06 14:04:24 未能获取IPv6地址, 将不会更新

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Zerorigin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant