CentOS重启网卡报错游子网络工作室


信心服务

CentOS 重启网卡报错 Determining if ip address x.x.x.x is already in use的解决方法

Category: 技术文档 Comments: 0 Date: 2018/06/27 Views: 4 次

今天,在重启网卡的时候发现了如下的问题!

service network restart
[root@youzi ~]# service network restart
Shutting down interface eth0:                              [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:  Determining if ip address x.x.x.x is already in use for device eth0...
                                                           [  OK  ]

CentOS 默认开启了ARPCHECK,将其关闭即可解决:

sed -i "ARPCHECK=no" >> /etc/sysconfig/network-scripts/ifcfg-eth0</code>
然后在重启网卡就会发现一切正常了
<pre class="brush: php; gutter: true">[root@youzi ~]# service network restart
Shutting down interface eth0:                              [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:                                [  OK  ]
...不忘初心 方得始终!心沟通,心服务...
 
业务咨询办理
固话:0773-3690665
在线客服QQ
点击这里给我发消息
点击这里给我发消息
点击这里给我发消息
在线旺旺客服
在线旺旺客服和我联系