LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 09-02-2004, 02:46 AM   #1
juanb
Member
 
Registered: May 2002
Posts: 401

Rep: Reputation: 30
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 !!
 
Old 09-02-2004, 09:11 AM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
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
 
Old 09-06-2004, 07:16 AM   #3
juanb
Member
 
Registered: May 2002
Posts: 401

Original Poster
Rep: Reputation: 30
There isnt any file...

/etc/sysconfig/networking/devices/eth1 doesnt exists...

what to do ?

thanks !!
 
Old 09-06-2004, 10:44 AM   #4
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
2 DHCP IPs, one NIC? lil_drummaboy Linux - Networking 1 10-24-2005 03:36 PM
dhcp with multiple nic hariiyer Linux - Networking 4 08-26-2005 03:48 AM
Using 1 NIC for DHCP the other for all other networking FlyingPenguin128 Linux - Networking 0 05-19-2005 07:37 PM
set nic in promisc mode juanb Linux - Networking 1 09-01-2004 03:40 PM
one NIC, DHCP and static IP Nevetsmik103081 Linux - Networking 2 10-29-2002 10:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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

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