编辑/etc/init.d/network,在未尾加上下面几行:
# Add non interface-specific static-routes.
if [ -f /etc/sysconfig/static-routes ]then
grep "^any" /etc/sysconfig/static-routes | while read ignore args do
/sbin/route add -$args
done
fi
编辑/etc/sysconfig/static-routes:
any net 224.0.0.101 netmask 255.255.255.255 dev eth0
any net 224.0.0.110 netmask 255.255.255.255 dev eth1
any net 244.0.0.111 netmask 255.255.255.255 dev eth3
any net 244.14.0.112 netmask 255.255.255.255 dev eth2
1、配置IPv6地址vi /tc/sysconfig/network-scripts/ifcfg-eth0修改以下三个地方IPV6INIT=”yes”IPV6ADDR=2400:A480:AAAA:200::159IPV6_DEFAULTGW=2400:A480:AAAA:200::12、重启网络服务PING外网测试连通性service netowork restartping ipv63、在客户端面远程测试打开远程连接工具:SecureCRT4、经过如上几个步骤我们就完成了在linux *** 作系统下对IPv6地址的配置。欢迎分享,转载请注明来源:内存溢出
评论列表(0条)