configure a network interface into promiscuous mode

Solution 1:

Your interface is not in promiscous mode. Use:

ip link set eth1 promisc on

The flag will be updated to BMPRU. Flag details are as follows:

  • B flag is for broadcast
  • M flag is for multicast
  • P flag is for promisc mode
  • R is for running
  • U is for up

Solution 2:

Well the problem is not in the network card because VMware always enables promiscuous mode for virtual interface. But the problem is within the configuration. It is not enough to enable promiscuous mode in the interface file. I had to add this line:

ifconfig eth1 up
ifconfig eth1 promisc

in the /etc/rc.local file because when i restart the network service, eth1 is set down. So adding this lines would tell the os to not shutdown eth1.