标签:ini udev fat none ror pac 其他 uuid gen
复制过来的虚拟机,可以看到没有IP地址了,MAC也可能是被复制过来的。
[root@localhost ~]# ifconfig -a
ens33: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 00:0c:29:f1:8b:eb txqueuelen 1000 (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
这台被复制的虚拟机上/etc/sysconfig/network-scripts/ifcfg-配置_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="配置 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
下面不是被复制的虚拟机的配置
[han@localhost ~]$ 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 64 scopeid 0x20<link>
ether 00:0c:29:70:5e:fc txqueuelen 1000 (Ethernet)
RX packets 134 bytes 14399 (14.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 69 bytes 9037 (8.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
这台机子上/etc/sysconfig/network-scripts/ifcfg-ens33
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"
这个问题如何解决的呢?
VMware加载其他宿主机上的虚拟机以后,IP查不到了。如何解决?
标签:ini udev fat none ror pac 其他 uuid gen
原文地址:http://www.cnblogs.com/daohan/p/7351644.html