Ask Your Question
0

Can i configure promiscous mode on vmware workstation?

asked 2014-06-22 14:41:11 -0500

dragos gravatar image

updated 2014-06-23 10:16:35 -0500

I am trying to do the network setup in the openstack configuration on 3 Ubuntu vm with vmware workstation, but in order to work I get the following indication : If you are building your OpenStack nodes as virtual machines, you must configure the hypervisor to permit promiscuous mode on the external network.

I know that with vcenter I can configure the vswitch in promiscous mode but how can i do this with workstation ? Vmware workstation is running on a windows 7

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-06-23 01:48:45 -0500

SGPJ gravatar image

Try below in ubuntu:

$ sudo vi /etc/network/interfaces

/etc/network/interfaces:

auto lo

auto eth0 iface eth0 inet static address 192.168.0.10 netmask 255.255.255.0 gateway 192.168.0.1 dns-nameservers 192.168.0.1

auto eth1 iface eth1 inet manual up ifconfig $IFACE 0.0.0.0 up up ip link set $IFACE promisc on down ip link set $IFACE promisc off down ifconfig $IFACE down

Blockquote

edit flag offensive delete link more

Comments

To check if the promisc is on

$ip a |grep eth1 |grep PROMISC

whg gravatar imagewhg ( 2015-06-15 02:36:51 -0500 )edit
0

answered 2014-06-23 10:12:23 -0500

siouffy gravatar image

To configure the promiscous mode, you have to do that "before you open vmware workstation" -->

For ubuntu ...

rm -rf /lib/udev/devices
mkdir /lib/udev/devices
cp -rp /dev/vm* /lib/udev/devices/
chmod a+rw /lib/udev/devices/vm
chmod a+rw /dev/vm

you can put these commands in a script file and execute it [use sudo]

check the original answer on vmware website https://www.vmware.com/support/ws5/do...

put three things in mind
- its slightly different for some linux distros ...
- do that before you open vmware workstation
- its not permenant, so you have to do it everytime

Thats how it works for me. Good luck

edit flag offensive delete link more

Comments

i have vmware workstation on a windows 7 not on a ubuntu...sorry for not mentioning that.

dragos gravatar imagedragos ( 2014-06-23 10:15:10 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-06-22 14:41:11 -0500

Seen: 3,270 times

Last updated: Jun 23 '14