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 文章收集 ] cmd – Create line-oriented command processors

Source From  Here   Preface   The  cmd  module contains one public class,  Cmd , designed to be used as a base class for command processors ...