LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-11-2005, 03:40 PM   #1
cambie
Member
 
Registered: Jul 2004
Posts: 90

Rep: Reputation: 15
nic failover help


I'm trying to get a nic failover type of situation on an IBM blade server running RHEL3. I've got two nics visible to the OS, both using the bcm5700 driver. They are statically assigned, and have all the correct info in their respective ifcfg files. But i am not getting what I expect out of the setup.

Normal boot, eth0 is set to come up and eth1 is set to stay off. It comes up without a problem and networking works great. If I change this by making eth0 stay off and eth1 come up on boot, things don't work. ifconfig shows eth1 assigned the right ip and everything, but the network just doesn't work. That is until I use ethtool to turn on auto-negotiation. As soon as I do that, it's fine. But that apparently isn't a static setting and rebooting puts us back at square one.

The odd thing about it is that eth0 doesn't seem to need auto negotation turned on for it to work properly. Just eth1. My modules.conf contains the following, in case this info is helpful:

alias eth0 bcm5700
alias eth1 bcm5700
options bcm5700 auto_speed=0,0 line_speed=100,100 full_duplex=1,1

ifcfg-eth0:
DEVICE=eth0
BOOTPROTO=static
HWADDR=00:00:00:00:00:00
IPADDR=x.x.x.x
NETMASK=x.x.x.x
ONBOOT=no
TYPE=Ethernet

ifcfg-eth1:
DEVICE=eth1
BOOTPROTO=static
HWADDR=00:00:00:00:00:00
IPADDR=x.x.x.x
NETMASK=x.x.x.x
ONBOOT=yes
TYPE=Ethernet

Obviously, the HWADDR has been changed, that's not what i've actually got the file. It is set correctly, as is the ipaddr and netmask. Can anyone else point to something i'm doing wrong? or some solution to this problem? i'm running out of ideas.
 
Old 01-11-2005, 04:20 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
what do "route" and "ifconfig" say about the state of things? maybe the default gateway is trying to route through eth0 still?
 
Old 01-12-2005, 09:41 AM   #3
cambie
Member
 
Registered: Jul 2004
Posts: 90

Original Poster
Rep: Reputation: 15
everything looks ok in route and ifconfig. the only thing is that on boot when booting to eth1, the network doesn't come up and the route command shows the default route as the ip address. but when i turn autonegotiate on, and do route again, it shows the hostname of that ip address instead of just the ip address.

I don't get why simply turning autonegotiate on cures the problem right away. And why this doesn't seem to be neccessary on eth0.
 
  


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
Linux Failover !!!!! Iptables_NEWBIE Linux - Security 8 08-16-2005 02:34 AM
ldap failover ar1 Linux - Networking 0 06-15-2005 10:25 AM
Heartbeat and IP failover neilloffhagen SUSE / openSUSE 1 04-13-2005 02:30 PM
Failover LAN gkrishna Linux - Networking 1 06-25-2003 01:23 PM
Redhat 8.0 2 NIC Cards, trying to failover jweiss Linux - Networking 1 06-03-2003 04:08 PM

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

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