克隆的CentOS6.6系统,网卡显示不存在的解决方法
2016-10-09 20:13
302 查看
今天做实验需要用到两个Linux系统,于是就把原有的CentOS6.6_64系统克隆了一份,启动克隆的系统配置好IP地址后,重启网络服务(service network restart),提示eth0不存在。而明明eth0文件是有存在滴。
下面来说说解决的方法:
1、修改克隆的CentOS6.6_64系统的网卡配置文件ifcfg-eth0,把HWADDR和UUID的行删除,参考如下:
下面来说说解决的方法:
1、修改克隆的CentOS6.6_64系统的网卡配置文件ifcfg-eth0,把HWADDR和UUID的行删除,参考如下:
[root@ilinux Packages]# vim /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 TYPE=Ethernet IPADDR=192.168.80.201 NETMASK=255.255.255.0 BROADCAST=192.168.80.255 GATEWAY=192.168.80.254 DNS1=218.85.152.99 DNS2=222.222.222.222 ONBOOT=yes #开机自启动网络,很重要哦; NM_CONTROLLED=yes2、修改克隆的CentOS6.6_64系统的70-persistent-net.rules配置文件,把文件里面未注释的行都删除或都注释掉(听说也可把此配置文件直接删除,想知道就自己实验下吧!)
[root@ilinux Packages]# vim /etc/udev/rules.d/70-persistent-net.rules # This file was automatically generated by the /lib/udev/write_net_rules # program, run by the persistent-net-generator.rules rules file. # # You can modify it, as long as you keep each rule on a single # line, and change only the value of the NAME= key. # PCI device 0x8086:0x100f (e1000) # PCI device 0x8086:0x100f (e1000) # PCI device 0x8086:0x100f (e1000) # PCI device 0x8086:0x100f (e1000) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:8d:3f:84", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"3、重启系统,只要你把网卡配置对了就OK了,ifconfig下吧,eth0出现了。
相关文章推荐
- 解决VM克隆centos系统网卡问题
- 解决虚拟机克隆CentOS系统后eth0消失,显示eth1的问题
- 在虚拟机中克隆centos6.4后,网卡起不来的解决方法
- centos 克隆系统后网卡eth0变成eth1的解决办法:
- 解决VM克隆CentOS系统后eth0消失,显示eth1的问题
- 解决VM克隆CentOS系统后eth0消失,显示eth1的问题
- vmware克隆centos后启动网卡失败解决方法
- 解决虚拟机克隆CentOS系统后eth0消失,显示eth1的问题
- 使用虚拟机克隆CentOS 6.9系统重启网卡报错问题的解决
- vmware安装CentOS后,克隆后网卡不能启动的解决方法
- centos 6.4 克隆无法加载网卡的问题解决方法
- 解决VM克隆CentOS系统后eth0消失,显示eth1的问题
- vmware克隆Centos6.4虚拟机网卡无法启动问题的解决方法
- CentOS虚拟机克隆后无法上网(网卡信息不一致)问题的解决方法
- 用VMware克隆虚拟机时,克隆好的linux系统网卡启动不起来的解决方法
- 解决VM克隆CentOS系统后eth0消失,显示eth1的问题
- 使用虚拟机克隆CentOS 6.9系统重启网卡报错问题的解决
- 系统托盘图标显示菜单(TrackPopupMenu)无法自动消失解决方法
- WIN7利用虚拟网卡创建AP共享WIFI时无法显示 “Microsoft Virtual WiFi Miniport Adapter”的解决方法
- CENTOS通过SSH远程连接中文显示乱码解决方法