转载请注明出处:http://blog.csdn.net/l1028386804/article/details/78253013
重启网卡出现提示:
Bringing up interface eth0: Determining if ip address 192.168.1.81 is already in use for device eth0... [ OK ] Bringing up interface eth1: Determining if ip address 192.168.1.83 is already in use for device eth1... [ OK ]该警告一般是由于网卡解析arp协议导致的,可在网卡的配置文件中加入ARPCHECK=no参数来屏蔽该检查
[root@liuyazhuang ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 TYPE=Ethernet BOOTPROTO=none IPADDR=192.168.1.81 PREFIX=24 GATEWAY=192.168.1.254 DEFROUTE=yes IPV4_FAILURE_FATAL=yes IPV6INIT=no NAME=eth0 UUID=86d44060-4579-48cc-b85b-219a206ca37c ONBOOT=yes HWADDR=00:50:56:95:09:76 LAST_CONNECT=1411004329 ARPCHECK=no再次启动网卡,一切正常
[root@liuyazhuang ~]# service network restart Shutting down interface eth0: [ OK ] Shutting down interface eth1: [ OK ] Shutting down loopback interface: [ OK ] Bringing up loopback interface: [ OK ] Bringing up interface eth0: [ OK ] Bringing up interface eth1: [ OK ]原文链接:https://www.f2er.com/centos/375573.html