(Fedora) Put NIC into promiscuous mode

LuckyTaxi

Diamond Member
Dec 24, 2000
6,044
23
81
I've done it before but dont recall how I actually did it.
However I found the following command and it does work.

ifconfig eth1 promisc

I can turn it off by doing "ifconfig eth1 -promisc" but how do I make it indefinite?
I removed gateway and dns from eth1 and left eth0 alone.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
You can't make it persist across reboots, you've got to do it every time on bootup. In a Debian machine I just built I put it in the post-up command of /etc/network/interfaces so that it's run every time the interface is brought up, I'm sure you can find a similar place to stick it in Fedora.