Copied over the virtual machine, you can see no IP address, Mac may be copied over.
[Email protected] ~]# ifconfig-a
Ens33:flags=4098<broadcast,multicast> MTU 1500
Ether 00:0c:29:f1:8b:eb Txqueuelen (Ethernet)
RX Packets 0 Bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX Packets 0 Bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
The/etc/sysconfig/network-scripts/ifcfg-configuration on this replicated virtual machine _1
Type=ethernet
Bootproto=none
Defroute=yes
Ipv4_failure_fatal=no
Ipv6init=yes
Ipv6_autoconf=yes
Ipv6_defroute=yes
Ipv6_failure_fatal=no
Ipv6_addr_gen_mode=stable-privacy
Name= "Configuration 1"
uuid=5b53ad9c-2f6a-4442-8210-0cffb29fa218
Onboot=yes
zone=trusted
ipaddr=192.168.1.188
Prefix=24
gateway=192.168.1.1
Ipv6_peerdns=yes
Ipv6_peerroutes=yes
The following is not the configuration of the virtual machine being copied
[Email protected] ~]$ ifconfig-a
Ens33:flags=4163<up,broadcast,running,multicast> MTU 1500
inet 192.168.1.108 netmask 255.255.255.0 broadcast 192.168.1.255
Inet6 fe80::f9f:3558:d313:7f30 Prefixlen ScopeID 0x20<link>
Ether 00:0C:29:70:5E:FC Txqueuelen (Ethernet)
RX Packets 134 Bytes 14399 (14.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX Packets bytes 9037 (8.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
/etc/sysconfig/network-scripts/ifcfg-ens33 on this machine.
Type= "Ethernet"
Bootproto= "DHCP"
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"
Ipv6_addr_gen_mode= "Stable-privacy"
Name= "Ens33"
Uuid= "3c0513f8-2939-43bd-98c2-be3a262b7b94"
Device= "Ens33"
onboot= "Yes"
How is this problem solved?
- Ifconfig-a View Ens33 MAC address, configuration file "ifcfg-configuration _1" content removal, with "ifcfg-ens33" content copied over
- Rm-rf/etc/udev/rules.d/70-persistent-net.rules
- Modify the/ETC/SYSCONFIG/NETWORK-SCRIPTS/IFCFG-ENS33 's hardware address (UUID) to Ifconfig-a view the MAC address of the ENS33
- Reboot
After VMware loads the virtual machines on the other host, the IP is not found. How to solve?