LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-14-2003, 02:41 AM   #1
Gn0me
LQ Newbie
 
Registered: May 2003
Posts: 2

Rep: Reputation: 0
Slackware 8.1 - Two NICs and DHCP


I have an older PC that I wanted to use as a router and a low traffic server but I have been unable to get it to work with 2 NICs in it. It connects to DHCP just fine when there is only 1 NIC but when second one goes in I get this on boot:

dhcpcd[59]: broadcasting DHCP_DISCOVER
dhcpcd[59]: timed out waiting for a valid DHCP server response

for both eth0 and eth1. I have set eth1 to use DHCP in the rc.inet2 file.

Both NICs are Linksys Network Everywhere Fast Ethernet 10/100 model NC100 (rev 11).

What am I missing to make it work with both NICs in the PC?
 
Old 05-14-2003, 04:34 AM   #2
cijunet
Member
 
Registered: Nov 2002
Location: Vancouver
Distribution: Slackware 9.0
Posts: 43

Rep: Reputation: 15
Maybe you should try with two different NICs.
Will be easier for Linux to work in that way.
 
Old 05-14-2003, 05:19 AM   #3
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Can you configure the NICs manually with ifconfig just to check that they are both behaving correctly?

cheers

Jamie...
 
Old 05-14-2003, 05:31 AM   #4
soob
Member
 
Registered: May 2003
Location: A country town, Australia
Distribution: Debian
Posts: 72

Rep: Reputation: 15
Do you mind telling us about the LAN that each NIC is connected to? Does eth0 LAN have a DHCP server?
If not, config it manually with ifconfig - you'll need to get a usable IP address from the admin of that network, if it isn't you. Guessing an address isn't good.
 
Old 05-14-2003, 11:33 AM   #5
Gn0me
LQ Newbie
 
Registered: May 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Well right now eth0 is the only one that is connected to my hub, I haven't gotten to the point where I connected it to the other PC. When the other NIC is out of the PC it gets DHCP fine, but when I put it in, it does not.
 
Old 05-15-2003, 03:38 AM   #6
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
So can you configure them manually, this will tell you if they are being detected and working properly.

cheers

Jamie...
 
  


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
DHCP server with two NICs Infernal211283 Linux - Networking 2 02-14-2005 03:51 PM
dhcp and 2 nics mikz Linux - Networking 3 01-27-2005 03:38 PM
2 DHCP scopes 1 server 2 NICs DevZer0 Linux - Networking 1 09-27-2004 06:47 PM
Intermitent dhcp problem with 2 NICS Rekna Linux - Networking 2 06-20-2004 06:25 PM
DHCP/DNS with dual NICs jaa1180 Linux - Networking 20 03-26-2004 12:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:14 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