LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   problem loading in promisc mode (https://www.linuxquestions.org/questions/linux-networking-3/problem-loading-in-promisc-mode-231517/)

juanb 09-16-2004 05:35 PM

problem loading in promisc mode
 
Hi !!

I use FC 1 I need to to configure one of mt two nics so that when I boot the machine it will boot in promisc mode without an ip address, this is the configuration I put in /etc/sysconfig/network../ifcfg-eth1

# Intel Corp.|82557/8/9 [Ethernet Pro 100]
DEVICE=eth1
PROMISC=yes
BOOTPROTO=none
HWADDR=00:02:B3:24:EF:AE
ONBOOT=no
IPADDR=0.0.0.0
NETMASK=0.0.0.0

just after I issue manually or throw /etc/rc.d/rc.local the command ifconfig eth1 promisc up
It will start come alive and start capture network traffic.

I want to be able to start the nic in promics mode without issuing the command ifconfig eth1 promisc up.

Any ideas ?

thanks very much !!!

scowles 09-16-2004 07:54 PM

Quote:

# Intel Corp.|82557/8/9 [Ethernet Pro 100]
DEVICE=eth1
PROMISC=yes
BOOTPROTO=none
HWADDR=00:02:B3:24:EF:AE
onBOOT=no
IPADDR=0.0.0.0
NETMASK=0.0.0.0
Maybe you have already tried this, but have you tried changing:

ONBOOT=no -to- ONBOOT=yes

To test what would happen during system boot, simply type:
cd /etc/sysconfig/network-scripts
./ifup eth1

Also, I don't see that the variable PROMISC is used in any of the redhat network scripts? You might need to modify the ifup script to add the promiscuous mode.

BTW Forum admins: Why is "ONBOOT" showing up as "onBOOT". I typed all upper case above. Strange


All times are GMT -5. The time now is 06:46 AM.