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): 

沒有留言:

張貼留言

[Git 常見問題] error: The following untracked working tree files would be overwritten by merge

  Source From  Here 方案1: // x -----删除忽略文件已经对 git 来说不识别的文件 // d -----删除未被添加到 git 的路径中的文件 // f -----强制运行 #   git clean -d -fx 方案2: 今天在服务器上  gi...