1. 程式人生 > >CentOS之——Bringing up interface eth0: Determining if ip address 192.168.1.81 is already in use for de

CentOS之——Bringing up interface eth0: Determining if ip address 192.168.1.81 is already in use for de

重啟網絡卡出現提示:

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引數來遮蔽該檢查
[[email protected] ~]# 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
再次啟動網絡卡,一切正常
[[email protected] ~]# 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  ]