LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 12-04-2006, 11:38 AM   #1
wesc78
LQ Newbie
 
Registered: Dec 2006
Posts: 3

Rep: Reputation: 0
2 NICs & DHCP: 1 gets an address, 1 doesn't


I've run into an odd problem, involving DHCP and two identical NICs. I've seen somewhat similar problems on the board but none exactly like it and I can't seem to figure out what's going on. I'm pretty green to SUSE and linux so please bear with me.

I'm running SUSE 9. There are two Broadcom BCM5703X gigabit cards on my server connected to a Cisco 1760 router running DHCP. All the other clients on the network (Windows PCs) receive an address correctly and can access the internet. Both cards are set for DHCP in YaST (config tool for SUSE), but eth0 will not pick up an address and eth1 will. When I ifstatus eth0 it gives me the make and model and then says
"dhcpcd running -
eth0 - no ip address assigned (DHCP)"

ifstatus for eth1 gives me all the seemingly correct address info.

Additionally sometimes I can access the internet using eth1 and sometimes I can't. I can always ping internally but on and off I lose access to the internet. When I do have access, it's extremely slow. I did try turning off IPv6 and that didn't help.

At first I thought maybe the NIC card went bad, but I've got two identical servers and they both have the same problem. So it's unlikely it's the NIC.

Does anyone have any ideas? Thanks in advance.
 
Old 12-04-2006, 01:00 PM   #2
Tralce
Member
 
Registered: Nov 2006
Location: Maine
Distribution: Debian, Ubuntu, Gentoo
Posts: 109

Rep: Reputation: 15
Try typing as root into a terminal:
ifconfig eth0 up
dhcpcd eth0
ifconfig eth0

See what that does.
 
Old 12-04-2006, 03:40 PM   #3
fur
Member
 
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310

Rep: Reputation: 35
When you have two or more interfaces on the same subnet you will have problems. It ends up messing up the routing tables because of ARP responses.

Some of the ways I remember to get around this are to setup policy routing, bonding the two interfaces and then load balancing them, proxy ARP, or manauly configuring the routing tables.

What you are doing now will not work as you are expecting unless you go into some more advanced configurations.
 
Old 12-05-2006, 11:39 AM   #4
wesc78
LQ Newbie
 
Registered: Dec 2006
Posts: 3

Original Poster
Rep: Reputation: 0
ifconfig eth0 up
dhcpcd eth0
ifconfig eth0

- I tried these commands and received no errors but nothing changed afterwards: there is still no IP address assigned

As far as the 2 NICs being on the same subnet goes, I actually couldn't get an address on eth0 before eth1 was even configured. I've even disabled eth1 again and still couldn't get an address on eth0 after deleting it and reconfiguring it on its own.
 
Old 12-05-2006, 02:49 PM   #5
wesc78
LQ Newbie
 
Registered: Dec 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Ok, I've found the problem and it has nothing to do with Linux or SuSE. Thanks for the replies and sorry about any time I've wasted.
 
Old 05-14-2007, 10:01 AM   #6
UhhMaybe
Member
 
Registered: Jul 2004
Location: Salt Lake City, Utah
Distribution: Absolute 12.0 Studio 64 1.3.0
Posts: 470

Rep: Reputation: 30
Cool

FYI...Two PCI Ethernet Cards that are based on the same chipset will confuse the Kernel in configuration for Networking and also reporting status. Also...press the card all the way into the PCI slot on the Motherboard. The position of the Cat5 or other cabling has a lot of torque and this tends to raise the PCI Ethernet Card out of the slot. Also, if the Box containing the Motherboard is lifted, the Card is likely to raise. IMHO using cabling ties or twist ties is a time saver. Between shelves and before and after walk ways.
 
  


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
How To know if a host configured with DHCP has obtained IP address from DHCP server? Prassanta SUSE / openSUSE 1 06-29-2006 09:48 AM
IP address for PC with 2 NICs? Trio3b Linux - Networking 1 12-02-2005 01:03 AM
dhcp no ip address and netmask dont match route address pengy666 Linux - Wireless Networking 1 05-08-2005 09:33 AM
dhcp and 2 nics mikz Linux - Networking 3 01-27-2005 03:38 PM
DHCP Server MAC Address found, IP address not assigned wmburke Linux - Wireless Networking 17 11-17-2004 10:33 AM

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

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