Error, some other host already uses address解决办法
今天同事无法连接他自己的虚拟机了,过去一看,原来是报Error, some other host already uses address错误,换了其他ip还是报这样的错误,还好网上一搜就找到了解决办法.方法如下:
编辑 /etc/sysconfig/network-scripts/ifup-eth,将(注:在Redhat或者centos操作系统下,其他系统最好不要乱改)
if ! arping -q -c 2 -w 3 -D -I ${REALDEVICE} ${IPADDR} ; then
echo $”Error, some other host already uses address ${IPADDR}.”
exit 1
fi
用#注释掉,然后输入
service network restart
编辑 /etc/sysconfig/network-scripts/ifup-eth,将(注:在Redhat或者centos操作系统下,其他系统最好不要乱改)
if ! arping -q -c 2 -w 3 -D -I ${REALDEVICE} ${IPADDR} ; then
echo $”Error, some other host already uses address ${IPADDR}.”
exit 1
fi
用#注释掉,然后输入
service network restart
重启网络服务,网卡加载成功.
ps:改上面操作最好是确认下内网中是否有使用这个ip,不然很容易造成冲突.
评论: