Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

VMware Workstation clone virtual machine

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

I. method of operation

1. Clone a virtual machine

Open VMware Workstation, select a virtual machine (only if the virtual machine is powered off), select Virtual Machine-manage-Clone, and open the Clone Virtual Machine wizard:

Click next

Click, next, select create a full clone:

Click next to give the cloned virtual machine a name:

Click Browse to select a storage location for the cloned virtual machine. It is recommended to find a disk partition with large remaining space:

Click OK, then click finish:

Click close when the cloning is complete. In this way, a virtual machine exactly like the cloned machine has been cloned:

Click to turn on this virtual machine and start it.

2. Modify IP address and MACADPR code

1. Preparation: (1) physical machine ping 192.168.1.202, which cannot be determined as the ip address to be modified immediately after ping.

(2) get Mac code.

Due to the uniqueness of the mac address, the presence of the same mac address will cause the virtual machine to have a network failure. Therefore, you need to change the mac address of one of the machines.

Select the clone on the left side of the vmware, right-click, select Settings, and in the pop-up window, select the network adapter:

Click Advanced:

2. Modify ip address and Mac address

(1) turn off the original clone machine and connect the clone machine with xshell.

(2) create a new / etc/sysconfig/network-scripts/ directory

# mkdir-vp / etc/sysconfig/network-scripts

(3) create a new configuration file and add the following

# vi / etc/sysconfig/network-scripts/ifcfg-ens33

TYPE=Ethernet

PROXY_METHOD=none

BROWSER_ONLY=no

BOOTPROTO=static

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=ens33

UUID=74f36016-66c9-4a8e-bde3-ec83b0d0dcf6

DEVICE=ens33

ONBOOT=yes

IPADDR=192.168.1.202 (ip address)

NETMASK=255.255.255.0

GATEWAY=192.168.1.1

DNS1=114.114.114.114

MACADPR=00:0C:29:30:F1:88 (Mac code)

(4) restart network services

# service network restart

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report