asdfasd

ip别名 要弃用了,centos 6 还有,centos 7 没了

别名设置: ifconfig eth0:0 10.0.0.9/24 netmask 255.255.255.0 up 回车 这个别名是临时的,重启就没了 route add -host 10.0.0.10 dev eth0 回车 route -n 回车

这是标准配置ip 方法,增加路由 ifconfig eth0:1 down 删掉

别名ip将被遗弃了,用辅助ip替代