The same solution for cloning ubuntu18 virtual machine ip
The same solution to clone ubuntu18 virtual machine ip#
-
Modify mac value
-
Run netplan apply
-
Reboot
1. Modify mac value##
1.1 In the shutdown state, right-click to set
1.2 Generate a brand new mac address and save
2. After booting and logging in, execute the netplan apply command##
netplan apply
May be insufficient authority, you can add administrator authority and enter the password to execute
sudo netplan apply
3. Shut down and restart to check the ip has been replaced##
Shutdown command poweroff cut off the power
Direct restart command reboot
Previous conflict ip
New IP assigned