Fix IP address duplication in a copied Ubuntu Linux virtual machine

6 users found this article helpful

This article describes an issue, when you have copied Ubuntu Linux virtual machine, both virtual machines (original and cloned ones) receive the same IP address inside the Shared network.

The reason for this behavior is because IPs are assigned using the machine ID file written in the /etc/machine-id file.

Resolution

To resolve this issue, type any digit or letter in the following file inside of the copied Ubuntu virtual machine: /etc/machine-id

This means:

Additional workaround

Assign a static IP address to a copied Ubuntu Linux virtual machine.

Was this article helpful?

Tell us how we can improve it.