1. 修改配置文件,在ipv4地址基础上,增加ipv6地址的配置信息,ipv6地址设置为2010::25
[root@felixzh ~]# vim /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0ONBOOT=yesBOOTPROTO=staticIPADDR=10.121.65.53PREFIX=24GATEWAY=10.121.65.1DEFROUTE=yesIPV6INIT=yesIPV6_AUTOCONF=noIPV6_DEFROUTE=yesIPV6_FAILURE_FATAL=noIPV6ADDR=2010::25/64
2. 重启network服务:
[root@felixzh ~]# service network restart
3. 尝试ping ipv6主机
[root@felixzh ~]# ping6 2010::25