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 04-02-2008, 08:49 PM   #1
vkmgeek
Member
 
Registered: Feb 2006
Location: Ahmedabad
Distribution: rhel5
Posts: 185
Blog Entries: 2

Rep: Reputation: 31
Failover


Hi all,
I have a basic question.
My two machines are connected back to back and each machine is having two Ethernet Adapters. Failover is enabled. Now when I unplug one of the nic, should failover work ?

Machine A - eth0 - 10.10.10.1 netmask 255.255.255.0
- eth1 - 10.10.11.1 netmask 255.255.255.0

Machine B - eth0 - 10.10.10.2 netmask 255.255.255.0
- eth1 - 10.10.11.2 netmask 255.255.255.0


Now, eth0 of machine A is connected with eth0 of Machine B
and eth1 of machine A is connected with eth1 of Machine B

Now, I am doing ping 10.10.10.1 from machine B. Then I am unplugging eth0 on Machine B. Then should failover work and ping can continue?

Practical result shows it working.
But, my theroy says that eth1 is in different network altogether and it should not work. For failover to work, everything should be in same subnet/network.
 
Old 04-03-2008, 04:22 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
what is this "failover" you're talking about? where did you see it??

only way i'd expect that to work is if the client machine is using the peer as the default gateway, so when the 0 metric local route dissapears it'll go via the other machine as a last resort and get lucky.
 
Old 04-04-2008, 11:38 AM   #3
vkmgeek
Member
 
Registered: Feb 2006
Location: Ahmedabad
Distribution: rhel5
Posts: 185

Original Poster
Blog Entries: 2

Rep: Reputation: 31
I am talking about network card failover.
I have got two port network card from my vendor and manual says that port-2 is a friend of port-1...
So, in case, port-1 somehow fails, port-2 will be start working and to make it happen, I have to write some values to /sys/.../*/
 
Old 04-04-2008, 01:19 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
a friend??
 
Old 04-05-2008, 03:03 PM   #5
vkmgeek
Member
 
Registered: Feb 2006
Location: Ahmedabad
Distribution: rhel5
Posts: 185

Original Poster
Blog Entries: 2

Rep: Reputation: 31
in case port1 fails, port2 will take his place
 
Old 04-05-2008, 03:10 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
well yes i understand what that would mean in layman's terms, but there's no way any technical manual would describe anything as a "friend". I was after a technical explanation of what protocols would be involved in doing this and such. there has to be some sort of mechanism to monitor port status and such, a bit of hardware won't just do it by itself.

so show us the state of the ifconfig output on each machine before and after your simulated failure, and ping and traceroute outputs to match.
 
  


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
IP failover sanjibgupta Linux - Networking 6 05-04-2007 04:01 AM
Trying to Setp-up ip failover helptonewbie Linux - Networking 5 11-13-2006 05:04 PM
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
nic failover help cambie Linux - Networking 2 01-12-2005 09:41 AM

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

All times are GMT -5. The time now is 09:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration