解决方案:进入cd /etc/udev/rules.d/70-persistent-net.rules
编辑模式 :vi 70-persistent-net.rules
把eth1 修改成eth0,修改如下:

2.打开克隆的网络适配器,选择自定义(U)

3.修改配置文件:cd /etc/sysconfig/network-scirpt/ifcfg-eth0
vi ifcfg-eth0 进入编辑模式,修改后如下:

4.int 0
5.重启虚拟机:service network restart
解决方案:进入cd /etc/udev/rules.d/70-persistent-net.rules
编辑模式 :vi 70-persistent-net.rules
把eth1 修改成eth0,修改如下:

2.打开克隆的网络适配器,选择自定义(U)

3.修改配置文件:cd /etc/sysconfig/network-scirpt/ifcfg-eth0
vi ifcfg-eth0 进入编辑模式,修改后如下:

4.int 0
5.重启虚拟机:service network restart