|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
欢迎大家来到仓酷云论坛!- device"eth0"doesnotseemtobepresent,delayinginitialization
复制代码
缘故原由是Centos6利用udev静态办理装备文件将MAC地点和网卡称号对应纪录在udev的划定规矩剧本中,VMware晋级后假造机网卡MAC会改动,如许体系会以为网卡是新增的并定名为eth1,检察以下:
- ipadd1:lo:<LOOPBACK,UP,LOWER_UP>mtu16436qdiscnoqueuestateUNKNOWNlink/loopback00:00:00:00:00:00brd00:00:00:00:00:00inet127.0.0.1/8scopehostloinet6::1/128scopehostvalid_lftforeverpreferred_lftforever2:eth1:<BROADCAST,MULTICAST,UP,LOWER_UP>mtu1500qdiscpfifo_faststateUNKNOWNqlen1000link/ether00:0c:29:ce:c0:1ebrdff:ff:ff:ff:ff:ffinet192.168.1.13/24brd192.168.1.255scopeglobaleth1inet6fe80::20c:29ff:fece:c01e/64scopelink
复制代码
办理***1,修正收集设置文件装备eth0为eth1:
- cat/etc/sysconfig/network-scripts/ifcfg-eth0DEVICE="eth1"BOOTPROSTO=staticIPADDR=192.168.1.13NETMASK=255.255.255.0GATEWAY=192.168.1.1ONBOOT="yes"
复制代码
办理***2,修正udev纪录的mac与网卡称号对应划定规矩:
- cat/etc/udev/rules.d/70-persistent-net.rules#PCIdevice0x1022:0x2000(pcnet32)SUBSYSTEM=="net",ACTION=="add",DRIVERS=="?*",ATTR{address}=="00:0c:29:ce:c0:1e",ATTR{type}=="1",KERNEL=="eth*",NAME="eth0"
复制代码
如果您觉得本篇CentOSLinux教程讲得好,请记得点击右边漂浮的分享程序,把好文章分享给你的小伙伴们! |
|