ipv6 邻居条目失败
我有一堆失败的 ipv6 neigh 条目:
6000::2828:2802 dev eth2 lladdr 00:1f:a0:02:0e:b2 STALE
7000::1e1e:1e01 dev eth1 FAILED
8000::1e1e:1e01 dev eth1 FAILED
4000::1414:149e dev eth2 lladdr 00:03:00:04:00:09 PERMANENT
5000::1e1e:1e01 dev eth1 FAILED
3000::a0a:a3a dev eth1 lladdr 00:03:00:03:00:09 PERMANENT
现在,当我使用flush 删除这些条目时,它没有说什么要刷新。你们知道如何刷新或删除这些条目吗?如果我删除该条目,它就会进入失败状态。我可以更改这些值的时间,以便它在 10 秒后自动删除吗?
I have bunch of ipv6 neigh entries which are failed:
6000::2828:2802 dev eth2 lladdr 00:1f:a0:02:0e:b2 STALE
7000::1e1e:1e01 dev eth1 FAILED
8000::1e1e:1e01 dev eth1 FAILED
4000::1414:149e dev eth2 lladdr 00:03:00:04:00:09 PERMANENT
5000::1e1e:1e01 dev eth1 FAILED
3000::a0a:a3a dev eth1 lladdr 00:03:00:03:00:09 PERMANENT
Now, When I use flush to remove these entries, it says nothing to flush. Do you guys know how to flush or remove these entries, If I delete the entry, it goes in the failed state. Can I change the time for these values, so it automatically gets removed in say 10 seconds.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
当您执行类似的操作时,它们应该完全消失,
但更重要的是:这些地址是虚假的。它们不应该在任何地方使用...在邻居发现表中看到它们意味着您的系统认为它们处于链接状态,但事实不应该如此。
我建议你先看看你的网络配置。您的接口可能配置了错误的前缀长度前缀...
They should completely disappear when you do something like
But much more important: those addresses are bogons. They should never be in use anywhere... Seeing them in your neighbor discovery tables means that your system thinks they are on-link, and that should not be the case.
I suggest you look at your network configuration first. Your interfaces might have the wrong prefixes of prefix-lengths configured...
是的,您可以在 10 秒或其他时间内将它们移除。
gc_interval
是几秒后开始清理以删除陈旧条目的时间。gc_stale_time
是条目被标记为过时的秒数。您可以将这两个值设置为
10
。您可以专门为net.ipv6.neigh.eth1
下的eth1
覆盖这些值。Yes you can have them removed in 10 secs or whatever.
gc_interval
is seconds after which the clean-up kicks in to remove stale entries.gc_stale_time
is seconds after which the entries are marked to be stale.You can set both these values to
10
. You can override these values exclusively foreth1
undernet.ipv6.neigh.eth1
.