vmware 复制后设置mac
一、vmware虚拟机中生成mac
虚拟机设置 -> 网卡适配器 ->高级 -> 生成 即可。虚拟机需要关闭才能设置
二、查看
ifconfig -a|grep eth
查看到ens33对外的外卡中ether 00:50:56:29:5a:73
信息,说明设置生效
ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.72.136 netmask 255.255.255.0 broadcast 192.168.72.255
inet6 fe80::250:56ff:fe29:5a73 prefixlen 64 scopeid 0x20<link>
ether 00:50:56:29:5a:73 txqueuelen 1000 (Ethernet)
RX packets 895 bytes 74375 (72.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 553 bytes 86154 (84.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 56 bytes 2800 (2.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 56 bytes 2800 (2.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[[email protected] network-scripts]# ifconfig -a|grep eth
ether 02:42:61:d9:75:0d txqueuelen 0 (Ethernet)
ether 02:42:7c:79:f0:77 txqueuelen 0 (Ethernet)
ether 00:50:56:29:5a:73 txqueuelen 1000 (Ethernet)