Chinaunix

标题: 如何开启IPV6,出了一个错误i [打印本页]

作者: wss8848    时间: 2010-11-08 15:01
标题: 如何开启IPV6,出了一个错误i
Global IPv6 forwarding is disabled in configuration, but not currently disabled in kernel


IPV6起不起来了
作者: wss8848    时间: 2010-11-11 16:22
没人来吗?
作者: oldoger    时间: 2010-11-11 16:39
这个问题得找网络专家
作者: wss8848    时间: 2010-12-20 09:51
Pv6 forwarding is disabled in configuration 是说在接口没有被设置转发状态(也就是转发接口)

not currently disabled in kernel是在说内核开启ipv6转发。开启转发却找不到转发接口,于是出现错误。

--------------------------------

解决办法:
将/etc/sysctl.conf中ipv6选项注释掉

#net.ipv6.conf.all.forwarding=1
#net.ipv6.conf.default.forwarding=1

sysctl -p重新载入配置

然后重启接口就不会报错了

===============

除非把Linux配置成为IPv6路由,否则用不着开启转发。

===============
把 Linux 配置成为IPv6路由 请看 我的文章
http://www.ipcpu.com/2010/11/linux-ipv6-router/






欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2