You can put your Network Interface Controller/Card into promiscuous mode by using ifconfig.
A. To enable promiscuous mode issue the command (needs administrative rights):
ifconfig eth0 promisc
after this if you execute the command ifconfig eth0
and if everything worked as expected and your NIC supports promiscuous mode, you will notice this line:
UP BROADCAST RUNNING PROMISC MULTICAST
You have enabled the promiscuous mode!
B. To disable it is easy (needs administrative rights again):
ifconfig eth0 -promisc
optionally execute the command ifconfig eth0 to see this line:
UP BROADCAST RUNNING MULTICAST
which means that promiscuous mode is disabled!