故障描述:给物理机配置了2块网卡,ip默认配置成static ip ,一直用着好好的,reboot 机器之后,再发现其中一块网卡eth1 未启动。执行ifup eth1, "提示:Error, some other host already uses address 22.22.22.2. " .用同一个局域网的22.22.22.3 ping 22.22.22.2 ,ping 不通,说明没有active机器用这个ip 啊。
解决办法:vi /etc/sysconfig/network-scripts/ifup-eth 注释掉如下几行, 然后ifup eth1 好了。
# if ! arping -q -c 2 -w 3 -D -I ${REALDEVICE} ${IPADDR} ; then
# echo $"Error, some other host already uses address ${IPADDR}."
# exit 1
# fi