前言
最近使用虚拟机装ubuntu18.04,克隆后发现ip是相同的,应为克隆采用的是文件克隆,所以所有的东西都一样。解决最简单的方法就是修改mac然后启动使用netplan apply命令,重启reboot机器即可。
解决方法
修改mac的方法 点击网卡------> 高级---->生成 保存即可。

高级


如下图克隆时的ip

netplan apply命令后的ip

总结
以上就是这篇文章的全部内容了,希望本文的内容对大家的学习或者工作具有一定的参考学习价值,如果有疑问大家可以留言交流,谢谢大家对的支持。