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

重启网卡出现提示:


  
  
  1. Bringing up interface eth0: Determining if ip address 192.168. 1.81 is already in use for device eth0…
  2. [ OK ]
  3. Bringing up interface eth1: Determining if ip address 192.168. 1.83 is already in use for device eth1…
  4. [ OK ]
该警告一般是由于网卡解析arp协议导致的,可在网卡的配置文件中加入ARPCHECK=no参数来屏蔽该检查

  
  
  1. [root@liuyazhuang ~] # cat /etc/sysconfig/network-scripts/ifcfg-eth0
  2. TYPE=Ethernet
  3. BOOTPROTO=none
  4. IPADDR= 192.168. 1.81
  5. PREFIX= 24
  6. GATEWAY= 192.168. 1.254
  7. DEFROUTE=yes
  8. IPV4_FAILURE_FATAL=yes
  9. IPV6INIT= no
  10. NAME=eth 0
  11. UUID= 86d4406 0- 4579- 48cc-b85b- 219a206ca37c
  12. ONBOOT=yes
  13. HWADDR= 00: 50: 56: 95:09: 76
  14. LAST_CONNECT= 1411004329
  15. ARPCHECK= no
再次启动网卡,一切正常

  
  
  1. [ root@liuyazhuang ~]# service network restart
  2. Shutting down interface eth0: [ OK ]
  3. Shutting down interface eth1: [ OK ]
  4. Shutting down loopback interface: [ OK ]
  5. Bringing up loopback interface: [ OK ]
  6. Bringing up interface eth0: [ OK ]
  7. Bringing up interface eth1: [ OK ]

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值