Solution to the same IP after cloning Ubuntu 18 virtual machine

Solution to the same IP after cloning Ubuntu 18 virtual machine

Preface

I recently used a virtual machine to install Ubuntu 18.04. After cloning, I found that the IP address was the same. This is because the cloning used file cloning, so everything is the same. The easiest way to solve the problem is to modify the mac and then start using the netplan apply command and restart the machine.

Workaround

To modify the mac, click Network Card------> Advanced----> Generate and save.

upscale

As shown in the figure below, the ip when cloned

IP after netplan apply command

Summarize

The above is the full content of this article. I hope that the content of this article will have certain reference learning value for your study or work. If you have any questions, you can leave a message to communicate. Thank you for your support for 123WORDPRESS.COM.

You may also be interested in:
  • Ubuntu 14.04 virtual machine installation (illustration and text)
  • Detailed tutorial on installing Ubuntu on VirtualBox virtual machine (picture and text)
  • How to install Ubuntu Server 16.04 virtual machine in VirtualBox
  • Ubuntu virtual machine multi-network card configuration
  • How to install KVM virtual machine on Ubuntu 18.04 LTS
  • Detailed steps to create a Genymotion Android virtual machine under Ubuntu 14.04
  • Install Ubuntu 12.04 in VirtualBox virtual machine (graphic tutorial)
  • Graphic tutorial on installing Ubuntu in virtualbox
  • Install KVM in ubuntu kylin virtual machine

<<:  CentOS 6.5 i386 installation MySQL 5.7.18 detailed tutorial

>>:  js object-oriented method to achieve drag effect

Recommend

Javascript implements simple navigation bar

This article shares the specific code of Javascri...

In-depth understanding of the use of Vue

Table of contents Understand the core concept of ...

MySQL Order By Multi-Field Sorting Rules Code Example

Say it in advance On a whim, I want to know what ...

Detailed summary of mysql sql statements to create tables

mysql create table sql statement Common SQL state...

Vue/react single page application back without refresh solution

Table of contents introduction Why bother? Commun...

Complete steps to quickly build a vue3.0 project

Table of contents 1. We must ensure that the vue/...

MySQL trigger usage scenarios and method examples

trigger: Trigger usage scenarios and correspondin...

Tudou.com front-end overview

1. Division of labor and process <br />At T...

Three ways to check whether a port is open in a remote Linux system

This is a very important topic, not only for Linu...

Textarea tag in HTML

<textarea></textarea> is used to crea...

Let's learn about the MySQL storage engine

Table of contents Preface 1. MySQL main storage e...

Detailed explanation of CSS image splicing technology (sprite image)

CSS image splicing technology 1. Image stitching ...