VMware virtual machine NIC under Linux cannot run in promiscuous mode solution

Source: Internet
Author: User

Transferred from: http://blog.csdn.net/henulwj/article/details/50347489

    • Problem description
      In Linux if you are running VMware workstations as a normal user, you will be prompted following the creation of the virtual machine:

The virtual machine's operating system has attempted to enable promiscuous mode on adapter ' Ethernet0 '. This isn't 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.

    • Solutions

      1. Create a group, give the group read and write permissions, and then modify/dev/vmnet0 or/dev/vmnet8 to this group

      Groupadd Vmwaregroup
      Usermod-a-G Vmwaregroup Netseclab
      Chgrp vmwaregroup/dev/vmnet0
      Chgrp Vmwaregroup/dev/vmnet8
      chmod g+rw/dev/vmnet0
      chmod g+rw/dev/vmnet8

2. Simple and rough

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

      • Reference
        http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=287
        http://blog.csdn.net/quqi99/article/details/8727130
        Http://www.liangwei.cc/cloud/linux_xia_vmware_vmnet_not_enabled_promiscuous_mode.html

VMware virtual machine NIC under Linux cannot run in promiscuous mode solution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.