http://www.bubuko.com/infodetail-1483490.html (EXT)
Network problem resolution time for VMware Virtual machine cloning CentOS7:2016-04-02 07:17:00 read:578 comments:0 Favorites: 0 [point I collection +]
Tags: virtual machine network card resolution steps
1, delete the/etc/sysconfig/network-scripts/ifcfg-eno16777736 uuid this line, because each card's MAC address is not the same, so the UUID is not the same. If there is hwaddr this option also has to be given to the line.
[[Email protected]~]# vim/etc/sysconfig/network-scripts/ifcfg-eno16777736
Type=ethernet
Bootproto=static
Defroute=yes
Peerdns=yes
Peerroutes=yes
Ipv4_failure_fatal=no
Ipv6init=yes
Ipv6_autoconf=yes
Ipv6_defroute=yes
Ipv6_peerdns=yes
Ipv6_peerroutes=yes
Ipv6_failure_fatal=no
name=eno16777736
uuid=9972f8c8-48e0-4b2d-92c2-00d44999ed2f
device=eno16777736
Onboot=yes
ipaddr=192.168.1.131
netmask=255.255.255.0
gateway=192.168.1.1
dns1=192.168.1.1
2, enter/etc/udev/rules.d/This directory, delete files 70-persistent-ipoib.rules
[Email protected] rules.d]# cd/etc/udev/rules.d/
[Email protected] rules.d]# rm-f 70-persistent-ipoib.rules
3, restart the network (with the following two commands in the version above CentOS7 can be)
Systemctl Restart Network.service
Service Network restart
Solutions to network problems arising from VMware virtual machine cloning CentOS7