随笔 - 225  文章 - 0  评论 - 6  阅读 - 74793

关于虚拟机修改MAC地址遇到的错误

“静态以太网地址不允许使用:“00:0C:29:AC:9A:19”。它与 VMware 预留的 MAC 冲突。”

在存储里面找到对应虚拟机的配置文件以.vmx结尾,本人的为 centos63.vmx

因为本人修改的是ethernet1的MAC地址,所以需要配置的是ethernet1相关的信息,
这点特别要注意,网络上的文章大部分针对的是ethernet0的,所以要根据个人的实际情况去配置

在本人环境原文中有如下几行:
ethernet1.addressType = "static" 保持不变
ethernet1.generatedAddress = "00:0c:29:03:b0:d4" 系统自动分配的 去掉
ethernet1.address = "00:0C:29:AC:9A:19" 手工设置的 保留

只需要增加如下一行即可(这个看人的环境,网络上一般是增加三行)
ethernet1.checkMACAddress = "false" 无需自动分配

如下是网络上常见解决方案:
ethernet0.addressType = "static"
ethernet0.checkMACAddress = "false"
ethernet0.address = "your mac addr"

posted on   子虚乌有  阅读(1674)  评论(0编辑  收藏  举报
< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

点击右上角即可分享
微信分享提示