首页 > 其他分享 >The virtual machine’s operating system has attempted to enable promiscuous mode on adapter ‘Ethernet

The virtual machine’s operating system has attempted to enable promiscuous mode on adapter ‘Ethernet

时间:2022-11-12 18:01:32浏览次数:51  
标签:enable reasons promiscuous dev machine rw virtual security mode

Linux环境的VMware里跑了个win系统,运行一段时间后总是报错如下:

The virtual machine’s operating system has attempted to enable promiscuous mode on adapter ‘Ethernet0’. This is not allowed for security reasons.
Please go to the Web page “http://vmware.com/info?id=161” for help enabling promiscuous mode in the virtual machine.
在普通用户里运行VMware会遇到这个问题,root用户不会。

解决方法1:创建一个组,给这个组赋予读写权限,然后将/dev/vmnet0与/dev/vmnet8修改到这个组。

groupadd vmwaregroup
usermod -a -G vmwaregroup guest    //这里的guest是我跑VMware的用户
chgrp vmwaregroup /dev/vmnet0
chgrp vmwaregroup /dev/vmnet8
chmod g+rw /dev/vmnet0
chmod g+rw /dev/vmnet8
解决方法2:直接给足权限。

chmod a+rw /dev/vmnet0
chmod a+rw /dev/vmnet8

结束。

标签:enable,reasons,promiscuous,dev,machine,rw,virtual,security,mode
From: https://www.cnblogs.com/liusingbon/p/16884301.html

相关文章