Determining if ip address is already in use for device eth0
系統重啟網絡服務會提示Determining if ip address is already in use for device eth0提示。
但是使用又沒有問題呢,那麽怎麽關閉這個顯示呢,Linux下network提示Determining if ip address
系統版本:Red Hat Enterprise Linux Server release 6.8 (Santiago)
問題現象
重啟網卡的時候會提示,(如果有多塊網卡會提示多條信息)彈出界面如下:
[[email protected] network-scripts]# service network restart
正在關閉接口 eth0: [確定]
正在關閉接口 eth1: [確定]
關閉環回接口: [確定]
彈出環回接口: [確定]
彈出界面 eth0: Determining if ip address 192.168.10.128 is already in use for device eth0...
[確定]
彈出界面 eth1: Determining if ip address 10.10.10.128 is already in use for device eth1...
[確定]
關閉arpcheck提示
出現這個提示查詢過各種資料原來是linux網卡配置arp檢查導致的,把這個關掉即可
vim /etc/sysconfig/network-scripts/ifcfg-eth1
在網卡配置文件裏面添加 ARPCHECK=no 如下:
DEVICE=eth1
TYPE=Ethernet
ONBOOT=yes
BOOTPROTO=static
HWADDR=00:0c:29:7a:98:ca
IPADDR=10.10.10.128
NETMASK=255.255.255.0
GATEWAY=10.10.10.2
ARPCHECK=no
設置好之後,保存修改。重啟網卡服務service network restart
如下:eth1已經沒有剛剛那個提示了。
[[email protected] network-scripts]# service network restart
正在關閉接口 eth0: [確定]
正在關閉接口 eth1: [確定]
關閉環回接口: [確定]
彈出環回接口: [確定]
彈出界面 eth0: Determining if ip address 192.168.10.128 is already in use for device eth0...
[確定]
彈出界面 eth1: [確定]
註意事項
關閉arpcheck檢查關閉上述提醒顯示,建議在設置之前。先確認網卡配置的IP是否有沖突。配置之前先測試如Ping一下,看看當前網絡是否有沖突的IP
本文出自 “學習像樹一樣活著” 博客,請務必保留此出處http://laobaiv1.blog.51cto.com/2893832/1950479
Determining if ip address is already in use for device eth0