编辑网卡地址:
#vi /etc/sysconfig/network-scripts/ifcfg-eth0
IPV6INIT=yes
IPV6FORWARDING=yes
IPV6ADDR=2607:9000:0:35::c689:6de0
IPV6_DEFAULTGW=2607:9000:0000:0035:0000:0000:0000:0001
IPV6_AUTOCONF=no
PEERDNS=no
#vi /etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 2001:4860:4860::8888
nameserver 2001:4860:4860::8844
添加完成后,重启网络接口即可:
/sbin/service network restart