Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization
来源:互联网 发布:淘宝如何最快提交订单 编辑:程序博客网 时间:2024/05/16 10:27
在复制虚拟机后,重启网络服务时报错,错误现象如下图:
复制虚拟机后,需要做的步骤:
1、在开机前先将mac地址自动生成,不能与之前的重复;
2、开机后,首先改网卡名:在/etc/udev/rules.d/70-persistent-net.rules中,将之前的eth0和eth1删除,将eth2和eth3分别改成eth0和eth1;
3、要想使网卡名生效,必须先将驱动模块卸载后重新加载:用ethtool -i eth2/eth3查看驱动设备名,(一般Centos 6中的名字都是e1000),
再用rmmod 驱动名(例:rmmod e1000)卸载;用modprobe 驱动名---》再重新加载;
4、改ip地址(为了做实验,我的ip都是手动指定的):/etc/sysconfig/network-scripts/ifcfg-eth0 主要几项:
DEVICE=eth0 ;
BOOTPROTO=none(none和static都是手动指定,dhcp是自动获取) ;
IPADDR=172.17.252.235(自己定义);
PREFIX=16(我的是172.17.0.0网段) ;
其余像网关,dns什么的想要就写,不写也行;
5、重启网络服务:service network restart
错误原因:
在以上的步骤中,忘记了第三步重新加载网卡驱动,所以,一直报上图所示错误"Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization";卸载并重新加载后重启网络服务就可以了;
- Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization.
- Bringing up interface eth0: Device eth0 does not seem to be present, delaying initialization
- Bringing up interface eth0: Device eth0 does not seem to be present, delaying initialization
- Bringing up interface eth0: Device eth0 does not seem to be present, delaying initialization.
- Bringing up interface eth0: Device eth0 does not seem to be present, delaying initialization.
- Bringing up interface eth0: Device eth0 does not seem to be present, delaying initialization.
- Bringing up interface eth0: Device eth0 does not seem to be present, delaying initialization.
- Bringing up interface eth0: Device eth0 does not seem to be present, delaying initialization.
- Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization
- 克隆虚拟机出现Bringing up interface eth0: Device eth0 does not seem to be present, delaying initialization
- Bring up interface eth0:Device eth0 does not seem to be present,delaying initialization
- device eth0 does not seem to be present, delaying initialization
- Device eth0 does not seem to be present, delaying initialization
- Device eth0 does not seem to be present, delaying initialization
- Device eth0 does not seem to be present, delaying initialization
- device eth0 does not seem to be present, delaying initialization
- Device eth0 does not seem to be present delaying initialization
- device eth0 does not seem to be present, delaying initialization
- VirtualBox配置网络方式
- Unity 游戏框架搭建 (四) 简易有限状态机
- STL
- [kuangbin带你飞]专题九 连通图 E
- c++中friend class
- Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization
- 信息安全技术知识:Kerberos协议的工作过程
- JsonValue、JsonString、JsonNumber源码翻译
- el表达式设置option标签selected
- pycharm template
- 详解阿里海报设计AI“鲁班”,没错,人类设计师危险了
- vue.js 组件之间传递数据
- Log4j2的配置及使用方式
- Java 支付宝之APP支付服务端 (二)