cat /proc/vmware/net/NIC-NAME/config
To enable promiscuous mode on this interface you would do
echo "PromiscuousAllowed Yes" >> /proc/vmware/net/NIC-NAME/config
To disable promiscuous mode on this interface you would do
echo "PromiscuousAllowed No" >> /proc/vmware/net/NIC-NAME/config
Once promiscuous mode is allowed on an interface, by default
all virtual machines that use that interface will be allowed
to put the interface in promiscuous mode. If you want to control
which particular VMs are allowed to put an interface in promiscuous
mode, you can do this through the proc interface as well. For each
virtual NIC on each VM that is attached to a particular
interface, there will be a file under the /proc/vmware/net/NIC-NAME
directory whose name will be the MAC address of the virtual NIC.
To find out the status of a particular virtual NIC you would do
cat /proc/vmware/net/NIC-NAME/MAC-ADDR
To enable promiscuous mode on this virtual NIC you would do
echo "PromiscuousAllowed Yes" >> /proc/vmware/net/NIC-NAME/MAC-ADDR
To disable promiscuous mode on this interface you would do
echo "PromiscuousAllowed No" >> /proc/vmware/net/NIC-NAME/MAC-ADDR
cat /proc/vmware/net/NIC-NAME/stats
Statistics can be printed out for each virtual NIC instance by printing out the file /proc/vmware/net/NIC-NAME/MAC-ADDR
cat /proc/vmware/net/NIC-NAME/MAC-ADDR
% cat /proc/vmware/net/vmnic0/config
To turn promiscuous mode on for the interface you would just do the command
% echo "PromiscuousAllowed Yes" >> /proc/vmware/net/vmnic0/config
To check out the status of the virtual NIC with MAC address 00:50:56:f5:09:54 you would simply cat the file with the same name
% cat /proc/vmware/net/vmnic0/00:50:56:f5:09:54
To turn promiscuous mode off for this virtual NIC you just do the command
% echo "PromiscuousAllowed No" >> /proc/vmware/net/vmnic0/00:50:56:f5:09:54