LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-13-2011, 09:42 AM   #1
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Rep: Reputation: 60
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

??
 
Old 01-13-2011, 09:48 AM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
ifconfig eth1 promisc

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

Quote:
Originally Posted by metallica1973 View Post
should I add PROMISC=ON
??
I think it would be PROMISC=YES

But, I dont think that works.
 
Old 01-13-2011, 10:02 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 01-13-2011, 01:02 PM   #4
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gateway setting ./network-scripts/ifcfg-eth1 and ./network joshfields Linux - Networking 1 04-29-2012 04:27 AM
cannot activate eth1 using ifup or using ifcfg-eth1 akay Linux - Hardware 10 12-16-2010 05:10 AM
ifcfg-eth1 has ONPARENT=yes, what does this mean? thllgo Linux - Networking 2 08-10-2009 10:43 AM
Why my ifcfg-eth1 file have the extension .bak (ifcfg-eth1.bak) cmx08 Linux - Networking 4 08-23-2008 07:28 AM
fedora/redhat: ifcfg-eth0 and ifcfg-eth1 Shaun2222 Linux - Networking 9 01-23-2008 03:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration