LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   RedHat ifcfg-eth1 promisc (https://www.linuxquestions.org/questions/linux-server-73/redhat-ifcfg-eth1-promisc-856096/)

metallica1973 01-13-2011 09:42 AM

RedHat ifcfg-eth1 promisc
 
what entry do I have to add to my ifcg-eth1 file to put the "nic" in promiscuous mode?

PHP Code:

# Intel Corporation 82545EM Gigabit Ethernet Controller (Copper)
DEVICE=eth1
HWADDR
=00:00:00:00:00:00
ONBOOT
=no
HOTPLUG
=no 

should I add PROMISC=ON

??

szboardstretcher 01-13-2011 09:48 AM

ifconfig eth1 promisc

---------- Post added 01-13-11 at 10:49 AM ----------

Quote:

Originally Posted by metallica1973 (Post 4223018)
should I add PROMISC=ON
??

I think it would be PROMISC=YES

But, I dont think that works.

acid_kewpie 01-13-2011 10:02 AM

Why do you need to? Libpcap and the likes enable it on demand for whatever apps use it. You're surely not need promisc unless a specific service wants it.

metallica1973 01-13-2011 01:02 PM

I am using Ntop to monitor segments of our network and before I start Ntop I have to manually do a

PHP Code:

ifconfig eth1 promisc 

everytime. Using

PHP Code:

ntop -i eth1 -u root 

doesnt put the nic in promiscous mode so I have to do it manually.

Thanks for the reply.


All times are GMT -5. The time now is 07:58 PM.