enable:
ifconfig eth0 promisc
disable:
ifconfig eth0 promisc
disable:
ifconfig eth0 -promisc
automatically:
you can add a line"PROMISC=yes" to the /etc/sysconfig/network-scripts/ifcfg-eth0.or you can add "ifconfig eth0 promisc" to you startup scripts i believe it is /etc/rc.d/rc.local
ref:
http://www.linuxquestions.org/questions/linux-networking-3/set-nic-in-promisc-mode-225256/
No comments:
Post a Comment