1. 检查Ipv6模块是否已被加载
#lsmod | grep ipv6
ipv6 232705 6
2. 修改/etc/sysconfig/network文件,添加下面一行:
NETWORKING_IPV6=YES
3. 重新启动机器
4. 查看ipv6网络地址
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:0B:DB:B5:63:45
inet addr:172.28.123.195 Bcast:172.28.123.255 Mask:255.255.255.128
inet6 addr: fe80::20b:dbff:feb5:6345/64 Scope:Link