linux 重启网卡 Device eth0 has different MAC address than expected,
来源:互联网 发布:东方财富网python面试 编辑:程序博客网 时间:2024/05/22 00:12
错误解释:这个提示是指网口的mac地址已经变化,但是设备名称没有变化,导致设备名称和mac地址无法匹配,linux无法挂载该网口。换种说法就是该网口的配置文件里的mac地址和该网口实际的mac地址不符合。
这种情况一般发生在虚拟机迁移,或者更换网卡的时候,解决方案如下:
- 1:记录网口的实际地址,执行ifconfig eth0
其中HWaddr后面就是网口实际的mac地址
- 2:更改配置文件中的mac地址
打开eth0的网口配置文件: /etc/sysconfig/network-scripts/ifcfg-eth0
(该地址可能随着不同的操作系统有所不同)在文件中寻找 HWADDR= 这行,如果没有就新加一行。把这行后面的值改成第一步看到的mac地址值,例如 HWADDR=”00:0C:29:2D:2D:CF”,然后保存退出
- 3:重启网卡
通过service network restart重启网卡,或者通过ifup eth0启动网卡(该命令会检查配置文件)
0 0
- linux 重启网卡 Device eth0 has different MAC address than expected,
- Device eth0 has different MAC address than expected
- CentOS5: Device eth0 has different MAC address than expected
- “Device eth0 has different MAC address than expected, ignoring.”问题
- Device eth0 has different MAC address than expected, ignoring
- Device eth0 has different MAC address than expected, ignoring.”问题
- Device eth0 has different MAC address than expected, ignoring.
- Device eth0 has different MAC address than expected 激活网卡时报错
- VMware 克隆centos虚拟机 网卡配置问题 Device eth0 has different MAC address than expected, ignoring.
- 虚拟机中装Linux配置网络时提示:Device eth0 has different MAC address than expected 的解决方法
- 复制vmware server虚拟机不能上网问题(Device eth0 has different MAC address than expected)
- 虚拟机复制上网问题 Device eth0 has different MAC address than expected, ignoring.
- Device eth1 has different MAC address
- 更改网卡名称以及重启网卡提示Determining if ip address x.x.x.x is already in use for device eth0
- CentOS Linuxe配置重启网卡报错Bringing up interface eth0: Device eth0 does not ...
- linux 复制虚拟机时重启网卡出现错误:device eth0 does not seem to be present,delaying initialization
- CentOS6.6系统网卡重启提示 : Device eth0 does not seem to be present
- The newly created daemon process has a different context than expected
- 如何设计更好的在线教育直播推流方案
- java高级特性-----注解(Annotation)
- 线程创建、等待、终止
- _onexit函数的使用 完成主函数执行完毕后再执行一段程序
- java中的“宏定义”
- linux 重启网卡 Device eth0 has different MAC address than expected,
- 第九周 oj训练 大奖赛计分
- 纵表和横表的概念及其相互转换
- 洛谷 P2409 Y的积木
- weka:Not enough memory. Please load a smaller dataset or use larger heap size.
- Android之进度条控件和常用资源分类总结
- 题目:有n个人围成一圈,顺序排号,从第一个开始报数(从1到3报数),凡报到3的人退出圈子,问最后最后留下的是原来第几号的那位. 提示:用数组完成
- 设置iptables允许ssh、http、ftp服务
- iOS10地图定位 适配各版本