LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Nic in promisc gets Ip from dhcp (https://www.linuxquestions.org/questions/linux-security-4/nic-in-promisc-gets-ip-from-dhcp-225573/)

juanb 09-02-2004 02:46 AM

Nic in promisc gets Ip from dhcp
 
Hi,

I have a Rh machine with 2 nics,one of the mics I put in promisc mode but it steel recieves an ip from the dhcp server, how I can prevent it from recieving the ip address ?

Thanks !!

Capt_Caveman 09-02-2004 09:11 AM

Change the interfaces ONBOOT to no and BOOTPROTO setting to none (in /etc/sysconfig/networking/devices/ethx) and then bring it up manually in promiscuous mode without an IP using:
ifconfig ethx promisc up

juanb 09-06-2004 07:16 AM

There isnt any file...
 
/etc/sysconfig/networking/devices/eth1 doesnt exists...

what to do ?

thanks !!

Capt_Caveman 09-06-2004 10:44 AM

Sorry. Should have been ifconfig-eth1. If that's not there, then just do a search for ifconfig-eth1.


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