Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Two NICs for failover
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
andyjeffries
Apprentice
Apprentice


Joined: 14 Apr 2004
Posts: 196
Location: Stevenage, Herts, UK

PostPosted: Thu Dec 07, 2006 1:18 pm    Post subject: Two NICs for failover Reply with quote

Is there any easy way to have two NICs configured so that traffic for a given IP address will be delivered to either of them.

I'm new to High-availability work and would like to have two separate NICs in my server, two separate switches and have the traffic go in to the box via whichever card on the same IP address (so if one router goes bang, or a rat chews through one of the cables then the server still responds normally, maybe somehow notifying me that one of them doesn't have any connectivity).

I'm a programmer, so I can handle any scripting, but I've no idea of how to configure Gentoo to manage this nor any reliable way of testing connectivity (that doesn't rely on a specific remote server being up).

Many thanks.
_________________
Developer of gPHPEdit
A8N-SLI/AMD X2 4800+/2GB Dual Channel/GF 7900GT OC
Back to top
View user's profile Send private message
nevynxxx
Veteran
Veteran


Joined: 12 Nov 2003
Posts: 1123
Location: Manchester - UK

PostPosted: Thu Dec 07, 2006 3:16 pm    Post subject: Reply with quote

You need to have switches that can manage this, and having two seperate switches set up for failover is more complicated, unless you have exactly the right switches.

What you wnat to do is "bond" (linux speak) or "team" (HP speak) or create "etherchannels" (cisco speak) the two nicks.

the advantage if you do this with one switch is you will also get the aggregate of the nic's bandwidth when both are working....
_________________
My Public Key

Wanted: Instructor in the art of Bowyery
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum