不知道那个装机工给我装的linux,竟然禁用了ipv6,还好他编译了ipv6模块
现在的问题是怎么添加ipv6协议到我的centos???
我已经加载ipv6模块但是ifconfig根本没ipv6地址(::1也没有),我重起网络也没用~~~- ping6 fe80::1

  • socket: Address family not supported by protocol
  • service network restart
  • Shutting down interface eth0: [ OK ]
  • Shutting down loopback interface: [ OK ]
  • CRITICAL : [ipv6_test] Kernel is not compiled with IPv6 support
  • Bringing up loopback interface: [ OK ]
  • Bringing up interface eth0: [ OK ]
  • CRITICAL : [ipv6_test] Kernel is not compiled with IPv6 support
  • lsmod | grep "ipv6"
  • ipv6 271073 1 cnic
  • xfrm_nalgo 13381 1 ipv6复制代码