2016年2月1日 星期一

[Linux 常見問題] Configure a network interface into promiscuous mode

Source From Here 
Question 
I am working on ubuntu 12.04 lts server on vmware workstation. I need to configure my network interface to work in promiscuous mode

How-To 
You can firstly use command netstat to check if your interface has already turned on promiscuous mode
 

The flag definition: 

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

VMware always enables promiscuous mode for virtual interface. It is not enough to enable promiscuous mode in the interface file. You can use below command to enable/disable promiscuous mode of interface (e.g. eno1): 

沒有留言:

張貼留言

[ Python 常見問題 ] python generator “send” function purpose?

Source From  Here   Question   Can someone give me an example of why the "send" function associated with Python generator function...